gnutls-devel?

Ryan Schmidt ryandesign at macports.org
Sun May 31 11:08:16 PDT 2009


On May 31, 2009, at 12:54, Jeff Simmons wrote:

> On Sunday 31 May 2009 09:09, Joshua Root wrote:
>
>> On 2009-6-1 01:30, Jeff Simmons wrote:
>>
>>> ld: library not found for -l/opt/local/include
>>
>> You typed l (for library) when you should have typed I (for include).
>>
>> - Josh
>
> ROTF,LMAO Shoulda gotten a bigger screen laptop. :-)
>
> Unfortunately, even after making sure that all the l's, I's, |'s  
> etc. are
> entered correctly, the make still dies.
>
> cd libopenvas_hg && make
> /bin/sh /usr/local/src/openvas-libraries-2.0.2/libtool --mode=compile
> gcc -pipe -DHAVE_CONFIG_H   -I. -I/usr/local/src/openvas-
> libraries-2.0.2/include -I/usr/local/include  -Wall -I../libopenvas -c
> hg_utils.c
>   gcc -pipe -DHAVE_CONFIG_H -I. -I/usr/local/src/openvas-
> libraries-2.0.2/include -I/usr/local/include -Wall -I../libopenvas -c
> hg_utils.c  -fno-common -DPIC -o .libs/hg_utils.o
> In file included from ../libopenvas/network.h:30,
>                   from /usr/local/src/openvas-libraries-2.0.2/include/
> libopenvas.h:48,
>                   from /usr/local/src/openvas-libraries-2.0.2/include/
> includes.h:233,
>                   from hg_utils.c:19:
> /usr/include/gnutls/gnutls.h:63:27: error: gnutls/compat.h: No such
> file or directory
> make[1]: *** [hg_utils.o] Error 1
> make: *** [all] Error 2

Ok, so it cannot find gnutls/compat.h.

The MacPorts gnutls port does provide it in /opt/local/include/gnutls/ 
compat.h.

But you appear to be using gnutls from /usr, not /opt/local.

In fact "-I/opt/local/include" does not appear in the above compile  
lane so it's not even looking in that directory.

You also appear to have parts in /usr/local.

It would be easier if all the parts were in one place, such as /opt/ 
local.

What is the software you're trying to build again, and why are you  
not trying to install it using MacPorts?




More information about the macports-users mailing list