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

Re: Problems building subversion 1.9.3 as required for use with GNU Stow on RHEL 5.11

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 15 Mar 2016 00:08:39 +0000

Eric Dramstad wrote on Mon, Mar 14, 2016 at 11:43:36 -0400:
> tar xvf subversion-1.9.3.tar.bz2
> pushd subversion-1.9.3
> ./configure --with-apr=/usr/local\
> --with-apr-util=/usr/local\
> --with-serf=/usr/local\
> --prefix=/usr/local
> make
> mkdir /usr/local/packages/subversion-1.9.3
> make install prefix=/usr/local/packages/subversion-1.9.3 # <-- point of failure

I don't think that's a supported syntax: we may hardcode the prefix
passed to configure (or paths derived from it) in more places than the
Make variable $(prefix).

Couldn't you just pass --prefix=/usr/local/packages/subversion-1.9.3 to
configure?

Perhaps you could make use of DESTDIR, e.g., «make install DESTDIR=/foo»
followed by using stow to link the files installed to /foo into /usr/local.

> stow -t /usr/local -d /usr/local/packages subversion-1.9.3
> popd
>
> The last time I built subversion from source, it was subversion 1.6.11
> on a different machine running RHEL 7.2. I upgraded to subversion
> 1.9.3 on that machine and managed to get past similar libtool errors
> by configuring with --disable-shared --enable-all-static in addition

Try --disable-shared --enable-static without --enable-all-static.

> to the flags mentioned above. That approach did not work on the RHEL
> 5.11 machine.

Cheers,

Daniel
Received on 2016-03-15 01:08:40 CET

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.