aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Unicode required by amule ???  (Read 3398 times)

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Unicode required by amule ???
« on: February 12, 2006, 03:01:08 PM »

Hi all,
i got a problem compiling (as daemon) newer versions of amulecvs... I receive following error:
Quote
checking for wxWidgets version >= 2.6.0... yes (version 2.6.1)
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.
Recompiling mine actual running version (20060113) works well without any error.
I use the following use flags:
Quote
[ebuild   R   ] net-p2p/amule-cvs-2  -X +amuled -debug -gtk2 +kad -nls -nosystray +optimize +remote -remote-gui -stats -unicode -wxgtk1 0 kB [1]
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Unicode required by amule ???
« Reply #1 on: February 12, 2006, 03:04:23 PM »

Just read what it says and do it.

Support for non-unicoded wxWidgets was removed from the code base last week, so you really have to rebuild your wxWidgets with --enable-unicode for aMule.

And no, the fact that a four weeks old CVS version works without unicode doesn't help because the removal of support for non-unicoded wxWidgets was after that.
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: Unicode required by amule ???
« Reply #2 on: February 12, 2006, 03:15:55 PM »

In order to recompile wxGTK with unicode support i also have to make them support gtk2... At the end i need to compile also X !!! I don't want X to be compiled on my router....
Please make something for be able to compile amuled WITHOUT X....

Quote
verbo ~ # emerge -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/glib-2.8.5  -debug -doc -hardened 0 kB
[ebuild  N    ] x11-apps/ttmkfdir-3.0.9-r3  19 kB
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal -mmx -nls -nocxx -opengl +pam -sdk -sse -static -truetype-fonts -type1-fonts (-uclibc) -xprint -xv 0 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r3  2 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.6  20 kB
[ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar -truetype -unicode 0 kB
[ebuild  N    ] virtual/x11-6.8  0 kB
[ebuild  N    ] x11-libs/cairo-1.0.2  -X -doc -glitz -png 0 kB
[ebuild  N    ] x11-libs/pango-1.10.2  -debug -doc 0 kB
[ebuild  N    ] dev-libs/atk-1.10.3  -debug -doc -static 0 kB
[ebuild  N    ] dev-perl/XML-Parser-2.34  -minimal 224 kB
[ebuild  N    ] dev-util/intltool-0.34.1  127 kB
[ebuild  N    ] x11-misc/shared-mime-info-0.16  0 kB
[ebuild  N    ] x11-libs/gtk+-2.8.8  -debug -doc -jpeg -tiff 0 kB
[ebuild   R   ] x11-libs/wxGTK-2.6.1  -debug -doc -gnome +gtk2* -joystick -odbc -opengl -sdl +unicode* -wxgtk1 0 kB
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Unicode required by amule ???
« Reply #3 on: February 12, 2006, 03:31:46 PM »

Wrong. wxBase supports Unicode and does not(!) require X.

And wxGTK needs X with and without Unicode, so you were obviously not using wxGTK, but wxBase. Please have a look at the Wiki, the difference is explained there. Unicode and X are not related in any way.
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: Unicode required by amule ???
« Reply #4 on: February 12, 2006, 03:48:09 PM »

I can't build wxBase with unicode... If i add +gtk2 flags it obviously try to install X...
I'm currently using wxGTK with -gtk2 and -wxgtk1 (wxBase), adding +unicode and trying to recompile i receive this error:
Quote
verbo ~ # emerge -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.6.1  -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl -unicode -wxgtk1 0 kB

Total size of downloads: 0 kB
verbo ~ # USE="unicode" emerge wxGTK
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/wxGTK-2.6.1 to /
>>> md5 files   ;-) wxGTK-2.6.2-r1.ebuild
>>> md5 files   ;-) wxGTK-2.5.3.ebuild
>>> md5 files   ;-) wxGTK-2.6.1.ebuild
>>> md5 files   ;-) wxGTK-2.4.2-r2.ebuild
>>> md5 files   ;-) wxGTK-2.6.1-r1.ebuild
>>> md5 files   ;-) wxGTK-2.4.2-r4.ebuild
>>> md5 files   ;-) wxGTK-2.6.0-r1.ebuild
>>> md5 files   ;-) wxGTK-2.6.2.ebuild
>>> md5 files   ;-) wxGTK-2.4.2-r3.ebuild
>>> md5 files   ;-) files/wxGTK-2.6.1-windowcpp.diff
>>> md5 files   ;-) files/wxGTK-2.4.1-contrib.patch
>>> md5 files   ;-) files/wxGTK-2.4.2-contrib_animate.patch
>>> md5 files   ;-) files/wxGTK-2.4.2-menu.cpp.patch
>>> md5 files   ;-) files/wxGTK-2.4.2-pango_fix.patch
>>> md5 files   ;-) files/intl.cpp.diff
>>> md5 files   ;-) files/wxGTK-2.4.2-cleanup.patch
>>> md5 files   ;-) files/wxGTK-2.4.1-wxpython1.patch
>>> md5 files   ;-) files/digest-wxGTK-2.4.2-r2
>>> md5 files   ;-) files/digest-wxGTK-2.4.2-r3
>>> md5 files   ;-) files/digest-wxGTK-2.4.2-r4
>>> md5 files   ;-) files/digest-wxGTK-2.6.0-r1
>>> md5 files   ;-) files/digest-wxGTK-2.6.1-r1
>>> md5 files   ;-) files/digest-wxGTK-2.6.2-r1
>>> md5 files   ;-) files/wxGTK-2.4.1-wxpython2.patch
>>> md5 files   ;-) files/digest-wxGTK-2.5.3
>>> md5 files   ;-) files/digest-wxGTK-2.6.1
>>> md5 files   ;-) files/digest-wxGTK-2.6.2
>>> md5 files   ;-) files/wxWidgets-2.6.2-gcc41.patch
>>> md5 src_uri ;-) wxWidgets-2.6.1.tar.bz2
 * To install only wxbase (non-gui libs) use -gtk2 -wxgtk1

!!! ERROR: x11-libs/wxGTK-2.6.1 failed.
!!! Function pkg_setup, Line 33, Exitcode 0
!!! You must put gtk2 in your USE if you need unicode support
!!! If you need support, post the topmost build error, NOT this status message.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Unicode required by amule ???
« Reply #5 on: February 12, 2006, 04:02:14 PM »

well the ebuild is brocken, file a bugreport at bugs.gentoo.org adn tell them...

meanwhile you could download wxBAse yourself and build it
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."