gnutls-devel?

Joshua Root jmr at macports.org
Sun May 31 09:09:31 PDT 2009


On 2009-6-1 01:30, Jeff Simmons wrote:
> 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

You typed l (for library) when you should have typed I (for include).

- Josh


More information about the macports-users mailing list