[xen-tools-discuss] make install doesn't make
Axel Beckert
abe at deuxchevaux.org
Wed Sep 8 23:41:13 CEST 2010
Hi Roland,
On Wed, Sep 08, 2010 at 10:19:57PM +0200, Axel Beckert wrote:
> > 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.
>
> 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!
It's fixed in the git repository, both master and 4.2 branches:
http://gitorious.org/xen-tools/xen-tools/commit/94de43cf549f20c9590ea8ded33498f2afc0e26e
Can you "git pull" in your installation directory and try to install
over the already installed version again. (Or if you followed
Stephane's advice to clean up /usr/lib/xen-tools/, call "make install"
twice.) Now it shouldn't throw these errors anymore.
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-discuss
mailing list