[Scons-users] msvc and "could not detect xgettext"
William Deegan
bill at baddogconsulting.com
Sun Feb 24 22:10:15 EST 2013
Phil,
On Feb 24, 2013, at 5:24 PM, Philipp Kraus <philipp.kraus at flashpixx.de> wrote:
>
> Am 25.02.2013 um 02:02 schrieb Bill Deegan:
>
>> Phil,
>>
>> On Sun, Feb 24, 2013 at 2:35 PM, Philipp Kraus <philipp.kraus at flashpixx.de> wrote:
>> Hello,
>>
>> I have installed Scons 2.2.0 under Windows. I create the Environment object with Environment() and Environment(tools=[]) and I would use the MSVC_VERSION item of the env object.
>> On tools=[] thsi flag isn't exists, but if I remove the tools option I get "could not detect xgettext", also if I run env.Tool("default").
>> Can I use the Environment() call, so that my env object get the default settings without throwing the xgettext error?
>> Gettext is a unix tool, why tries scons to detect it on windows, because why throws Scons this exception and eg not "javac not found" (if javac is not installed) ?
>>
>
>
>> Here's all the tools SCons should be trying to initialize on win32..
>> "prefer Microsoft tools on Windows"
>> linkers = ['mslink', 'gnulink', 'ilink', 'linkloc', 'ilink32' ]
>> c_compilers = ['msvc', 'mingw', 'gcc', 'intelc', 'icl', 'icc', 'cc', 'bcc32' ]
>> cxx_compilers = ['msvc', 'intelc', 'icc', 'g++', 'c++', 'bcc32' ]
>> assemblers = ['masm', 'nasm', 'gas', '386asm' ]
>> fortran_compilers = ['gfortran', 'g77', 'ifl', 'cvf', 'f95', 'f90', 'fortran']
>> ars = ['mslib', 'ar', 'tlib']
>> other_plat_tools=['msvs','midl']
>
> is there a verbose output, so that I can check the initialization process?
Not for all tools.
>
>> Are you by chance using cygwin's python?
>
> Cygwin works well, so the problem exists only on the MSVC command line.
That was not the question I was asking.
Which python are you using?
A win32 python build, or cygwin, or other?
-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130224/ec930475/attachment.html>
More information about the Scons-users
mailing list