LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 10-30-2001, 08:35 AM   #1
kud0ze
LQ Newbie
 
Registered: Oct 2001
Location: Dallas
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Question Problems compiling nessus


Greets! All -

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

Any help would be appreciated.

---
Cheers,

kud0ze
 
Old 10-30-2001, 09:04 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.

HTH
 
Old 10-31-2001, 02:48 PM   #3
kud0ze
LQ Newbie
 
Registered: Oct 2001
Location: Dallas
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up Thanks for the reply!

Hey! unSpawn -

I appreciate your response.

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.

---
Cheers,

kud0ze
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Nessus Kursh Linux - Security 1 08-28-2005 12:08 PM
Nessus install script not finding nessus.tar.gz darin3200 Linux - Software 1 08-15-2005 05:35 PM
problems with nessus einstien Linux - Software 6 03-19-2005 09:34 PM
Compiling error in nessus-core 2.2.2? hacinn Linux - Security 1 12-17-2004 12:47 PM
Problem Compiling Nessus 2.0.7 on Redhat nimgnay Linux - Software 8 09-07-2003 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration