> I'm trying to compile/install nessus 2.0 on Solaris 8 and am getting the > following error when compiling the nessus-libraries: > > <SNIP> > > flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c > bison -y -p pcap_ -d grammar.y > M4sugar requires GNU M4. Install it before installing M4sugar or > set the M4 environment variable to its path name.*** Signal 13 > make: Fatal error: Command failed for target `grammar.c' > Current working directory > /opt/usrbxa/nessus-install/nessus-libraries/libpcap-nessus > *** Error code 1 (ignored) > > <SNIP> > > The error is ignored and the compile chugs along and finishes. make > install doesn't complain as it runs. However, when I run configure on > libnasl, the following appears: > > <SNIP> > > checking for a working regexp implementation... no > checking for pcap_restart in -lpcap-nessus... no > checking for pcap_yyrestart in -lpcap-nessus... no > checking for yyrestart in -lpcap-nessus... no > no yacc restart func found > perhaps libpcap-nessus wasn't compiled with bison/flex? > updating cache ./config.cache > creating ./config.status > creating nasl.tmpl > > <SNIP> > > And finally, the make on libnasl produces... > > fallback[root]:/opt/usrbxa/nessus-install/libnasl$ make > cd nasl && make > /bin/sh /opt/usrbxa/nessus-install/libnasl/libtool --silent > /usr/local/bin/gcc -pipe -g -O2 `sh ./cflags` -c nasl_packet_forgery.c > In file included from nasl_packet_forgery.c:30: > ../include/includes.h:213:18: pcap.h: No such file or directory > In file included from ../include/includes.h:214, > from nasl_packet_forgery.c:30: > /usr/local/include/nessus/libnessus.h:325:18: pcap.h: No such file or > directory > nasl_packet_forgery.c: In function `nasl_pcap_next': > nasl_packet_forgery.c:1349: `PCAP_ERRBUF_SIZE' undeclared (first use in > this function) > nasl_packet_forgery.c:1349: (Each undeclared identifier is reported only > once > nasl_packet_forgery.c:1349: for each function it appears in.) > nasl_packet_forgery.c:1358: warning: assignment makes pointer from integer > without a cast > nasl_packet_forgery.c:1349: storage size of `errbuf' isn't known > *** Error code 1 > make: Fatal error: Command failed for target `nasl_packet_forgery.o' > Current working directory /opt/usrbxa/nessus-install/libnasl/nasl > *** Error code 1 > make: Fatal error: Command failed for target `all' > fallback[root]:/opt/usrbxa/nessus-install/libnasl$ > > I have a hunch the m4 error is gorking up everything under libpcap-nessus > (including the pcap.h that libnasl's make is griping about), but I'm not > sure how to fix it. And as I'm more of an O/S geek than a programmer, I'm > even more lost at this point. > > Other information: > > SunOS fallback 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-Enterprise > > gcc version 3.2 > bison (GNU Bison) 1.875 > flex version 2.5.4 > GNU m4 1.4 > (all of above in /usr/local/bin (which is in my path) grabbed from > sunfreeware) > Thanks in advance for any help.
Bill > Bill Anderson > TDS Telecom ISS > [EMAIL PROTECTED] > > The information contained in this communication should be considered > confidential information, and is intended only for the use of the > recipient(s) named above. If the reader of this message is not the > intended recipient, you are hereby notified that any dissemination, > distribution, or copying of this communication, or any of its contents, is > strictly prohibited. If you have received this communication in error, > please return it to the sender immediately and delete the original message > and any copy of it from your computer system. If you have any questions > concerning this message, please contact the sender. >
