WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Vincent Hanquez" <vincent.hanquez@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xen-api installation problem
From: "Tony Wei" <twei@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Nov 2009 11:50:41 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, Roger Cruz <rcruz@xxxxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 17 Nov 2009 08:51:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B0194BB.5040506@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <40B551BEDC7945419A5897958AB3947C01B1B386@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B0194BB.5040506@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpm5qHjIceltrbFQHCW2NyPJsygMQAvaI+w
Thread-topic: [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