Skip to contentSkip to conversation

Missing Information about compile requirements in source package

DISCUSSION Henning Sprang 3 participants 5 messages Jun 28, 2006 – Jun 30, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
It seems that to compile xen, one also needs the packages ncurses-dev and transfig (on Debian, no idea what's their name in other distributions).
Without transfig no docs, also no man pages seem to be build which is quite bad, without ncurses dev the buidl fails completely.

This should probably added to the list of software required to build Xen in the README file.

It would also be cool if the build process would check theses dependecies _before_ string the build.
At least for the ncurses-dev dependency, which makes the build completely fail if not fulfilled, but only after some minutes of compiling - it's not funny for users to see a build fail after some time of waiting with an error that could have been checked before.

BTW: tried to get a bugzilla account for this, but I am unpatient and got no bugzilla login after some minutes of waiting...

Henning

#1 lore raw
Quoted 6 lines · Henning Sprang

It would also be cool if the build process would check theses dependecies _before_ string the build.
At least for the ncurses-dev dependency, which makes the build completely fail if not fulfilled, but only after some minutes of compiling - it's not funny for users to see a build fail after some time of waiting with an error that could have been checked before.

I expect only xentop depends on ncurses-devel. We could detect that dependency in the build system and not build xentop.

-- Keir

#2 lore raw

Re: Missing Information about compile requirements in

Quoted 2 lines

I expect only xentop depends on ncurses-devel. We could detect that dependency in the build system and not build xentop.

There's also a dependency on python2.3-dev :

...
make[2]: Entering directory `/home/miller/xen/hg-unstable/tools/python'
CFLAGS="-O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -D__XEN_TOOLS__" python setup.py build
running build
running build_py
running build_ext
error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory) make[2]: *** [build] Error 1
make[2]: Leaving directory `/home/miller/xen/hg-unstable/tools/python'
...

#3 lore raw

Re: Missing Information about compile requirements in

Quoted 1 line

There's also a dependency on python2.3-dev :

Sorry, I've just realised that this is already documented in the README.

#4 lore raw
In reply to Keir Fraser
Quoted 3 lines · Keir Fraser

[...]
I expect only xentop depends on ncurses-devel. We could detect that dependency in the build system and not build xentop.

I tihink, as for just building without manpages, this is quite inconventient for most, especially starting users.
Such basic tools should not silently kept unbuilt, but the buid should stop. There shoud then be some build option like "--no-xentop" and "--no-docs" to build xen explicitly even if the buid dependencies for these aren't met.

Henning