[xen-tools-discuss] make install doesn't make
Roland Giesler
roland at thegreentree.za.net
Wed Sep 8 19:49:49 CEST 2010
Hi everyone,
I'm pretty new to Xen, but not knew to virtualisation. Since I'm by
far the most proficient in Ubuntu / Debian, I'm installing ConVirt 2.0
on a 64bit Ubuntu Lucid (10.04) desktop box, but of course need to
have Xen installed as well if I want to be able to create domU's on
that box. The idea is that I build a complete virtual machine here
before deploying it to some server in production.
I read about the reasons why Ubuntu 10.04 doesn't have xen-tools
formally supported, but since this is the wonderful world of OSS, I'm
installing xen-tools from source, which is why I'm here! :-)
Now, I have checked out a copy of xen-tools as follows
git clone git://gitorious.org/xen-tools/xen-tools.git
cd xen-tools
sudo make install
Here are the steps and results
Make sure I have all the dependencies installed...
roland at vm1:~/Xen/xen-tools$ sudo apt-get install debootstrap
Reading package lists... Done
Building dependency tree
Reading state information... Done
debootstrap is already the newest version.
roland at vm1:~/Xen/xen-tools$ sudo apt-get install perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version.
roland at vm1:~/Xen/xen-tools$ sudo perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> install Text::Template
CPAN: Storable loaded ok (v2.20)
Going to read '/home/roland/.cpan/Metadata'
Database was generated on Wed, 08 Sep 2010 09:29:19 GMT
Text::Template is up to date (1.45).
cpan[2]> install Config::IniFiles
Config::IniFiles is up to date (2.58).
cpan[3]> exit
No history written (no histfile specified).
Lockfile removed.
roland at vm1:~/Xen/xen-tools$ sudo apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
Now make install...
roland at vm1:~/Xen/xen-tools$ sudo make install
for i in hooks/*/*-*; do chmod 755 $i; done
chmod 755 hooks/common.sh
chmod 644 etc/xen-tools.conf
chmod 644 etc/xm.tmpl
chmod 644 etc/xm-nfs.tmpl
chmod 644 misc/xen-tools misc/README
mkdir -p /usr/bin
cp bin/xen-create-image /usr/bin
cp bin/xen-create-nfs /usr/bin
cp bin/xt-customize-image /usr/bin
cp bin/xt-install-image /usr/bin
cp bin/xt-create-xen-config /usr/bin
cp bin/xen-delete-image /usr/bin
cp bin/xen-list-images /usr/bin
cp bin/xen-update-image /usr/bin
cp bin/xt-guess-suite-and-mirror /usr/bin
chmod 755 /usr/bin/xen-create-image
chmod 755 /usr/bin/xen-create-nfs
chmod 755 /usr/bin/xt-customize-image
chmod 755 /usr/bin/xt-install-image
chmod 755 /usr/bin/xt-create-xen-config
chmod 755 /usr/bin/xen-delete-image
chmod 755 /usr/bin/xen-list-images
chmod 755 /usr/bin/xen-update-image
chmod 755 /usr/bin/xt-guess-suite-and-mirror
mkdir -p /etc/xen-tools
if [ -d /etc/xen-tools/hook.d ]; then mv /etc/xen-tools/hook.d/
/etc/xen-tools/hook.d.obsolete ; fi
mkdir -p /etc/xen-tools/skel/
mkdir -p /etc/xen-tools/role.d/
mkdir -p /etc/xen-tools/partitions.d/
cp etc/xen-tools.conf /etc/xen-tools/
cp etc/xm.tmpl /etc/xen-tools/
cp etc/xm-nfs.tmpl /etc/xen-tools/
cp partitions/*-* /etc/xen-tools/partitions.d/
mkdir -p /etc/bash_completion.d
cp misc/xen-tools /etc/bash_completion.d/
for i in roles/* ; do if [ -f $i ]; then cp $i /etc/xen-tools/role.d; fi ; done
mkdir -p /usr/lib/xen-tools/centos-4.d/
mkdir -p /usr/lib/xen-tools/centos-5.d/
mkdir -p /usr/lib/xen-tools/fedora-core-6.d/
cp -R hooks/centos-4/*-* /usr/lib/xen-tools/centos-4.d
cp -R hooks/centos-5/*-* /usr/lib/xen-tools/centos-5.d
cp -R hooks/fedora-core-6/*-* /usr/lib/xen-tools/fedora-core-6.d
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d
ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d
ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d
ln: creating symbolic link `fedora-core-7.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d
ln: creating symbolic link `fedora-core-8.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d
ln: creating symbolic link `fedora-core-9.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d
ln: creating symbolic link `fedora-core-10.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d
ln: creating symbolic link `fedora-core-11.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d
ln: creating symbolic link `fedora-core-12.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d
ln: creating symbolic link `fedora-core-13.d/fedora-core-6.d': File exists
make: [install-hooks] Error 1 (ignored)
mkdir -p /usr/lib/xen-tools/debian.d/
cp -R hooks/debian/*-* /usr/lib/xen-tools/debian.d
cd /usr/lib/xen-tools/ && ln -s debian.d sarge.d
ln: creating symbolic link `sarge.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d etch.d
ln: creating symbolic link `etch.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d lenny.d
ln: creating symbolic link `lenny.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d squeeze.d
ln: creating symbolic link `squeeze.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d sid.d
ln: creating symbolic link `sid.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d testing.d
ln: creating symbolic link `testing.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s debian.d stable.d
ln: creating symbolic link `stable.d/debian.d': File exists
make: [install-hooks] Error 1 (ignored)
mkdir -p /usr/lib/xen-tools/gentoo.d/
cp -R hooks/gentoo/*-* /usr/lib/xen-tools/gentoo.d
mkdir -p /usr/lib/xen-tools/dapper.d/
cp -R hooks/dapper/*-* /usr/lib/xen-tools/dapper.d/
mkdir -p /usr/lib/xen-tools/edgy.d/
cp -R hooks/edgy/*-* /usr/lib/xen-tools/edgy.d/
cd /usr/lib/xen-tools/ && ln -s edgy.d feisty.d
ln: creating symbolic link `feisty.d/edgy.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s edgy.d gutsy.d
ln: creating symbolic link `gutsy.d/edgy.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s edgy.d hardy.d
ln: creating symbolic link `hardy.d/edgy.d': File exists
make: [install-hooks] Error 1 (ignored)
mkdir -p /usr/lib/xen-tools/intrepid.d/
cp -R hooks/intrepid/*-* /usr/lib/xen-tools/intrepid.d/
cd /usr/lib/xen-tools/ && ln -s intrepid.d jaunty.d
ln: creating symbolic link `jaunty.d/intrepid.d': File exists
make: [install-hooks] Error 1 (ignored)
mkdir -p /usr/lib/xen-tools/karmic.d/
cp -R hooks/karmic/*-* /usr/lib/xen-tools/karmic.d/
cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d
ln: creating symbolic link `lucid.d/karmic.d': File exists
make: [install-hooks] Error 1 (ignored)
cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d
ln: creating symbolic link `maverick.d/karmic.d': File exists
make: [install-hooks] Error 1 (ignored)
cp hooks/common.sh /usr/lib/xen-tools
mkdir -p /usr/share/perl5/Xen/Tools
cp ./lib/Xen/*.pm /usr/share/perl5/Xen
cp ./lib/Xen/Tools/*.pm /usr/share/perl5/Xen/Tools
mkdir -p man
cd bin; for i in *-*[!y]; do pod2man --release=4.2rc2 --official
--section=8 $i ../man/$i.8; done
for i in man/*.8; do gzip --force -9 $i; done
mkdir -p /usr/share/man/man8/
cp man/*.8.gz /usr/share/man/man8/
I see lots of Error 1 message above and if I try to install
ubuntu-xen-server it still had the dependency on xen-tools
unsatisfied.
Can someone point out what's wrong or what I should do to determine
what's causing this please?
regards
Roland Giesler
Green Tree Systems Trust
Stellenbosch, South Africa
More information about the xen-tools-discuss
mailing list