Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6241

Summary: wxGTK-2.2.9.ebuild fails even with gcc 2.95.3
Product: Gentoo Linux Reporter: Joerg Erdmenger <joe>
Component: New packagesAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED FIXED    
Severity: normal CC: gabriele_giorgetti, leonardop, spider
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joerg Erdmenger 2002-08-09 02:39:54 UTC
wxGTK-2.2.9.ebuild fails (need it to get audacity). 
Because I use gcc 2.95.3 I think it's not related to bug #5617
I have an up-to-date system. I get slightly differing errors (differences in
Line Number) but the most common one looks like this:


cd ./lib \
        && ln -s libwx_gtk-2.2.so.6.2.6 libwx_gtk-2.2.so.6 \
        && ln -s libwx_gtk-2.2.so.6.2.6 libwx_gtk-2.2.so
c++ -shared -o lib/libwx_gtk_gl-2.2.so.6.2.6  glcanvas.o -L./lib -lwx_gtk-2.2
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib
-lpthread -ldl -lXi -lXext -lX11 -lm  -lpng -ljpeg -ltiff  -ldl    -lpthread  
-lz -lm -lGL -lGLU
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lwx_gtk-2.2
collect2: ld returned 1 exit status
make: *** [lib/libwx_gtk_gl-2.2.so.6.2.6] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-libs/wxGTK/wxGTK-2.2.9.ebuild .

wxGTK-2.3.2.ebuild works fine. 

I use the PentiumIII+ settings in /etc/make.conf
Comment 1 Nick Hadaway 2002-08-13 23:00:26 UTC
the wxGTK ebuild was changed from emake to make.

emerge rsync
emerge audacity (should build wxGTK-2.2.9-r1 since it's not installed currently)

This might correct the build error you have.  I have not experienced problems
building wxGTK-2.2.9-r1 on gcc-2.95.3 since then.  Please let me know if your
problem is fixed after the update.
Comment 2 Joerg Erdmenger 2002-08-19 02:30:16 UTC
It works for me now, thanks!
Comment 3 Nick Hadaway 2002-08-19 11:41:12 UTC
Awesome.  Glad to hear the problem is fixed. :)