[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] build glitches

> I hit problems building the tools for both xen-1.1 and xen-1.2-devel.
> For xen-1.1, the vmm and linux built fine, but the tools failed with something
> called 'ant'.  ant -v says 'Apache Ant version 1.5.3 compiled on April 9 2003'
>       ant -buildfile build-cmdline.xml dist
>       Buildfile: build-cmdline.xml
>       java.lang.VerifyError: verification failed at PC 612 in
> org.apache.tools.ant.taskdefs.Zip:getResourcesToAdd(([Lorg.apache.tools.ant.types.FileSet;Ljava.io.File;Z)Lorg.apache.tools.ant.taskdefs.Zip$ArchiveState;):

Hmmm.... very odd. This should work if ant is on your execution path.

> For the unstable xen, a python job failed.  I'm a perl person and am not
> familiar at all with python.  python -V says 'Python 2.3.2'.
>       /usr/bin/make -C py
>       make[3]: Entering directory
>       `/usr/research/playground/becker/xen/xeno-unstable.bk/tools/xc/py'
>       python setup.py build
>       Traceback (most recent call last):
>         File "setup.py", line 2, in ?
>           from distutils.core import setup, Extension
>       ImportError: No module named distutils.core

This also should work. 'distutils' is a standard Python package.
Indeed, I have built those tools using Python 2.3.2 with no problems
whatsoever --- that is, using a Python 2.3.2 that I built and
installed myself to a private install directory, and then added the
'bin' directory to my PATH.

> Any suggestions?

How did you install Ant and Python? Are they just standard site
installs? It looks like they might have been broken by separating the
binaries from certain accompanying libraries and modules. I'm almost
certain this must be the case for your Python install.

 -- Keir

This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.