* xen-api installation problem
@ 2009-11-16 17:34 Tony Wei
2009-11-16 18:06 ` Vincent Hanquez
0 siblings, 1 reply; 8+ messages in thread
From: Tony Wei @ 2009-11-16 17:34 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 658 bytes --]
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.
Tony Z. Wei
Senior Release Engineer
Marathon Technologies Corp.
295 Foster Street
Littleton, MA 01460
(v) 978.489.1118 (f) 978.489.1101
twei@marathontechnologies.com <mailto:utwei@marathontechnologies.com>
www.marathontechnologies.com <http://www.marathontechnologies.com/>
[-- Attachment #1.1.2: Type: text/html, Size: 5061 bytes --]
[-- Attachment #1.2: image001.jpg --]
[-- Type: image/jpeg, Size: 3098 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xen-api installation problem
2009-11-16 17:34 xen-api installation problem Tony Wei
@ 2009-11-16 18:06 ` Vincent Hanquez
2009-11-17 16:50 ` Tony Wei
0 siblings, 1 reply; 8+ messages in thread
From: Vincent Hanquez @ 2009-11-16 18:06 UTC (permalink / raw)
To: Tony Wei; +Cc: xen-devel@lists.xensource.com, Dave Scott
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: xen-api installation problem
2009-11-16 18:06 ` Vincent Hanquez
@ 2009-11-17 16:50 ` Tony Wei
2009-11-17 23:20 ` [XCP] " Dave Scott
0 siblings, 1 reply; 8+ messages in thread
From: Tony Wei @ 2009-11-17 16:50 UTC (permalink / raw)
To: Vincent Hanquez; +Cc: xen-devel, Dave Scott, Roger Cruz
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@eu.citrix.com]
Sent: Monday, November 16, 2009 1:07 PM
To: Tony Wei
Cc: xen-devel@lists.xensource.com; 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [XCP] RE: xen-api installation problem
2009-11-17 16:50 ` Tony Wei
@ 2009-11-17 23:20 ` Dave Scott
2009-11-17 23:27 ` Tony Wei
0 siblings, 1 reply; 8+ messages in thread
From: Dave Scott @ 2009-11-17 23:20 UTC (permalink / raw)
To: 'Tony Wei', Vincent Hanquez
Cc: xen-devel@lists.xensource.com, Roger, Cruz
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@marathontechnologies.com]
Sent: 17 November 2009 16:51
To: Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Monday, November 16, 2009 1:07 PM
To: Tony Wei
Cc: xen-devel@lists.xensource.com; 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [XCP] RE: xen-api installation problem
2009-11-17 23:20 ` [XCP] " Dave Scott
@ 2009-11-17 23:27 ` Tony Wei
2009-11-17 23:36 ` Dave Scott
0 siblings, 1 reply; 8+ messages in thread
From: Tony Wei @ 2009-11-17 23:27 UTC (permalink / raw)
To: Dave Scott, Vincent Hanquez; +Cc: xen-devel, Mike Schwartz, Roger Cruz
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@eu.citrix.com]
Sent: Tuesday, November 17, 2009 6:20 PM
To: Tony Wei; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
Sent: 17 November 2009 16:51
To: Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Monday, November 16, 2009 1:07 PM
To: Tony Wei
Cc: xen-devel@lists.xensource.com; 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [XCP] RE: xen-api installation problem
2009-11-17 23:27 ` Tony Wei
@ 2009-11-17 23:36 ` Dave Scott
2009-11-17 23:47 ` Tony Wei
0 siblings, 1 reply; 8+ messages in thread
From: Dave Scott @ 2009-11-17 23:36 UTC (permalink / raw)
To: 'Tony Wei', Vincent Hanquez
Cc: xen-devel@lists.xensource.com, Roger, Mike Schwartz, Cruz
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@marathontechnologies.com]
Sent: 17 November 2009 23:27
To: Dave Scott; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Tuesday, November 17, 2009 6:20 PM
To: Tony Wei; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
Sent: 17 November 2009 16:51
To: Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Monday, November 16, 2009 1:07 PM
To: Tony Wei
Cc: xen-devel@lists.xensource.com; 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [XCP] RE: xen-api installation problem
2009-11-17 23:36 ` Dave Scott
@ 2009-11-17 23:47 ` Tony Wei
2009-11-18 2:41 ` Anil Madhavapeddy
0 siblings, 1 reply; 8+ messages in thread
From: Tony Wei @ 2009-11-17 23:47 UTC (permalink / raw)
To: Dave Scott, Vincent Hanquez; +Cc: xen-devel, Mike Schwartz, Roger Cruz
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@eu.citrix.com]
Sent: Tuesday, November 17, 2009 6:36 PM
To: Tony Wei; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
Sent: 17 November 2009 23:27
To: Dave Scott; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Tuesday, November 17, 2009 6:20 PM
To: Tony Wei; Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
Sent: 17 November 2009 16:51
To: Vincent Hanquez
Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
Sent: Monday, November 16, 2009 1:07 PM
To: Tony Wei
Cc: xen-devel@lists.xensource.com; 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [XCP] RE: xen-api installation problem
2009-11-17 23:47 ` Tony Wei
@ 2009-11-18 2:41 ` Anil Madhavapeddy
0 siblings, 0 replies; 8+ messages in thread
From: Anil Madhavapeddy @ 2009-11-18 2:41 UTC (permalink / raw)
To: Tony Wei; +Cc: xen-devel
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@eu.citrix.com]
> Sent: Tuesday, November 17, 2009 6:36 PM
> To: Tony Wei; Vincent Hanquez
> Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
> Sent: 17 November 2009 23:27
> To: Dave Scott; Vincent Hanquez
> Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
> Sent: Tuesday, November 17, 2009 6:20 PM
> To: Tony Wei; Vincent Hanquez
> Cc: xen-devel@lists.xensource.com; 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@marathontechnologies.com]
> Sent: 17 November 2009 16:51
> To: Vincent Hanquez
> Cc: xen-devel@lists.xensource.com; 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@eu.citrix.com]
> Sent: Monday, November 16, 2009 1:07 PM
> To: Tony Wei
> Cc: xen-devel@lists.xensource.com; 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-11-18 2:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16 17:34 xen-api installation problem Tony Wei
2009-11-16 18:06 ` Vincent Hanquez
2009-11-17 16:50 ` Tony Wei
2009-11-17 23:20 ` [XCP] " Dave Scott
2009-11-17 23:27 ` Tony Wei
2009-11-17 23:36 ` Dave Scott
2009-11-17 23:47 ` Tony Wei
2009-11-18 2:41 ` Anil Madhavapeddy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.