aMule Forum

English => Compilation problems => Topic started by: jimbo on April 03, 2006, 02:19:35 PM

Title: Support for unicode in wxWidgets
Post by: jimbo 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 !!!
Title: Re: Support for unicode in wxWidgets
Post by: stefanero 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
Title: Re: Support for unicode in wxWidgets
Post by: Kry on April 03, 2006, 03:04:47 PM
No, gtk1 doens't support unicode. you have to use gtk2.
Title: good install
Post by: jimbo 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
Title: Re: Support for unicode in wxWidgets
Post by: stefanero on April 03, 2006, 03:09:38 PM
add

/usr/local/lib

to /etc/ld.so.conf

run /sbin/ldconfig

and restart
Title: not found
Post by: jimbo 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$
Title: not found
Post by: jimbo 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.
Title: Re: Support for unicode in wxWidgets
Post by: stefanero 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
Title: good
Post by: jimbo 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  !
Title: Re: Support for unicode in wxWidgets
Post by: stefanero 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
Title: bad expression
Post by: jimbo 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 !!