nessus 2.31 doesn't compile under OS X due to several undefined symbols: ld: warning -L: directory name (/usr/lib/lib) does not exist ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (__TEXT,__text) /usr/lib/libdl.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (__TEXT,__text) /usr/lib/libdl.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (__TEXT,__text) /usr/lib/libdl.dylib(regfree.So) definition of _regfree ld: Undefined symbols: _libintl_gettext _libintl_bind_textdomain_codeset _libintl_bindtextdomain _libintl_textdomain make[1]: *** [nessus] Error 1 make: *** [client] Error 2 (It's not clear if bug 85438 [another nessus compile problem under OS X] has been resolved or whether it will still affect the compile should the problem above be fixed.)
submitted to bugs.nessus.org as #1228
That version (2.3.1) is hard masked, and as such is can be expected not to compile. However, do you have the latest Xcode (2.1)? It solves some of these linker problems. FYI: I just compiled: [ebuild N ] net-analyzer/nessus-libraries-2.2.4[ok] [ebuild N ] net-analyzer/libnasl-2.2.4 [ok] [ebuild N ] net-analyzer/nessus-core-2.2.4-r1 [ok] [ebuild N ] net-analyzer/nessus-plugins-2.2.4 [ok] [ebuild N ] net-analyzer/nessus-2.2.4 [ok] and experienced no problems.
Yes, I was able to compile that version as well.
The following versions compile: [ebuild N ] net-analyzer/nessus-libraries-2.2.5 416 kB [1] [ebuild N ] net-analyzer/libnasl-2.2.5 355 kB [1] [ebuild N ] net-analyzer/nessus-core-2.2.5 -X -debug (-gtk2) -prelude -tcpd 667 kB [1] [ebuild N ] net-analyzer/nessus-plugins-2.2.5 1,089 kB [1] [ebuild N ] net-analyzer/nessus-2.2.5 0 kB [1] The "prelude" flag requires this, which is ~ppc-macos in portage: [ebuild N ] dev-libs/libtasn1-0.2.13 (-doc) 0 kB [1] [ebuild N ] net-libs/gnutls-1.2.4 -crypt (-doc) -zlib 0 kB [1] [ebuild N ] dev-libs/libprelude-0.9.0_rc14 (-perl) -python 1,604 kB One nasty think that is left: the X USE flag pulls gtk, or if gtk2 is also set, gtk2. We cannot just mask X for this reason, so I was looking for a way to mask X only for this package. Any dev know how to do this the correct way for ppc-macos?
# Marcelo Goes <vanquirius@gentoo.org> (3 Apr 2007) # Nessus 2.3.x was discontinued closing as we need someone to figure out what /is/ supposed to work.