aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Support for unicode in wxWidgets  (Read 4525 times)

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Support for unicode in wxWidgets
« on: April 03, 2006, 02:19:35 PM »

Hello, i try to write in english (I'm french)

I try to compil amule cvs :

firts I install wxwidgets, in user :

./configure --prefix=/usr --disable-gtk2 --with-gtk

make

su

make install

ldconfig

after I install wxBase :

./configure --prefix=/usr

make

and I try to compile amule:

./configure --disable-debug --enable-optimize

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.6.3)
checking for wxWidgets static library... no
checking that wxWidgets has support for large files... yes
checking that wxWidgets was compiled with unicode support... no
configure: error:
                Support for unicode in wxWidgets is required by aMule.
                To continue you must recompile wxWidgets with support for
                unicode enabled (with the --enable-unicode flag). If this
                still doesn't work, chances are you are using GTK1, which
                has no unicode support. You must use the --enable-gtk2 flag
                on wxWidgets configure script then.

but, before I have compilled  wxWidgets with :
./configure --prefix=/usr --disable-gtk2 --with-gtk

so i don't understand, can you help me please !!!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Support for unicode in wxWidgets
« Reply #1 on: April 03, 2006, 02:21:55 PM »

yup

recompile wxGTK with

--with-gtk --enable-unicode

then try amule-cvs again...

btw: if you install wxGTK, you dont need wxBase...only install one of those 2
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."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Support for unicode in wxWidgets
« Reply #2 on: April 03, 2006, 03:04:47 PM »

No, gtk1 doens't support unicode. you have to use gtk2.
Logged

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
good install
« Reply #3 on: April 03, 2006, 03:08:32 PM »

Thanks,

when I would start aMule with a shell :

amule: error while loading shared libraries: libwx_gtk2u_adv-2.6.so.0: cannot open shared object file: No such file or directory

but compill and install sucsessfully done
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Support for unicode in wxWidgets
« Reply #4 on: April 03, 2006, 03:09:38 PM »

add

/usr/local/lib

to /etc/ld.so.conf

run /sbin/ldconfig

and restart
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."

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
not found
« Reply #5 on: April 03, 2006, 03:18:41 PM »

jim@pceau:~/amule-cvs$ amule
bash: /usr/bin/amule: Aucun fichier ou répertoire de ce type
jim@pceau:~/amule-cvs$
Logged

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
not found
« Reply #6 on: April 03, 2006, 03:24:06 PM »

Excuse me, after a reboot :
jim@pceau:~$ amule
This binary requires you to use the flag --only-chuck-norris-would-stop-me and only if you're very sure of it.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Support for unicode in wxWidgets
« Reply #7 on: April 03, 2006, 04:07:04 PM »

well then add this flag ;)

amule --FLAG_HERE

its just to make sure, people dont use CVS, without knowing whats behind it...

CVS is code in experimental stage when it burns your house -> your problem
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."

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
good
« Reply #8 on: April 03, 2006, 04:25:39 PM »

thanks, I hope this version will be stable after 4 days, in fact amule 2.1.1 become more and more slow so unused it  !
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Support for unicode in wxWidgets
« Reply #9 on: April 03, 2006, 04:43:20 PM »

I doubt there is any difference...

and I doubt its because of aMule your download became slower, its more because of the downloads themself
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."

jimbo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
bad expression
« Reply #10 on: April 03, 2006, 04:56:08 PM »

It's not my download who become slowly but the soft, 30s to open preferences for exemple !!
Logged