Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to compile nessus 1.0.9 on a new slack system, 2.4.5 kernel. PII450, 392RAM.
I have tried using their nessus-installer.sh script... it failed with this error:
configure: error: ./configure failed for libpcap-nessus
So, I figured I would just compile it myself. But I get the same error when I run the ./configure. Libpcap was installed with the base slack system, and its absolute path is: /usr/lib/libpcap.a
I've included the output from the ./configure script. Please elt me know if you require more nfo.
kud0ze@antwerp:~/nessus-libraries$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/i386-slackware-linux/bin/ld
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i386-slackware-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i386-slackware-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking if the compiler understands -pipe... yes
checking whether make sets ${MAKE}... (cached) yes
checking for -lsocket... (cached) no
checking for -lresolv... (cached) yes
checking for -lnsl... (cached) yes
checking how to run the C preprocessor... (cached) gcc -pipe -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for dirent.h that defines DIR... (cached) no
checking for sys/ndir.h that defines DIR... (cached) no
checking for sys/dir.h that defines DIR... (cached) no
checking for ndir.h that defines DIR... (cached) no
checking for opendir in -lx... (cached) no
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/socketio.h... (cached) no
checking for sys/param.h... (cached) no
checking for netinet/tcpip.h... (cached) no
checking for netinet/in_systm.h... (cached) yes
checking for netinet/ip_udp.h... (cached) no
checking for netinet/protocols.h... (cached) no
checking for sys/ioctl.h... (cached) no
checking for netinet/ip_icmp.h... (cached) no
checking for rpc/rpc.h... (cached) no
checking for netinet/udp.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for memory.h... (cached) yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) no
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for pthread.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for pwd.h... (cached) yes
checking for assert.h... (cached) yes
checking for netdb.h... (cached) no
checking for netinet/in.h... (cached) no
checking for arpa/inet.h... (cached) no
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for netinet/ip_tcp.h... (cached) no
checking for fcntl.h... (cached) yes
checking for signal.h... (cached) no
checking for sys/termio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for stat.h... (cached) no
checking for net/if.h... (cached) no
checking for sys/mman.h... (cached) yes
checking for termio.h... (cached) no
checking for termios.h... (cached) yes
checking for sgtty.h... (cached) no
checking for ptem.h... (cached) no
checking for sys/ptem.h... (cached) no
checking for ldterm.h... (cached) no
checking for sys/ldterm.h... (cached) no
checking for stropts.h... (cached) yes
checking for values.h... (cached) no
checking for sys/socket.h... (cached) no
checking for netinet/ip.h... (cached) no
checking for netinet/tcp.h... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for lstat... (cached) yes
checking for memmove... (cached) yes
checking for gettimeofday... (cached) yes
checking for gethrtime... (cached) no
checking for getrusage... (cached) yes
checking for rand... (cached) yes
checking for strchr... (cached) yes
checking for memcpy... (cached) yes
checking for select... (cached) yes
checking for poll... (cached) yes
checking for unlockpt... (cached) yes
checking for vsnprintf... (cached) yes
checking for bzero... (cached) yes
checking for bcopy... (cached) yes
checking for setsid... (cached) yes
checking for addr2ascii... (cached) no
checking for inet_neta... (cached) yes
checking for getopt_long to assume by config argument... no
checking for /dev/ptmx to exist by config argument... no
checking for inet_aton... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for inet_aton in -lnsl... (cached) yes
checking for yylex in -ll... (cached) no
checking for yylex in -lfl... (cached) no
checking for lex_init in -ll... (cached) no
checking for lex_init in -lfl... (cached) no
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking whether byte ordering is bigendian... (cached) no
checking if sockaddr{} has sa_len member... (cached) no
checking for time_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for struct timeval... yes
checking for pthread_cancel in -lpthread... (cached) yes
checking whether gettimeofday can't accept two arguments... no
checking for long file names... (cached) yes
creating ./config.status
creating nessus.tmpl
creating nessus-config.pre
creating include/libvers.h
creating uninstall-nessus
creating include/config.h
include/config.h is unchanged
configuring in libpcap-nessus
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... 2
checking how to run the C preprocessor... (cached) gcc -pipe -E
checking for malloc.h... yes
checking for sys/ioccom.h... no
checking for sys/sockio.h... (cached) no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
configure: error: ./configure failed for libpcap-nessus
*Note* Incidentally, I also tried compiling NMAP, and received a similar msg relating to libpcap...
IIRC, you should check the pcap version Nessus/Nmap needs, and if the header files are in /usr/lib/libpcap. If not its best you install the latest tarball, the ftp location is in the docs. Don't forget to update ld.so after installing the newer libs.
You got me thinking about libpcap, and I investigated a little deeper. Turns out libpcap was not installed. When I built the base system, and I do mean base, I had installed tcpdump. So apparently the tcpdump package came with a libpcap extension or something, which was all it needed. After checking again, I realised libpcap wasn't installed.
I went ahead and reinstalled slack, with several more packages I hadn't chosen before, left out tcpdump, and voila!, all is well.
So, I've got nessus up and running. Anyway, thanks for taking the time to reply.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.