View previous topic :: View next topic |
Author |
Message |
phunkphorce Tux's lil' helper
Joined: 22 Nov 2002 Posts: 145
|
Posted: Mon Mar 03, 2003 1:31 pm Post subject: PySoulSeek and wxGTK |
|
|
Hi,
I'm trying to install the PySoulSeek client for the SoulSeek network but I'm always running into the same problem when compiling the wxGTK/wxWindows library (required by PySoulSeek) This is what I get after a little bit of time spent compiling the library:
Code: | g++ -c -I./lib/wx/include/gtk-2.4 -I./include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -march=i686 -O3 -pipe -funroll-loops -fomit-frame-pointer -pthread -Wall -fPIC -o joystick.o ./src/gtk/joystick.cpp
g++ -c -I./lib/wx/include/gtk-2.4 -I./include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -march=i686 -O3 -pipe -funroll-loops -fomit-frame-pointer -pthread -Wall -fPIC -o listbox.o ./src/gtk/listbox.cpp
{standard input}: Assembler messages:
{standard input}:643: Error: symbol `.LEHB10228' is already defined
{standard input}:658: Error: symbol `.LEHE10228' is already defined
make: *** [joystick.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: x11-libs/wxGTK-2.4.0 failed.
!!! Function src_compile, Line -136, Exitcode 2
!!! make failed |
There is obviously something wrong but I don't know what it can be... My USE variable has all the defaults except that I added "-gtk2 -alsa -opengl"
Has anybody seen anything similar to this before? Any hint will be greatly apreciated _________________ O God, Thou art in Heaven...
...please stay there! |
|
Back to top |
|
|
xenon Guru
Joined: 25 Dec 2002 Posts: 432 Location: Europe
|
Posted: Mon Mar 03, 2003 6:21 pm Post subject: |
|
|
Works fine here. What about trying without the -gtk2 thing? |
|
Back to top |
|
|
max_colby Tux's lil' helper
Joined: 30 Nov 2002 Posts: 149 Location: Ottawa, Canada
|
Posted: Mon Mar 03, 2003 7:55 pm Post subject: |
|
|
pysoulseek shouldn't work if wxPython and wxGTK are compiled against gtk2. I'd try more moderate CFLAGS. I think -funroll-loops is causing the problem. If that doesn't fix it, try compiling without -fomit-frame-pointer. |
|
Back to top |
|
|
phunkphorce Tux's lil' helper
Joined: 22 Nov 2002 Posts: 145
|
Posted: Mon Mar 03, 2003 10:19 pm Post subject: |
|
|
Hmmm... I already tried to compile wxGTK with the "-gtk2" flag in the USE variable but I completely forgot about wxPython (that compiled fine) I will also try your sugestion about using moderate CFLAGS, even though my CFLAGS are not that exceptional anyway
Code: | -march=i686 -O3 -pipe -funroll-loops -fomit-frame-pointer |
I'll post it here if I can find a solution _________________ O God, Thou art in Heaven...
...please stay there! |
|
Back to top |
|
|
phunkphorce Tux's lil' helper
Joined: 22 Nov 2002 Posts: 145
|
Posted: Mon Mar 03, 2003 11:30 pm Post subject: |
|
|
It worked! I reduced the CFLAGS to the minimum indispensable nowadays and wxGTK emerged fine... I am now emerging wxPython but hopefully I won't have any more problems.
Thank you for your help!! _________________ O God, Thou art in Heaven...
...please stay there! |
|
Back to top |
|
|
|