LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 679|回复: 4

请教编译nessus-libraries不能成功的原因

[复制链接]
发表于 2003-5-4 11:02:44 | 显示全部楼层 |阅读模式
我从rpmseek.com下载了nessus的源码。经过一天半的努力。未果。 肯请大家帮忙。我用的是redhat 8.0
./configure一路顺利。可到make这一步就好像进入了死循环。
If you installed an older version of Nessus in the past you should run
./uninstall-nessus as root first.
This script will remove the old libraries and binaries left by the older
version but will keep your configuration untouched
touch nessus.tmpl
make: *** Warning: File `nessus.tmpl.in' has modification time in the future (2002-12-14 22:13:20 > 2002-05-04 10:53:43)
/bin/sh configure
loading cache ./config.cache
 楼主| 发表于 2003-5-4 11:04:08 | 显示全部楼层
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 Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)            -fPIC
checking if gcc PIC flag            -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/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 whether -lc should be explicitly linked in... (cached) no
creating libtool
checking if the compiler understands -pipe... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for -lsocket... (cached) no
checking for -lresolv... (cached) yes
checking for -lnsl... (cached) yes
checking for dlopen in -ldl... (cached) yes
Enabling OpenSSL support in /usr
checking for RAND_status in -lssl... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (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) yes
checking for netinet/in_systm.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for netinet/ip.h... (cached) yes
checking for netinet/ip_icmp.h... (cached) yes
checking for netinet/ip.h... (cached) yes
checking for netinet/udp.h... (cached) yes
checking for netinet/protocols.h... (cached) no
checking for netinet/ip_udp.h... (cached) no
checking for netinet/ip_tcp.h... (cached) no
checking for netinet/tcpip.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for net/if.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for rpc/rpc.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) yes
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) yes
checking for arpa/inet.h... (cached) yes
checking for setjmp.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for signal.h... (cached) yes
checking for sys/termio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for stat.h... (cached) no
checking for sys/mman.h... (cached) yes
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for sgtty.h... (cached) yes
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) yes
checking for sys/param.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for sigaction... (cached) yes
checking for sysctl... (cached) yes
checking for setproctitle... (cached) no
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 lrand48... (cached) yes
checking for getopt_long... (cached) yes
checking for openpty in -lutil... (cached) yes
checking for openpty... (cached) yes
checking for /dev/ptmx as a character device... yes
checking for grantpt... (cached) yes
checking for ptsname... (cached) yes
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 if optind is defined in a library already... 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
checking for /dev/bpf0... no
updating cache ./config.cache
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... (cached) 3
checking how to run the C preprocessor... (cached) gcc -E
checking for malloc.h... (cached) yes
checking for sys/ioccom.h... (cached) no
checking for sys/sockio.h... (cached) no
checking for ANSI ioctl definitions... (cached) yes
checking for ether_hostton... (cached) yes
checking for strerror... (cached) yes
checking packet capture type... linux
checking for net/if_arp.h... (cached) yes
checking Linux kernel version... (cached) 2
checking for flex... (cached) flex
checking for flex 2.4 or higher... (cached) yes
checking for bison... (cached) bison
checking for flex... (cached) /usr/bin/flex
checking for bison... (cached) /usr/bin/bison
checking for ranlib... (cached) ranlib
checking if sockaddr struct has sa_len member... (cached) no
checking if unaligned accesses fail... (cached) no
creating ./config.status
creating Makefile

If you installed an older version of Nessus in the past you should run
./uninstall-nessus as root first.
This script will remove the old libraries and binaries left by the older
version but will keep your configuration untouched
touch nessus.tmpl
make: *** Warning: File `nessus.tmpl.in' has modification time in the future (2002-12-14 22:13:20 > 2002-05-04 10:53:48)
/bin/sh configure
loading cache ./config.cache
 楼主| 发表于 2003-5-4 11:06:58 | 显示全部楼层
我让它编译了一个晚上,还是在重复。后来读过INSTALL_README文件。提示2. Compilation and installation


Compilation and installation is done by typing 'make'. If you are running
under Solaris, then add /usr/ccs/bin to your path before you compile :

        make

Then, as root, type :

        make install


3. Files location

  Nessus is installed in the following directories :

        ${prefix}/share/nessus       : users database, users keys
        ${prefix}/etc/nessusd.conf   : nessusd configuration file
        ${prefix}/lib/nessus/        : scripts and plugins
但我查过,我的redhat没有/usr/ccs/bin目录啊!是否于这个有关呢?
但如何解决呢?
 楼主| 发表于 2003-5-5 22:30:05 | 显示全部楼层
版主兄?能帮忙吗?这是一个比较不错的扫描工具。在sun solaris 应该没问题。在曼德拉下面也没问题。就在redhat下有问题。
发表于 2003-5-21 22:01:51 | 显示全部楼层

我装了,\没错误啊

只是不是很会用.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表