[Scons-users] error with gettext (translate) on some systems

Fòram na Gàidhlig fios at foramnagaidhlig.net
Thu Jun 6 06:01:55 EDT 2013


05/06/2013 21:23, sgrìobh Dirk Bächle:

> On 05.06.2013 10:14, Fòram na Gàidhlig wrote:

>>>>> [...]

>>>

>>> for using the gettext Tool you need to have the programs "xgettext",

>>> "msginit", "msgmerge" and "msgfmt" installed and in your path. Please

>>> check whether you have the "gettext" package installed...

>>

>> Hi,

>>

>> I do and it's in /usr/bin

>>

>> Cheers

>>

>> GC

>

> Okay,

>

> here are a few more things to try:

>

> 1.) Calling only the 'gettext' Tool

>

> env = Environment(tools=['gettext'])

>

> 2.) Calling another Tool, that lives parallel to 'gettext' in the source

> tree

>

> env = Environment(tools=['textfile'])

>

> 3.) Setting the absolute path to the 'gettext' Tool

>

> env = Environment(tools=['gettext'],

> toolpath=['/usr/local/lib/scons-2.1.0/SCons/Tool'])

>

> Does any of these work?

>

> Regards,

>

> Dirk


1. Did take care for the error message, but I still needed the default
later on. I tried switching them and it worked!

env = Environment( tools = ['gettext','default'] )


More information about the Scons-users mailing list