Philippe Berthault
2005-Jan-04 11:42 UTC
[Xen-devel] Xen compilation aborts on Mandrake Linux
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 ?
Jan Kundrát
2005-Jan-04 21:05 UTC
Re: [Xen-devel] Xen compilation aborts on Mandrake Linux
Philippe Berthault wrote:> Compilation of Xen sources (from xen-unstable tar), on a Mandrake 10.1 linux > system, aborts with the following message:...> Anyone has a idea of how to resolve the problem ? >Are you using "frsh enough" version of python (ie. mentioned on xen''s homepage)? -jkt -- cd /local/pub && more beer > /dev/mouth ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Philippe Berthault wrote: > > Compilation of Xen sources (from xen-unstable tar), on a > Mandrake 10.1 > > linux system, aborts with the following message: > ... > > Anyone has a idea of how to resolve the problem ? > > > Are you using "frsh enough" version of python (ie. mentioned > on xen''s homepage)?Python 2.3 should certainly work OK. It looks rather like Mandrake''s python devel package might be botched. It might be worth checking whether there''s bug fix rpms available... Alternatively, just install your own version of python from source from python.org. It''s easy to build and install. Ian ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel