aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxGTK support  (Read 4091 times)

big_julius

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
wxGTK support
« on: November 17, 2004, 07:01:21 PM »

It would be nice that aMule supports all wxGTK versions.
Installing specific libwxgtk package may cause dependancy troubles.
Thx.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: wxGTK support
« Reply #1 on: November 17, 2004, 07:26:09 PM »

it supports wxGtk 2.4.2, 2.5.2, 2.5.3 and current CVS.
What's that wxGtk version you're using???
Greetings!
Logged

big_julius

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: wxGTK support
« Reply #2 on: November 18, 2004, 03:30:39 PM »

I'm on Mandrake 10.1

[julius@Tux ~]$ rpm -qa | grep wx
libwxgtk2.5_1-2.5.1-5.1.101mdk
libwxgtk2.5-2.5.0-0.cvs20030817.1.3.100mdk
wxGTK2.5-2.5.1-5.1.101mdk


But aMule don't even compile :
./configure says :
                                       wxWidgets          Not detected
                                       GTK                Not detected
and compilation failes.

That's why I'm askng.
If my wxGTK version is supported, why should I have to install yours?

Thanks. :)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK support
« Reply #3 on: November 18, 2004, 03:44:53 PM »

hey

are you sure all your 3rpms belong to ONE wxGTK version???
they look like atleast 2different versions.....
and installing 2versions of wxGTK at teh same time is not supported of course. at least not both in /usr/

compile your wxGTK version yourself...and use a different prefix /usr/local/wxGTK2.5.3/ for example and run amule with
LD_LIBRARY_PATH=/usr/local/wxGTK2.5.3/lib/ /path/to/amule &

for compiling there is a configure option in amule  --with-wx-config=/usr/local/wxGTK2.5.3/bin/wx-config


hope that solves some of your problems
but using this way you can manage to compile and use amule against ANY wxGTK version and trust me we tested them ALL with and without gtk2 and unicode

stefanero
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."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: wxGTK support
« Reply #4 on: November 18, 2004, 04:22:08 PM »

Have you read this howto? -> http://www.amule.org/wiki/index.php/HowTo_Compile_In_MDK
you lack -devel packages. please follow the howto step be step ;)
Greetings!
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: wxGTK support
« Reply #5 on: November 18, 2004, 06:21:57 PM »

btw, why do you want do compile? can't you install the RPM?
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: wxGTK support
« Reply #6 on: November 18, 2004, 08:40:52 PM »

Quote
Originally posted by big_julius
I'm on Mandrake 10.1

[julius@Tux ~]$ rpm -qa | grep wx
libwxgtk2.5_1-2.5.1-5.1.101mdk
libwxgtk2.5-2.5.0-0.cvs20030817.1.3.100mdk
wxGTK2.5-2.5.1-5.1.101mdk

This is most probably wrong. Uninstall libwxgtk2.5-2.5.0-0.cvs20030817.1.3.100mdk.

Quote
But aMule don't even compile :
./configure says :
                                       wxWidgets          Not detected
                                       GTK                Not detected
and compilation failes.

That's why I'm askng.
If my wxGTK version is supported, why should I have to install yours?

Thanks. :)

Maybe you should talk to efe (ThePolish). I believe he is the Mandrake maintainer, and there exists a Mandrake rpm if you want to use rpms.

If you want to compile, you should probably compile wx yourself because the wx distributions rpm in general are screwed (I speak for Fedora Core 1 and 2).
Logged

big_julius

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: wxGTK support
« Reply #7 on: November 18, 2004, 10:29:29 PM »

Founded the problem by myself and Jacobo221 was right.
I installed libwxgtk2.5_1-devel package and the compilation was ok.
Thanks everybody.

See ya. :)
Keep on the good work.
Logged