Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PySoulSeek and wxGTK
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
phunkphorce
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 145

PostPosted: Mon Mar 03, 2003 1:31 pm    Post subject: PySoulSeek and wxGTK Reply with quote

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
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Mon Mar 03, 2003 6:21 pm    Post subject: Reply with quote

Works fine here. What about trying without the -gtk2 thing?
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Mon Mar 03, 2003 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
phunkphorce
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 145

PostPosted: Mon Mar 03, 2003 10:19 pm    Post subject: Reply with quote

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 8)
_________________
O God, Thou art in Heaven...
...please stay there!
Back to top
View user's profile Send private message
phunkphorce
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 145

PostPosted: Mon Mar 03, 2003 11:30 pm    Post subject: Reply with quote

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!! 8)
_________________
O God, Thou art in Heaven...
...please stay there!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum