subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Problems building subversion 1.9.3 as required for use with GNU Stow on RHEL 5.11
Date Tue, 15 Mar 2016 00:08:39 GMT
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

Mime
View raw message