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

Re: [Xen-API] XCP xen-api build error



On 21/07/11 19:44, Matthias Blankenhaus wrote:
Mike,

thank you for the info.  In the meantime I had to revert back to xend, 'cause I simply
was unable to build xapi from github.  I am going to the Xen Summit in the beginning of August here in Santa Clara and I hope that I will be able to acquire enough information from attendees to build xapi. In addition, I will keep experimenting with the build process. I will post my findings on this list, once I've been able to build xapi.

I will be at XenSummit to give a talk titled "The Future of XCP". Definitely come find me and we can talk about building xapi, etc. Also, in the meantime, you may want to read this wiki page: http://wiki.xen.org/xenwiki/XAPI_on_debian
In the meantime, it would be really nice if someone who has already build xapi, maybe you ?, could post the spec for the build env on the Xen Wiki or xapi Wiki.  Interesting to know are: distro, OS version, OCaml & OCaml lib versions, versions of required system libs, in general where to get all the modules from.

Currently the easiest way to build xapi is to use the xapi autobuilder scripts at https://github.com/jonludlam/xapi-autobuilder . These require a Debian Sid environment, so you may want to create a VM for this.

The build requirements are tricky to nail down because for the longest time we have only built XCP inside of a very customized CentOS 5.5 i386 environment (or the same environment as a chroot on our dev machines). When we get a little further with Project Kronos (xapi on Debian) we should be able to completely specify build requirements for the whole list of packages. Certainly the deb files will have a list of build dependencies.

As for our CentOS build environment, here are some relevant versions:

bash-3.2# uname -a
Linux 2.6.32-32-generic-pae #62-Ubuntu SMP Wed Apr 20 22:10:33 UTC 2011 i686 i686 i386 GNU/Linux

bash-3.2# gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-3.2# python -V
Python 2.4.3

bash-3.2# omake --version
OMake 0.9.8.6 (release candidate 1):
        build [Thu Jul 14 16:09:20 2011]
        on hostname

bash-3.2# ocamlopt -version
3.12.0

bash-3.2# ocamlfind list
bigarray            (version: [distributed with Ocaml])
camldm              (version: )
camlp4              (version: [distributed with Ocaml])
camlp4.exceptiontracer (version: [distributed with Ocaml])
camlp4.extend       (version: [distributed with Ocaml])
camlp4.foldgenerator (version: [distributed with Ocaml])
camlp4.gramlib      (version: [distributed with Ocaml])
camlp4.lib          (version: [distributed with Ocaml])
camlp4.listcomprehension (version: [distributed with Ocaml])
camlp4.locationstripper (version: [distributed with Ocaml])
camlp4.macro        (version: [distributed with Ocaml])
camlp4.mapgenerator (version: [distributed with Ocaml])
camlp4.metagenerator (version: [distributed with Ocaml])
camlp4.profiler     (version: [distributed with Ocaml])
camlp4.quotations   (version: [distributed with Ocaml])
camlp4.quotations.o (version: [distributed with Ocaml])
camlp4.quotations.r (version: [distributed with Ocaml])
camlp4.tracer       (version: [distributed with Ocaml])
cdrom               (version: )
close-and-exec      (version: )
cpuid               (version: )
dbm                 (version: [distributed with Ocaml])
dynlink             (version: [distributed with Ocaml])
eventchn            (version: 4.1)
findlib             (version: 1.2.6)
getopt              (version: 20040420)
graphics            (version: [distributed with Ocaml])
http-svr            (version: )
log                 (version: )
lvm                 (version: )
mmap                (version: 4.1)
netdev              (version: )
num                 (version: [distributed with Ocaml])
num-top             (version: 1.2.6)
num.core            (version: [internal])
ocamlbuild          (version: [distributed with Ocaml])
pciutil             (version: )
rpc-light           (version: 0.2)
rpc-light.core      (version: 0.1)
rpc-light.idl       (version: 0.1)
rpc-light.json      (version: 0.1)
rpc-light.syntax    (version: 0.1)
rpc-light.xml       (version: 0.1)
rss                 (version: )
sexpr               (version: )
stdext              (version: )
stdlib              (version: [distributed with Ocaml])
str                 (version: [distributed with Ocaml])
stunnel             (version: )
tapctl              (version: )
threads             (version: [distributed with Ocaml])
threads.posix       (version: [internal])
threads.vm          (version: [internal])
type-conv           (version: 2.0.1)
type-conv.syntax    (version: 2.0.1)
udev                (version: )
unix                (version: [distributed with Ocaml])
uuid                (version: )
vhd                 (version: 1)
xb                  (version: 4.1)
xc                  (version: 4.1)
xen-utils           (version: )
xl                  (version: 4.1)
xml-light2          (version: )
xmlm                (version: 1.0.2)
xs                  (version: 4.1)
xsrpc               (version: )

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

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