[Scons-users] msvc and "could not detect xgettext"

William Deegan bill at baddogconsulting.com
Mon Mar 25 19:00:48 EDT 2013


Philipp,
On Mar 25, 2013, at 2:35 PM, Philipp Kraus <philipp.kraus at flashpixx.de> wrote:


> On 2013-02-25 04:10:15 +0100, William Deegan said:

>

>> 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 win3 2 python build, or cygwin, or other?

>

> I have testet the developer version 2.3.0 of Scons and this seems to run without problems


Good news!
-Bill


More information about the Scons-users mailing list