[Scons-users] error with gettext (translate) on some systems
Fòram na Gàidhlig
fios at foramnagaidhlig.net
Fri Jun 7 06:02:22 EDT 2013
> 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
> defaultlater on. I tried switching them and it worked!
>
>
> env = Environment( tools = ['gettext','default'] )
>
>
> I don't use this initialisation for gettext, it creates on OSX & Windows
> problems.
>
> So I do this:
>
> env = Environment( tools = ["default", ....."] )
>
> env.Tool("gettext")
>
>
> So I add the gettext initialisation after creating the environment
> object, this seems to be working
>
>
> Phil
>
>
> P.S.: I see your are using my earlier thread :-)
Yes, I thought that made sense, to keep the information in one plcae :-)
I'd be willing to do some experimentation. I have a few other things to
solve to get this running, but once I've got that sorted I'd be happy to
help.
More information about the Scons-users
mailing list