Compilation of Xen
sources (from xen-unstable tar), on a Mandrake 10.1 linux
system,
aborts with
the following message:
running
build_ext Traceback (most recent call
last): File "setup.py", line 47, in
? ext_modules = [ xc, xu
] File "/usr/lib/python2.3/distutils/core.py", line 149,
in setup
dist.run_commands() File
"/usr/lib/python2.3/distutils/dist.py", line 907, in
run_commands
self.run_command(cmd) File
"/usr/lib/python2.3/distutils/dist.py", line 927, in
run_command
cmd_obj.run() File
"/usr/lib/python2.3/distutils/command/build.py", line 107, in
run
self.run_command(cmd_name) File
"/usr/lib/python2.3/distutils/cmd.py", line 333, in
run_command
self.distribution.run_command(command) File
"/usr/lib/python2.3/distutils/dist.py", line 927, in
run_command
cmd_obj.run() File
"/usr/lib/python2.3/distutils/command/build_ext.py", line 244, in
run
customize_compiler(self.compiler) File
"/usr/lib/python2.3/distutils/sysconfig.py", line 149, in
customize_compiler (cc, cxx, opt, basecflags,
ccshared, ldshared, so_ext) = \ File
"/usr/lib/python2.3/distutils/sysconfig.py", line 472, in
get_config_vars func()
File "/usr/lib/python2.3/distutils/sysconfig.py", line 349, in
_init_posix filename =
get_makefile_filename() File
"/usr/lib/python2.3/distutils/sysconfig.py", line 202, in
get_makefile_filename lib_dir =
get_python_lib(plat_specific=1, standard_lib=1) File
"/usr/lib/python2.3/distutils/sysconfig.py", line 103, in
get_python_lib sys.lib, "python" +
get_python_version()) AttributeError: 'module' object has no
attribute 'lib'
Anyone has a idea of
how to resolve the problem ?
|