I would like to get Nessus up and running in a Mac Powerbook running 
MacOS X (10.1.3) but haven't been too successful.

I've had good results with all the ports from the Fink project (whose 
goal is precisely to get as many standard Unix goodies to run on Darwin) 
that I've installed. However, the only version of Nessus available there 
is 1.0.9 and a newer version doesn't seem to be forthcoming. However, 
other related tools, such as ethereal are up to date, as well as their 
supporting libraries such as nmap. I've also installed the Fink port of 
OpenSSL successfully.

I've tried building the latest Nessus (1.1.14) directly. 
nessus-libraries configures, compiles and installs without errors, 
except that SSL is disabled. Unfortunately, libnasl refuses to compile:

gs` -c w32.c
/bin/sh /Documents/Incoming/nessus/libnasl/libtool --silent cc -pipe 
`sh ./cflags`  `/usr/local/bin/nessus-config --libs` -o libnasl.la 
init.lo parser.lo function_call.lo sanitize.lo send_packet.lo 
pkt_utils.lo prompt.lo udp.lo tcp.lo ip.lo pcap.lo instruction.lo 
pcap_next.lo boolean.lo strutils.lo inet.lo execute.lo 
nessus_extensions.lo igmp.lo icmp.lo nasl_rpc.lo nasl_memory.lo regex.lo 
w32.lo -rpath /usr/local/lib \
-version-info 2:14:1
/Documents/Incoming/nessus/libnasl/libtool: parse error: condition 
expected: xno = [3183]
/Documents/Incoming/nessus/libnasl/nasl/.libs
/Documents/Incoming/nessus/libnasl/nasl/.libs
/Documents/Incoming/nessus/libnasl/nasl/.libs
cc -pipe   `sh ./cflags` -I. -I/usr/local/include 
-I/Documents/Incoming/nessus/libnasl/include  -o nasl 
-DVERSION=\"1.1.14\" nasl.c init.o parser.o function_call.o sanitize.o 
send_packet.o pkt_utils.o prompt.o udp.o tcp.o ip.o pcap.o instruction.o 
pcap_next.o boolean.o strutils.o inet.o execute.o nessus_extensions.o 
igmp.o icmp.o nasl_rpc.o nasl_memory.o regex.o w32.o 
`/usr/local/bin/nessus-config --libs`
/usr/bin/ld: Undefined symbols:
_lrand48
_srand48
make[1]: *** [nasl] Error 1
make: *** [all] Error 2

I've also tried to get the libraries' config script to pick up the 
OpenSSL libs installed by Fink, which are found under /sw, instead of 
/usr/local, by defining LD_LIBRARY_PATH and DYLD_LIBRARY_PATH and 
including those subdirectories (as well as the standard Darwin libs), 
with no luck.

Could somebody please point me in the right direction ?

Thanks,

J. Courcoul

Reply via email to