aMule Forum

English => Compilation problems => Topic started by: Pajarico on March 21, 2005, 04:25:05 PM

Title: Compilation on Gentoo
Post by: Pajarico on March 21, 2005, 04:25:05 PM
Hi, I'm trying to compile the CVS snapshot from today.
Well, the configure script ends ok, only a warning is printed:
Code: [Select]
WARNING!! Your wxWidgets copy has been linked against GTK2 and this will make aMule
  be unstable, use much more cpu and ram. You have been warned, don't report bugs under this setup.

But i don't want to recompile wxGTK. Actually, in Gentoo, you can force wxGTK to be compiled with both gtk1 and gtk2 version, the problem is that configure only detects the gtk2 version.

My doubt is how do i force the script to use the wxGTK compiled against gtk1 instead of the one aginst gtk2.

 ;)
Title: Re: Compilation on Gentoo
Post by: Kry on March 21, 2005, 04:46:19 PM
Check wx-config script on your system and find out where does it link to.
Title: Re: Compilation on Gentoo
Post by: Pajarico on March 21, 2005, 05:39:01 PM
Thank you purple :P

Code: [Select]
lxuser@localhost bin $ ls /usr/bin | grep wxgtk
lrwxrwxrwx   1 root root         18 Mar 21 15:39 wx-config -> wxgtk2u-2.4-config
-rwxr-xr-x   1 root root       5144 Mar 21 15:39 wxgtk-2.4-config
-rwxr-xr-x   1 root root       5334 Mar 21 15:39 wxgtk2-2.4-config
-rwxr-xr-x   1 root root       5342 Mar 21 15:39 wxgtk2u-2.4-config

So i guess i have to link to wxgtk-2.4-config, right?

BTW, is there a way to have a unicode and gtk1 version?

 ;)
Title: Re: Compilation on Gentoo
Post by: Xaignar on March 21, 2005, 05:49:48 PM
Not AFAIK, however I'm probably wrong.
Title: Re: Compilation on Gentoo
Post by: stefanero on March 21, 2005, 06:17:43 PM
xaignar as always you are right :P

gtk1 and unicode dont work