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

Re: [XCP] RE: [Xen-devel] xen-api installation problem



That error is due to bad dependencies in the omake build process, and was 
ignored deliberately by the wrapper Makefile in xen-dist-ocaml.hg.

Did it actually cause you any problems?

-anil

On 17 Nov 2009, at 15:47, Tony Wei wrote:

> Hi I made a fresh VM and run the new script and got a better result
> though some errors exist as follows:
> 
> File "omake_gen_magic.ml", line 83, characters 14-33:
> Error: Unbound value Lm_string_util.trim
> make[5]: *** [omake_gen_magic.cmo] Error 2
> make[5]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot'
> make[4]: *** [boot] Error 2
> make[4]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9'
> make[3]: [/root/repo/xen-dist-ocaml.hg/obj/omake/.configured] Error 2
> (ignored)
> 
> Tony
> 
> -----Original Message-----
> From: Dave Scott [mailto:Dave.Scott@xxxxxxxxxxxxx] 
> Sent: Tuesday, November 17, 2009 6:36 PM
> To: Tony Wei; Vincent Hanquez
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Roger Cruz; Mike Schwartz
> Subject: RE: [XCP] RE: [Xen-devel] xen-api installation problem
> 
> Hi,
> 
> You're still missing 'aclocal' which I think is part of the 'automake'
> package -- try installing that as well as 'autoconf'.
> 
> The updated build script
> (http://xenbits.xen.org/xapi/build-xapi-toolstack.sh) should do this for
> you. If you're still having trouble, try a re-clone of the VM plus a
> fresh copy of the build script.
> 
> I think the other errors are harmless.
> 
> Cheers,
> Dave
> 
> -----Original Message-----
> From: Tony Wei [mailto:twei@xxxxxxxxxxxxxxxxxxxxxxxx] 
> Sent: 17 November 2009 23:27
> To: Dave Scott; Vincent Hanquez
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Roger Cruz; Mike Schwartz
> Subject: RE: [XCP] RE: [Xen-devel] xen-api installation problem
> 
> Hi, I gto autoconf package by following the way you showed below, and
> run the script again. Unfortunately, I got the following new errors when
> it starts to run autoreconf:
> 
> Building xapi-specific libraries
> Can't exec "aclocal": No such file or directory at /usr/bin/autoreconf
> line 174.
> Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf
> line 174.
> Can't exec "aclocal": No such file or directory at
> /usr/share/autoconf/Autom4te/FileUtils.pm line 288.
> autoreconf: failed to run aclocal: No such file or directory
> 
> By the way, the previous errors still exist:
> 
> make[5]: Entering directory
> `/root/repo/xen-dist-ocaml.hg/obj/findlib/findlib-1.1.2pl1/src/findlib'
> Makefile:129: depend: No such file or directory
> 
> ......
> 
> File "omake_gen_magic.ml", line 83, characters 14-33:
> Error: Unbound value Lm_string_util.trim
> make[5]: *** [omake_gen_magic.cmo] Error 2
> make[5]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot'
> make[4]: *** [boot] Error 2
> make[4]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9'
> make[3]: [/root/repo/xen-dist-ocaml.hg/obj/omake/.configured] Error 2
> (ignored)
> rm -f
> /root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot/Makefile.dep
> make -C /root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot
> Makefile.dep
> make[4]: Entering directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot'
> Makefile:909: Makefile.dep: No such file or directory
> 
> 
> 
> -----Original Message-----
> From: Dave Scott [mailto:Dave.Scott@xxxxxxxxxxxxx] 
> Sent: Tuesday, November 17, 2009 6:20 PM
> To: Tony Wei; Vincent Hanquez
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Roger Cruz
> Subject: [XCP] RE: [Xen-devel] xen-api installation problem
> 
> Hi Tony,
> 
> (added '[XCP]' to subject)
> 
> It turns out there are two problems:
> 1. the missing 'sh autogen.sh; configure' that Vincent pointed out
> (thanks!)
> 2. the fact that the autoconf and automake packages are missing in the
> current build VM
> 
> I've added fixes/workarounds for both of these into the build script
> http://xenbits.xen.org/xapi/build-xapi-toolstack.sh
> 
> Could you re-clone a fresh build VM and try again?
> 
> Clearly we need to do a bit of work on our 'build system' :-)
> 
> Cheers,
> Dave
> 
> -----Original Message-----
> From: Tony Wei [mailto:twei@xxxxxxxxxxxxxxxxxxxxxxxx] 
> Sent: 17 November 2009 16:51
> To: Vincent Hanquez
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Dave Scott; Roger Cruz
> Subject: RE: [Xen-devel] xen-api installation problem
> 
> Hi Vincent,
> 
> I modified the script as you suggested and ran it in a brand-new
> buildvm. It still failed and I got the following error messages (plus
> the previous errors):
> 
> ========================================================================
> ===================
> 
> make[5]: Entering directory
> `/root/repo/xen-dist-ocaml.hg/obj/findlib/findlib-1.1.2pl1/src/findlib'
> Makefile:129: depend: No such file or directory
> 
> ......
> 
> File "omake_gen_magic.ml", line 83, characters 14-33:
> Error: Unbound value Lm_string_util.trim
> make[5]: *** [omake_gen_magic.cmo] Error 2
> make[5]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot'
> make[4]: *** [boot] Error 2
> make[4]: Leaving directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9'
> make[3]: [/root/repo/xen-dist-ocaml.hg/obj/omake/.configured] Error 2
> (ignored)
> rm -f
> /root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot/Makefile.dep
> make -C /root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot
> Makefile.dep
> make[4]: Entering directory
> `/root/repo/xen-dist-ocaml.hg/obj/omake/omake-0.9.6.9/boot'
> Makefile:909: Makefile.dep: No such file or directory
> 
> .......
> 
> Building xapi-specific libraries
> autogen.sh: line 2: autoreconf: command not found
> 
> ========================================================================
> ===================
> 
> By the way, instead of installing a host with a pre-built xapi
> toolstack, I used an XenServer 5.0.0 to host buildvm, is it OK?
> 
> Your early assistance is highly appreciated!
> 
> Tony
> 
> 
> -----Original Message-----
> From: Vincent Hanquez [mailto:vincent.hanquez@xxxxxxxxxxxxx] 
> Sent: Monday, November 16, 2009 1:07 PM
> To: Tony Wei
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Dave Scott
> Subject: Re: [Xen-devel] xen-api installation problem
> 
> Tony Wei wrote:
>> 
>> Hi, I built xapi build appliance VM by following the instruction as:
>> 
>> 
>> 
>> http://xenbits.xen.org/xapi/install.html
>> 
>> 
>> 
>> Everything looks OK until I run:
>> 
>> 
>> 
>> # ./build-xapi-toolstack.sh
>> 
>> 
>> 
>> It stops at:
>> 
>> 
>> 
>> ...
>> 
>> Building xapi-specific libraries
>> 
>> Make: *** No rule to make target 'clean'. Stop.
>> 
>> 
>> 
>> Please advise. Thanks.
>> 
> Not sure that will fix it but you can try adding just before the 
> ./rebuild step line 28 in the build-xapi-toolstack.sh script:
> 
> sh autogen.sh
> ./configure
> 
> the script should look like:
> 
> ...
> echo "Building xapi-specific libraries"
> cd $REPO/xen-api-libs.hg
> sh autogen.sh
> ./configure
> ./rebuild
> echo "Building xapi toolstack"
> ...
> 
> -- 
> Vincent Hanquez
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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