All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen compilation aborts on Mandrake Linux
@ 2005-01-04 11:42 Philippe Berthault
  2005-01-04 21:05 ` Jan Kundrát
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Berthault @ 2005-01-04 11:42 UTC (permalink / raw)
  To: Xen-Devel

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

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 ?

[-- Attachment #2: Type: text/html, Size: 3332 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xen compilation aborts on Mandrake Linux
  2005-01-04 11:42 Xen compilation aborts on Mandrake Linux Philippe Berthault
@ 2005-01-04 21:05 ` Jan Kundrát
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kundrát @ 2005-01-04 21:05 UTC (permalink / raw)
  To: Philippe Berthault; +Cc: 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)?

-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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Xen compilation aborts on Mandrake Linux
@ 2005-01-04 22:17 Ian Pratt
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Pratt @ 2005-01-04 22:17 UTC (permalink / raw)
  To: Jan Kundrát, Philippe Berthault; +Cc: 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-04 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 11:42 Xen compilation aborts on Mandrake Linux Philippe Berthault
2005-01-04 21:05 ` Jan Kundrát
  -- strict thread matches above, loose matches on Subject: below --
2005-01-04 22:17 Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.