gnutls-devel?
Jeff Simmons
jsimmons at goblin.punk.net
Sun May 31 08:30:59 PDT 2009
On Saturday 30 May 2009 22:41, Ryan Schmidt wrote:
> On May 30, 2009, at 08:28, Jeff Simmons wrote:
> > On Friday 29 May 2009 22:00, Joshua Root wrote:
> >> You need to pass -I/opt/local/include in CPPFLAGS (or possibly in
> >> CFLAGS
> >> if it doesn't respect CPPFLAGS). GCC actually works this way on all
> >> platforms. :-)
> >
> > Either of these crashes the ./configure script with a message "C
> > compiler
> > cannot create executables". We may have a bug here.
>
> Have a look in the config.log. Maybe it says something more about why
> the compiler failed. You could also send it here if you like.
It's pretty simple:
configure:2331: checking for C compiler default output file name
configure:2358: gcc -l/opt/local/include -L/opt/local/lib conftest.c
>&5
ld: library not found for -l/opt/local/include
collect2: ld returned 1 exit status
configure:2361: $? = 1
configure:2399: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2406: error: C compiler cannot create executables
See `config.log' for more details.
Huh? (Disclaimer: I have only a rudimentary knowledge of C.)
--
Jeff Simmons jsimmons at goblin.punk.net
Simmons Consulting - Network Engineering, Administration, Security
"You guys, I don't hear any noise. Are you sure you're doing it right?"
-- My Life With The Thrill Kill Kult
More information about the macports-users
mailing list