Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
troubles compiling wxGTK
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
reverseninja
n00b
n00b


Joined: 23 Jul 2003
Posts: 31

PostPosted: Thu Nov 25, 2004 11:51 pm    Post subject: troubles compiling wxGTK Reply with quote

Greetings all. I'm having a rotten time trying to get the 0.3.8 bittornado client compiled. I'm being hung up on compiling wxGTK. I've tried the stable ppc version 2.4.2-r2, and 2.5.3 and both fail to compile. Ive tried setting Use variables to -gtk2 and -unicode, and gtk2 and unicode, with no results. Occasionally I get seg faults during a compile. I have a g3 900mhz ibook. Any suggestions for things to try would be great. I'm using gcc-3.4.1, and this is a fresh install with the 2004.3. Anyone who has success at compiling wxGTK, if you could let me know what you did, use variables and such, that would rock!

Thanks all!
Mike
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 26, 2004 9:11 am    Post subject: Reply with quote

It sounds like you have preempt turned on in your kernel. Make sure it's off and post again if that's not your problem.
Back to top
View user's profile Send private message
reverseninja
n00b
n00b


Joined: 23 Jul 2003
Posts: 31

PostPosted: Fri Nov 26, 2004 8:59 pm    Post subject: Reply with quote

Preempt has been removed from the kernel and tried to compile 2.5.3, but that failed. I tried out 2.4.2-r2 and success! Thanks for the tip! Preemption = teh_suck
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Thu Jun 30, 2005 2:07 pm    Post subject: Reply with quote

I get the same exact error...
I have PREEMPT off in my kernel by default and yet i get seg faults when compiling wxGTK..
any help?
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Fri Jul 01, 2005 3:35 am    Post subject: Reply with quote

I gave it a try and it worked for me. I have:
Code:
emerge -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.4.2-r3  -debug +gtk2 -odbc +opengl +unicode -wxgtk1 0 kB

Total size of downloads: 0 kB

and
Code:
more /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char -frename-registers -fweb
-fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="ppc"
USE="-gnome -gnome-lib altivec dvd cdr dvdr oss alsa aalib ncurses xml xml2 cups foomaticdb ppds fbcon pdflib
 cdf netcdf szip tiff samba zlib xmms flac imagemagick nptl f77 graphviz mpeg jbig mikmod imlib2 live theora
gtk gtk2 lcms wmf jpeg2k xv cdparanoia network"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo ftp://ftp.vic.keypoint.com.au ftp:
//mirror.pacific.net.au/linux/Gentoo"
GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http
://mirror.tucdemonic.org/gentoo/"

Also I have an iMac G4 what is your hardware configuration as it may have an impact.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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