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

Re: [Xen-API] build issue with xapi


  • To: Anil Madhavapeddy <anil@xxxxxxxxxx>
  • From: Anirban Chakraborty <abchak@xxxxxxxxxxx>
  • Date: Mon, 3 Mar 2014 22:44:53 +0000
  • Accept-language: en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 03 Mar 2014 22:45:25 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHPNqO/DQJ26lju90S7esAZ24U2dJrPX1iAgACXxAA=
  • Thread-topic: [Xen-API] build issue with xapi

On Mar 3, 2014, at 5:41 AM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:

> As a workaround, you could try:
> 
> $ opam switch 4.00.1 # or 4.01.0
> $ opam install xapi
> 
> This topfind problem tends to only happen with the system compiler.

Thanks a lot. switching to 4.00.1 solved the topfind issue. However, now I see 
a different issue (given below):
—
- build ocaml/xenops domain.o                                                   
                
+ ocamlfind ocamlopt -syntax camlp4o -package 
oclock,xml-light2,sexpr,stunnel,http-svr,netdev,rpclib,threads,xenctrl,xenstore-compat,xenctrlext,stdext,cdrom,netdev,oUnit,uuid,xcp-inventory,xcp,xcp.xen,rpclib.syntax
 -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -thread -ccopt -fPIC -I 
../xapi -I ../util -I .. -c domain.ml
File "domain.ml", line 307, characters 6-38:
Error: Unbound module Xenctrl.Domain_info
—
My xapi code is at following change set:

commit 0320fb13cc176d0864865851672131acaad7be86
Author: David Scott <dave.scott@xxxxxxxxxxxxx>
Date:   Wed Oct 30 13:58:04 2013 +0000

    import_raw_vdi: look for vhd-tool in %{_bindir}

and xenstore is at:

commit 03df4be36f6cb2236f813dad7b13db8b060060e8
Author: David Scott <dave.scott@xxxxxxxxxxxxx>
Date:   Wed Sep 11 11:15:14 2013 +0100

    Regenerate OASIS
——

xenstore build and install went fine. ocamlfind list shows following:

xenstore            (version: 1.2.4)
xenstore-compat     (version: 0.9.3)
xenstore.client     (version: 1.2.4)
xenstore.server     (version: 1.2.4)
xenstore.unix       (version: 1.2.4)
xenstore_transport  (version: 0.9.2)
xenstore_transport.lwt (version: 0.9.2)
xenstore_transport.unix (version: 0.9.2)

Am I missing something in  building xapi? My build OS is 
2.6.32.43-0.4.1.xs1.8.0.847.170785xen.

Any pointer will be highly appreciated. Thanks much.

Anirban

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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