Hi KAMI,
I just pushed your patch in the repos. Thanks for it.
Regards,
On Tue, 2011-04-19 at 10:06 +0200, KAMI911 KAMI911 wrote:
Hi Andras,
I tried to use internal toolkit:
"
checking which translate-toolkit to use... internal
"
But when I try to build translations I got this error:
"
=============
Building module translations
=============
Entering /home/kami/git/libreoffice-3-4/bootstrap/translations
: &&
LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo --skipsource -i
./source/de -t ./unxlngi6.pro/misc/sdf-template/en-US.sdf -o ./unxlngi6.pro/misc/sdf-l10n/de.sdf
-l de
Traceback (most recent call last):
File
"/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo", line 27, in <module>
from translate.convert import po2oo
ImportError: No module named translate.convert
dmake: Error code 1, while making
'./unxlngi6.pro/misc/sdf-l10n/de.sdf'
Retrying /home/kami/git/libreoffice-3-4/bootstrap/translations
: &&
LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo --skipsource -i
./source/de -t ./unxlngi6.pro/misc/sdf-template/en-US.sdf -o ./unxlngi6.pro/misc/sdf-l10n/de.sdf
-l de
Traceback (most recent call last):
File
"/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo", line 27, in <module>
from translate.convert import po2oo
ImportError: No module named translate.convert
dmake: Error code 1, while making
'./unxlngi6.pro/misc/sdf-l10n/de.sdf'
"
If I install system provided translation-toolkit (version 1.7 on
Ubuntu 11.04) it tries to use that but the build fails because of
missing --skipsource in 1.7 however I am using internal translation
toolkit. I think it can be a path problem where the a system installed
translation-toolkit masks the version comes form the build system.
I provide the attached patch to fix this problem. I simply move
translate-toolkit python modules to bin. I hope this will solve the
problem. Please commit it to master and 3-4 if you agree.
Not tested other platform than Linux.
Regards,
KAMI
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.