[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Issue 1518] - make install fails ...

From: Kim Lester <kim_at_dfusion.com.au>
Date: 2003-09-15 15:47:03 CEST

As it happens I have exactly the same problem today.
I came across it several months ago and now have to address it.
If memory serves the following occurs.

commands:

configure --prefix=ultimate_install_path
...
make DESTDIR=temporary_root install

What happens (at least under solaris 8) is that libtool
is being 'too smart'.
It says "ahh I see you are installing somwhere else,
  I'll relink all the .so's so that the paths are correct"

Also from memory the install script tries to install "a bunch of .so's"
in the ultimate_install_path rather than into the temporary_root.
I think libsvn_client-1.so.0 was one of these and hence the
source of the complaint when svnversion dies trying to load libsvn_client.so.

The problems do NOT occur (in the same way) when installing as root because
root permits the install script to put these libs in the ultimate_install_path

The bottom line is that the install process does not appear to obey the DESTDIR completely
and that libtool appears to cause trouble as well.

There might also be a minor issue in that part of the install process
is to run svnversion which fails as non of the libs are in the ultimate_install_path
(I expect an explicit LD_LIBRARY_PATH=...:temporary_root/ultimate_install_path might fix
this).

I note that the packages/rpm patches fiddle with DESTDIR, they may have been addressing
part of the problem.

This really is a problem for people who, for many valid reasons,
can't directly install subversion in its target location.

Some assistance on the correct way to address this would be appreciated.
I would prefer not to become a libtool or autoconf expert :-)

regards
        Kim

> -----Original Message-----
> From: Anthony Baxter [mailto:anthony@interlink.com.au]
> Sent: Monday, September 15, 2003 10:41 PM
> To: Michael Wood
> Cc: users@subversion.tigris.org
> Subject: Re: [Issue 1518] - make install fails with ld.so failure on
> libsvn_client-1.so.0
>
>
>
> >>> Michael Wood wrote
> > As I asked in my reply to your issue about the prefix thing:
> >
> > Did you try "make DESTDIR=/path/to/install/to install"?
>
> Sorry, I thought I'd responded to this - initially this didn't work, but
> I just tried it again and it seems to work. I'm not sure if this is because
> I'm using the 'experimental libtool' this time (unfortunately the box I'm
> compiling on is an Ultra5, which doesn't encourage lots of re-compiling)
> --
> Anthony Baxter <anthony@interlink.com.au>
> It's never too late to have a happy childhood.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 15 15:45:08 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.