Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6241 - wxGTK-2.2.9.ebuild fails even with gcc 2.95.3
Summary: wxGTK-2.2.9.ebuild fails even with gcc 2.95.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
Depends on:
Reported: 2002-08-09 02:39 UTC by Joerg Erdmenger
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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 \
        && ln -s
c++ -shared -o lib/  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/] 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. :)