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

Fòram na Gàidhlig fios at foramnagaidhlig.net
Wed Jun 5 04:14:27 EDT 2013



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


Hi,

I do and it's in /usr/bin

Cheers

GC


More information about the Scons-users mailing list