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

GunChleoc fios at foramnagaidhlig.net
Tue Jun 4 13:33:22 EDT 2013


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


>

>

> Hi,

>

> I have reinstalled my Scons version and set Gentoos default python version

with eselect to the 2.7.

> After this, Scons works fine and find the gettext installation. 

> I can not determine why this problem exists, I think it can be a problem

with the two Python version on

> the system.


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.



More information about the Scons-users mailing list