aMule Forum
English => Compilation problems => Topic started by: Gorescore on April 15, 2006, 10:32:43 PM
-
Hello,
i compiled wx 2.6.3 (incl. patch 2) and aMule on a fresh Fedora Core 5 with this options :
wx : ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise
amule : ./configure --prefix=/usr --disable-debug --enable-optimize --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui --enable-amule-gui --enable-amule-daemon --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-utf8-systray --enable-webserver-php --enable-kad-compile --enable-nls
compiling runs without problems.
When i start aMule and use "System Language" of "German" it doesn´t matters.
The Gui shows some in Words in english and some in German.
Did i forget something during compiling ?
-
If some strings are translated, the translation was definitely recognized and works. Otherwise *everything* would be in English.
If there are some untranslated strings, this probably means that the corresponding parts of the source code were recently changed and the translation not yet adjusted.
-
In 2.1.1 there are no untranslated messages. (of course, some expressions kept in "new-german", like "Download" instead of "Runterladen" or "Daalladen" or so.)
on cvs, there are, of course, several untranslated passages.
-
Gorescore, are you sure that you did a "make install" before running aMule? Otherwise it will not find the "amule.mo" files because their path is hardcoded in the executable. In that case, only the messages from wxWidgets are translated because they come from "wxstd.mo" files which are always installed.
-
:D yes, of course i made "make install".
For both, wx and aMule :D
The rpm packages provided here for FC5 had the same problem !
my old FC4 packages had that problem, too.
In FC3, i remember no problems ...
It is since FC4. But how to fix it ???
really strange ...
-
Please check these things:
1) Your system is correctly configured; the output of the "locale" command must look like this:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
2) You have a file called "amule.mo" in /usr/share/locale/de/LC_MESSAGES or /usr/local/share/locale/de/LC_MESSAGES
3) You had the "gettext" and(!) "gettext-devel" packages installed while building aMule
-
1. Yes, everything looks nice.
2. No ! I don´t have this file everywhere ! searched with locate (and refreshed the database before :D)
3. No. I had gettext, but no devel installed. I installed it now !
New compiling now ?
Both or only aMule ?
-
aMule: definitely
wxWidgets: maybe, but it's not that important
-
First of all thanks for the help.
Give me a hour.
My Server is a 600 Mhz machine. And compiling on this good old pentium is always a litte slow :D
I tell you if the problem is solved ...
-
funny is that it did not complain while compiling....
-
Wonderful !!!
The missing gettext-devel was the problem !
Now i have very nice wxgtk2.6.3 & amule 2.1.1 rpms for FC5.
Thanks !
-
stefanero: absence of gettext just means internationalization features are disabled. It isn't considered an error by our configure system.
-
@ken but if I remeber correct it should fail on compilation at the end...thats at least what it did a while ago...
-
Really? I thought it was a feature that aMule can be compiled without internationalisation. There might be platforms with no suitable gettext implementation.
-
thats why there is a configure flag --disable-nls
-
I'm having a similar problem.
I've compiled aMule from the sources and I don't get the german version (on Debian Etch) :-(
The output of my locale is:
LANG=de_DE@euro
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=
I do have a "amule.mo" in "/usr/local/share/locale/de/LC_MESSAGES"
"gettext" is installed on my system. I can't find "gettext-devel" with apt-cache search ...
Any ideas?
Sascha
-
The package is called 'gettext-dev' on Debian. Install this one and recompile. :)
-
Originally posted by wuischke
The package is called 'gettext-dev' on Debian. Install this one and recompile. :)
Unfortunately there is no gettext-dev either :-(
All I'm getting with apt-cache search gettext is:
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
gettext-doc - Documentation for GNU gettext
gettext-el - Emacs po-mode for editing .po files
-
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
^^ those two should be fine