[xen-tools-discuss] make install doesn't make

Roland Giesler roland at thegreentree.za.net
Wed Sep 8 23:52:37 CEST 2010


2010/9/8 Axel Beckert <abe at deuxchevaux.org>:
> Hi Roland,
>
> On Wed, Sep 08, 2010 at 07:49:49PM +0200, Roland Giesler wrote:
>> 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! :-)
>
> A PPA for Lucid is still on my todo list. Will probably happen after
> the 4.2 release which will be soon.

:-) That would be great!

>
>> 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
>
> All those perl libraries are available in Ubuntu, too. Just do:
>
> $ sudo apt-get install libtext-template-perl libconfig-inifiles-perl

I wasn't sure that this would be the same, but thanks for pointing it out.

>
>> roland at vm1:~/Xen/xen-tools$ sudo make install
>> for i in hooks/*/*-*; do chmod 755 $i; done
<snip>
>
> Looks fine until here.
>
>> 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 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)
>
> Each of these errors looks to me as if "make install" is run a third
> or at least a second time.

Yes, since it seemed it didn't give me proper install, I attempted it again.

>
> It's ok to ignore these errors. But it is a bug that it isn't checked
> if something.d already links to a directory and subsequent calls to
> "ln -s something.d somethingelse.d" do make symbolic links into
> somethingelse.d if it already exists.
>
> We will fix that. Thanks for the report!
>

Thanks for the work getting xen-tools for Debian/Ubuntu back ...

Roland


More information about the xen-tools-discuss mailing list