gnutls-devel?

Jeff Simmons jsimmons at goblin.punk.net
Sun May 31 10:54:06 PDT 2009


On Sunday 31 May 2009 09:09, Joshua Root wrote:
> 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

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

Back to digging around in C files.

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