aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation on Gentoo  (Read 3373 times)

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Compilation on Gentoo
« 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.

 ;)
« Last Edit: March 21, 2005, 04:26:09 PM by Pajarico »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation on Gentoo
« Reply #1 on: March 21, 2005, 04:46:19 PM »

Check wx-config script on your system and find out where does it link to.
Logged

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Compilation on Gentoo
« Reply #2 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?

 ;)
« Last Edit: March 21, 2005, 05:39:56 PM by Pajarico »
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Compilation on Gentoo
« Reply #3 on: March 21, 2005, 05:49:48 PM »

Not AFAIK, however I'm probably wrong.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compilation on Gentoo
« Reply #4 on: March 21, 2005, 06:17:43 PM »

xaignar as always you are right :P

gtk1 and unicode dont work
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."