Today I wanted to install nessus on my Macbook Pro using MacPorts on Leopard. But I got the following error:
I'm running OS/X 10.5.2 with MacPorts 1.600. After some Googling I found the following bug report: http://trac.macports.org/ticket/14429 titled "nessus-libraries build failed (libtool error)". And in the comments there was the fix: I had to edit the Portfile and add the following line:
After these changes it compiled and installed fine:
libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [plugutils.o] Error 1
make: *** [all] Error 2
I'm running OS/X 10.5.2 with MacPorts 1.600. After some Googling I found the following bug report: http://trac.macports.org/ticket/14429 titled "nessus-libraries build failed (libtool error)". And in the comments there was the fix: I had to edit the Portfile and add the following line:
"configure.cc gcc"
I made changes to the following files in the directory "/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/":
libnasl/Portfile
nessus-libraries/Portfile
nessus-core/Portfile
After these changes it compiled and installed fine:
polaris:bin nuil$ sudo port install nessus-core
[...]
polaris:bin nuil$ nessus --version
nessus (Nessus) 2.2.6 for Darwin
(C) 1998 - 2003 Renaud Deraison
SSL used for client - server communication

Well that certainly is a lot easier than fixing all the libtool references with the proper MODE :) Thanks for the tip!
Posted by: chort | 06 August 2008 at 23:20