Michel Arboi wrote:
> "Juan M. Courcoul" <[EMAIL PROTECTED]> writes:
> [many terrible things :-]
Aaawww, don't lose faith ! All of us Mac users have our hopes set on
your wonderful abilities to get this show on the road...
>> > checking gcc version...
>> > ./configure: parse error: condition expected: -gt [951]
>>
>
> Try sh -x on configure o get more information.
Ok, here goes again, with a bit more info:
< configuring in libpcap-nessus^M
< /Documents/Incoming/nessus/tmp/nessus-libraries/libpcap-nessus^M
< running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.^M
< loading cache .././config.cache^M
< checking host system type... powerpc-apple-darwin5.3^M
< checking target system type... powerpc-apple-darwin5.3^M
< checking build system type... powerpc-apple-darwin5.3^M
< checking for gcc... (cached) gcc^M
< checking whether the C compiler (gcc ) works... yes^M
< checking whether the C compiler (gcc ) is a cross-compiler... no^M
< checking whether we are using GNU C... (cached) yes^M
< checking whether gcc accepts -g... (cached) yes^M
< checking gcc version... ^M
< ./configure: parse error: condition expected: -gt [951]^M
< checking how to run the C preprocessor... (cached) gcc -E -traditional-cpp^M
< checking for malloc.h... no^M
Running the configure inside libpcap-nessus with -x gives this around
the error:
< + echo -n checking gcc version... ^M
< checking gcc version... + echo configure:940: checking gcc version^M
< + echo ${ac_cv_lbl_gcc_vers+set}^M
< + eval test "${ac_cv_lbl_gcc_vers+set}" = set^M
< + test = set^M
< + ac_cv_lbl_gcc_vers=+ gcc -v^M
< + ac_cv_lbl_gcc_vers=+ sed -e /^gcc version /!d -e s/^gcc version // -e s/ .*//
< -e s/^[^0-9]*// -e s/\..*//^M
< + ac_cv_lbl_gcc_vers= ^M
< + echo ^M
< ^M
< + test -gt 1^M
< ./configure: parse error: condition expected: -gt [951]^M
< + echo -n checking how to run the C preprocessor... ^M
>> > ./gencode.h:166: bad attribute specification, expecting identifier,
>> > found `volatile'
>>
>
> I wonder if this is not a GCC extension :-\
Well....
< gcc --version
< 2.95.2
This is part of Apple's latest Developer CD Collection.
>> > find_service.c:700: `test_ssl' undeclared (first use in this
>> > function)
>>
>
> OK, I did it, I fix it.
Thanks.
>> > Warning : the following plugins could not be built :
>> > bind_bof find_service hydra
>>
>
> bind_bof was removed
Yeah, but the script didn't get notified, methinks... ;)
Also, aren't we missing a Makefile.Darwin in here somewhere ?
>>>nasl:pcap.c : No free bpf
>>>ERROR : Could not find/open the pcap for interface en0
>>>
>
> You had a pb in libpcap :-\
Huh ?
Might this be related to the configure error when building libpcap in
the libraries ?
Thanks again !
J. Courcoul