Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5515 - nessus-1.2.2-r1.ebuild can't compile
Summary: nessus-1.2.2-r1.ebuild can't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 13:44 UTC by Ilian Zarov
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilian Zarov 2002-07-24 13:44:57 UTC
"*** nessus-libraries is not installed ! You need to install it before you"   
"compile libnasl."   
"Get it at ftp://ftp.nessus.org/pub/nessus/"   
  
!!! ERROR: The ebuild did not complete successfully.   
!!! Function src_compile, Line 29, Exitcode 1   
!!! Configure failed libnasl   
  
I do not have previous versions of nessus installed. In fact, I've never installed   
nessus on gentoo. Seems to me that separating the ebuild into libnasl,  
nessus-core and so on would fix it (this hack with exporting PATH and  
LD_LIBRARY_PATH is probably the problem), but I don't have time.  
  
USE="-3dfx 3dnow -aalib -acl -afs -alsa -apm arts -atlas avi bonobo crypt   
-cups dga -directfb -doc -dvd encode esd evo -fbcon flash -gb gd gdbm ggz gif   
gnome gnome-libs -gphoto2 gpm gtk gtkhtml -icc -icc-pgo -imap imlib innodb   
-java jpeg kde lcms -ldap libg++ libgda libwww -matrox -maildir mbox mikmod   
mmx motif mozilla mpeg mysql -nas ncurses nls -nocardbus -odbc oggvorbis   
opengl -oss pam -pcmcia -pda pdflib perl -pic plotutils png -pnp -postgres   
python qt quicktime readline ruby samba sdl slang -slp snmp spell -sse ssl   
-static -svga tcltk tcpd -tetex -tiff truetype -trusted -voodoo3 X -xface   
-xml xml2 xmms xv zeo zlib"   
 
gcc: 3.1-r8 
Configuration: everything installed via portage and up to date  
CHOST="i686-pc-linux-gnu"   
CFLAGS="-march=athlon -O3 -fomit-frame-pointer -funroll-loops -pipe -m3dnow   
-mmmx"   
CXXFLAGS="-march=athlon -O3 -fomit-frame-pointer -funroll-loops -pipe 
-m3dnow   
-mmmx"
Comment 1 Nick Hadaway 2002-07-25 18:10:15 UTC
I think I will end up splitting up the package into a couple.  I will be working
on this over the next day or two.  I also will be working with the newly
released version, 1.2.3, instead of 1.2.2.  I will post another message on this
bug report as soon as I get a package up for testing.

As a quick side note... if you have had success with your gcc flags so far...
then I say more power to you. :)  If not... then i'd suggest dropping some of
the added -f*
Comment 2 Ilian Zarov 2002-07-25 19:30:00 UTC
 Well, the flags aren't causing me problems. Gnome2, KDE 3 and all big stuff   
compiles fine, occasionally some small programs not being updated for a while   
break (I suppose they are just not ready for gcc 3 systems - esp. c++ progs).   
[several minutes later] Tested with -march=athlon -O2 -pipe, doesn't work, same  
error.  
Comment 3 Nick Hadaway 2002-07-26 00:53:46 UTC
no problem.... I experienced the same errors on my computer.  This is due to 
the fact that you are right... it's a dirty hack... :)  I will fix the hack 
and split them into separate ebuilds...
Comment 4 Nick Hadaway 2002-07-26 17:05:16 UTC
nessus-1.2.3 has been added to portage.  The ebuild is now just a dependancy
ebuild which pulls:

nessus-libraries
libnasl
nessus-core
nessus-plugins
(in order of which they should install.)

They all install fine on a gcc-3.1 system as well.
Comment 5 Ilian Zarov 2002-07-26 17:22:39 UTC
 Confirmed, though I needed to create /var/lib/nessus/logs/ manually.
Thanks for the ebuilds :)
Comment 6 Nick Hadaway 2002-07-26 18:36:36 UTC
added a... 

dodir /var/lib/nessus /var/lib/nessus/logs

to the nessus-core ebuild.  Thanks for the report. :)