Hi All,
I am trying to build xapi via opam install xapi, and getting following error:
---=-=-= Installing xapi.1.0.0 =-=-=
Building xapi.1.0.0:
./configure --varpatchdir /contrail/opam/system/var/patch --optdir /contrail/opam/system/lib/xcp --plugindir /contrail/opam/system/lib/xcp/plugins --hooksdir /contrail/opam/system/etc/hook-scripts --xapiconf /contrail/opam/system/etc/xapi.conf --libexecdir /contrail/opam/system/lib/xcp/bin --scriptsdir /contrail/opam/system/lib/xcp/scripts --sharedir /contrail/opam/system/share/xcp --webdir /contrail/opam/system/share/xcp/web --xhadir /contrail/opam/system/bin/xha --bindir /contrail/opam/system/bin --sbindir /contrail/opam/system/bin --etcdir /contrail/opam/system/etc --vardir /var/lib/xcp
make version
omake phase1
omake phase2
omake ocaml/xapi/xapi
install -m 0755 ocaml/xapi/xapi.opt /contrail/opam/system/bin/xapi
[ERROR] The compilation of xapi.1.0.0 failed.
Removing xapi.1.0.0.
rm /contrail/opam/system/bin/xapi
[ERROR] Failure while processing xapi.1.0.0
===== ERROR while installing xapi.1.0.0 =====
# opam-version 1.1.1 (d2d459e390e869bf20f1889a5d2cf7933f2851ae)
# os linux
# command ./configure --varpatchdir /contrail/opam/system/var/patch --optdir /contrail/opam/system/lib/xcp --plugindir /contrail/opam/system/lib/xcp/plugins --hooksdir /contrail/opam/system/etc/hook-scripts --xapiconf /contrail/opam/system/etc/xapi.conf --libexecdir /contrail/opam/system/lib/xcp/bin --scriptsdir /contrail/opam/system/lib/xcp/scripts --sharedir /contrail/opam/system/share/xcp --webdir /contrail/opam/system/share/xcp/web --xhadir /contrail/opam/system/bin/xha --bindir /contrail/opam/system/bin --sbindir /contrail/opam/system/bin --etcdir /contrail/opam/system/etc --vardir /var/lib/xcp
# path /contrail/opam/system/build/xapi.1.0.0
# compiler system (4.01.0)
# exit-code 2
# env-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.env
# stdout-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.out
# stderr-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.err
### stdout ###
# Cannot find file topfind.
### stderr ###
# Unknown directive `require'.
——
The configure script is not able to find topfind, as it looks from the messages. However, I do have following set:
OCAML_TOPLEVEL_PATH=/contrail/opam/system/lib/toplevel
As a check, when I run utop and then in the cmd prompt issue, use “topfind”, it doesn’t complain. So, as it appears that the configure script doesn’t find “topfind" whereas utop can find it. Does it mean that findlib could not be resolved properly?
I am pretty new to OCaml. Can some one shed some light on it?
My xapi code is at following change set:
commit ffd3561cb05e828ffa8646fb9cc91e3c3e721b2f
Merge: 1b6ff5f 8fa2e83
Author: Dave Scott <djs55@users.noreply.github.com>
Date: Mon Nov 25 03:27:02 2013 -0800
Merge pull request #6 from jonludlam/fusion-vbdfix
Relax the rules about ISO vbds coming from ISO SRs
———
and ocaml version is:
[root@localhost xapi.1.0.0]# ocaml
OCaml version 4.01.0
Findlib has been successfully loaded. Additional directives:
#require "package";; to load a package
#list;; to list the available packages
#camlp4o;; to load camlp4 (standard syntax)
#camlp4r;; to load camlp4 (revised syntax)
#predicates "p,q,...";; to set these predicates
Topfind.reset();; to force that packages will be reloaded
#thread;; to enable threads
-----
thanks much,
Anirban
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
I am trying to build xapi via opam install xapi, and getting following error:
---=-=-= Installing xapi.1.0.0 =-=-=
Building xapi.1.0.0:
./configure --varpatchdir /contrail/opam/system/var/patch --optdir /contrail/opam/system/lib/xcp --plugindir /contrail/opam/system/lib/xcp/plugins --hooksdir /contrail/opam/system/etc/hook-scripts --xapiconf /contrail/opam/system/etc/xapi.conf --libexecdir /contrail/opam/system/lib/xcp/bin --scriptsdir /contrail/opam/system/lib/xcp/scripts --sharedir /contrail/opam/system/share/xcp --webdir /contrail/opam/system/share/xcp/web --xhadir /contrail/opam/system/bin/xha --bindir /contrail/opam/system/bin --sbindir /contrail/opam/system/bin --etcdir /contrail/opam/system/etc --vardir /var/lib/xcp
make version
omake phase1
omake phase2
omake ocaml/xapi/xapi
install -m 0755 ocaml/xapi/xapi.opt /contrail/opam/system/bin/xapi
[ERROR] The compilation of xapi.1.0.0 failed.
Removing xapi.1.0.0.
rm /contrail/opam/system/bin/xapi
[ERROR] Failure while processing xapi.1.0.0
===== ERROR while installing xapi.1.0.0 =====
# opam-version 1.1.1 (d2d459e390e869bf20f1889a5d2cf7933f2851ae)
# os linux
# command ./configure --varpatchdir /contrail/opam/system/var/patch --optdir /contrail/opam/system/lib/xcp --plugindir /contrail/opam/system/lib/xcp/plugins --hooksdir /contrail/opam/system/etc/hook-scripts --xapiconf /contrail/opam/system/etc/xapi.conf --libexecdir /contrail/opam/system/lib/xcp/bin --scriptsdir /contrail/opam/system/lib/xcp/scripts --sharedir /contrail/opam/system/share/xcp --webdir /contrail/opam/system/share/xcp/web --xhadir /contrail/opam/system/bin/xha --bindir /contrail/opam/system/bin --sbindir /contrail/opam/system/bin --etcdir /contrail/opam/system/etc --vardir /var/lib/xcp
# path /contrail/opam/system/build/xapi.1.0.0
# compiler system (4.01.0)
# exit-code 2
# env-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.env
# stdout-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.out
# stderr-file /contrail/opam/system/build/xapi.1.0.0/xapi-22122-7afd23.err
### stdout ###
# Cannot find file topfind.
### stderr ###
# Unknown directive `require'.
——
The configure script is not able to find topfind, as it looks from the messages. However, I do have following set:
OCAML_TOPLEVEL_PATH=/contrail/opam/system/lib/toplevel
As a check, when I run utop and then in the cmd prompt issue, use “topfind”, it doesn’t complain. So, as it appears that the configure script doesn’t find “topfind" whereas utop can find it. Does it mean that findlib could not be resolved properly?
I am pretty new to OCaml. Can some one shed some light on it?
My xapi code is at following change set:
commit ffd3561cb05e828ffa8646fb9cc91e3c3e721b2f
Merge: 1b6ff5f 8fa2e83
Author: Dave Scott <djs55@users.noreply.github.com>
Date: Mon Nov 25 03:27:02 2013 -0800
Merge pull request #6 from jonludlam/fusion-vbdfix
Relax the rules about ISO vbds coming from ISO SRs
———
and ocaml version is:
[root@localhost xapi.1.0.0]# ocaml
OCaml version 4.01.0
Findlib has been successfully loaded. Additional directives:
#require "package";; to load a package
#list;; to list the available packages
#camlp4o;; to load camlp4 (standard syntax)
#camlp4r;; to load camlp4 (revised syntax)
#predicates "p,q,...";; to set these predicates
Topfind.reset();; to force that packages will be reloaded
#thread;; to enable threads
-----
thanks much,
Anirban
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api