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

Dirk Bächle tshortik at gmx.de
Tue Jun 4 14:20:37 EDT 2013


Hi,

On 04.06.2013 19:33, GunChleoc wrote:

> Philipp Kraus <philipp.kraus <at> flashpixx.de> writes:

>

>> [...]

>>

>> This solution did not work for me. I reinstalled both SCons (current

>> version) and Python 2.7.5. I'm on Ubuntu. Here's the error log:

>>

>> EnvironmentError: No tool named 'gettext': not a Zip file:

>> File "/home/bratzbert/sources/vdrift/SConstruct", line 526:

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

>> File "/usr/lib/scons/SCons/Environment.py", line 999:

>> apply_tools(self, tools, toolpath)

>> File "/usr/lib/scons/SCons/Environment.py", line 105:

>> env.Tool(tool)

>> File "/usr/lib/scons/SCons/Environment.py", line 1782:

>> tool = SCons.Tool.Tool(tool, toolpath, **kw)

>> File "/usr/lib/scons/SCons/Tool/__init__.py", line 94:

>> module = self._tool_module()

>> File "/usr/lib/scons/SCons/Tool/__init__.py", line 154:

>> raise SCons.Errors.EnvironmentError(m)

>>

>>

>> and the line that is causeing the problem:

>>

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

>>

>> And pointers will be appreciated, as I was unable to find a solution on the net.


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...

Regards,

Dirk




More information about the Scons-users mailing list