[egenix-users]
AttributeError: MSVCCompiler instance has no attribute
'compile_options'
han ray
hantechs at gmail.com
Sun Mar 5 10:29:21 CET 2006
I want to build egenix-mx-base, but when I encounterd some problem:
F:\dev\egenix-mx-base-2.0.6>python setup.py build
running build
running mx_autoconf
Traceback (most recent call last):
File "setup.py", line 16, in ?
mxSetup.run_setup(configurations)
File "F:\dev\egenix-mx-base-2.0.6\mxSetup.py", line 1751, in run_setup
apply(setup, (), kws)
File "C:\Python24\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands
self.run_command(cmd)
File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
cmd_obj.run()
File "C:\Python24\lib\distutils\command\build.py", line 112, in run
self.run_command(cmd_name)
File "C:\Python24\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
cmd_obj.run()
File "F:\dev\egenix-mx-base-2.0.6\mxSetup.py", line 470, in run
self.prepare_compiler()
File "F:\dev\egenix-mx-base-2.0.6\mxSetup.py", line 449, in
prepare_compiler
self._check_compiler()
File "C:\Python24\lib\distutils\command\config.py", line 107, in
_check_compil
er
dry_run=self.dry_run, force=1)
File "C:\Python24\lib\distutils\ccompiler.py", line 1177, in new_compiler
return klass (None, dry_run, force)
File "F:\dev\egenix-mx-base-2.0.6\mxSetup.py", line 684, in
mx_msvccompiler__i
nit__
self.compile_options.extend(MSVC_COMPILER_FLAGS)
AttributeError: MSVCCompiler instance has no attribute 'compile_options'
I had read the mxSetup.py, It seems that MSVCCompiler.initialize should be
called where it assign a value to compile_options. My platform is Windows XP
and Python is 2.4.2. TIA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20060305/f4fdac58/attachment.htm
More information about the egenix-users
mailing list