Henning Sprang
2006-Jun-28 17:58 UTC
[Xen-devel] Missing Information about compile requirements in source package
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jun-28 19:21 UTC
Re: [Xen-devel] Missing Information about compile requirements in source package
On 28 Jun 2006, at 18:58, Henning Sprang wrote:> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Richard Miller
2006-Jun-29 10:51 UTC
Re: [Xen-devel] Missing Information about compile requirements in
> 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'' ... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Richard Miller
2006-Jun-29 15:42 UTC
Re: [Xen-devel] Missing Information about compile requirements in
> There''s also a dependency on python2.3-dev :Sorry, I''ve just realised that this is already documented in the README. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Henning Sprang
2006-Jun-30 15:30 UTC
Re: [Xen-devel] Missing Information about compile requirements in source package
On 6/28/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> [...] > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel