gnutls-devel?

Jeff Simmons jsimmons at goblin.punk.net
Sun May 31 13:13:22 PDT 2009


On Sunday 31 May 2009 11:08, Ryan Schmidt wrote:
> 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?

This has got to be some kind of source code bug in OpenVAS.

The compiler output shows a series of calls to gcc all similar to this (I 
moved the source code to /opt/local/src):

gcc -pipe -I../ -DHAVE_CONFIG_H -I. -I/opt/local/src/openvas- 
libraries-2.0.2/include -I/usr/local/include -I/opt/local/include/ 
glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include - 
DHAVE_CONFIG_H -g -Wall -c openvas_ssh_login.c -o openvas_ssh_login.o  
 >/dev/null 2>&1

The next time gcc gets called it looks like this:

gcc -pipe -DHAVE_CONFIG_H -I. -I/opt/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

All the includes but /usr/local/include are gone, and the compiler promptly 
hits the wall because it can't find gnutls. 

Can't imagine how that could relate to Mac Ports.

Thanks for the help, I've learned a lot about the Mac platform trying to track 
this down.

-- 
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