You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dominik Westner <li...@logicunited.com> on 2003/05/08 22:08:58 UTC

make install fails with 0.22

I am just trying to update from 0.21 to 0.22 but  I am having problems  
during make install. The changes say that ra_dav is now optional. I am  
not quite sure if this is the reason for the failure. Here is the error  
I am getting:

----------------------------------------------------------------------
cd subversion/libsvn_ra ; /bin/sh /home/subversion/src/svn/libtool  
--mode=install /home/subversion/src/svn/ac-helpers/install-sh -c  
libsvn_ra-1.la /home/subversion/lib/libsvn_ra-1.la
libtool: install: warning: relinking `libsvn_ra-1.la'
cd /home/subversion/src/svn/subversion/libsvn_ra; /bin/sh  
/home/subversion/src/svn/libtool --mode=relink gcc -g -O2 -pthread  
-DNEON_ZLIB -DNEON_SSL -rpath /home/subversion/lib -o libsvn_ra-1.la  
ra_loader.lo ../../subversion/libsvn_subr/libsvn_subr-1.la  
../../subversion/libsvn_ra_local/libsvn_ra_local-1.la  
../../subversion/libsvn_repos/libsvn_repos-1.la  
../../subversion/libsvn_fs/libsvn_fs-1.la  
../../subversion/libsvn_delta/libsvn_delta-1.la  
../../subversion/libsvn_subr/libsvn_subr-1.la  
../../subversion/libsvn_ra_dav/libsvn_ra_dav-1.la  
../../subversion/libsvn_subr/libsvn_subr-1.la  
../../subversion/libsvn_ra_svn/libsvn_ra_svn-1.la  
../../subversion/libsvn_subr/libsvn_subr-1.la  
/home/subversion/lib/libaprutil-0.la -lgdbm -ldb -lexpat  
/home/subversion/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
gcc -shared  ra_loader.lo  -Wl,--rpath -Wl,/home/subversion/lib   
-L/home/subversion/src/svn/subversion/libsvn_subr/.libs  
-L/home/subversion/src/svn/subversion/libsvn_delta/.libs  
-L/home/subversion/src/svn/subversion/libsvn_fs/.libs -L/usr/lib  
-L/home/subversion/src/svn/subversion/libsvn_repos/.libs  
-L/home/subversion/lib -lsvn_ra_local-1 -lsvn_repos-1 -lsvn_fs-1  
-lsvn_delta-1 -lsvn_ra_dav-1 -lsvn_ra_svn-1 -lsvn_subr-1 -laprutil-0  
-lgdbm -ldb -lexpat -lapr-0 -lrt -lm -lcrypt -lnsl -ldl          
-Wl,-soname -Wl,libsvn_ra-1.so.0 -o .libs/libsvn_ra-1.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/ 
bin/ld: cannot find -lsvn_ra_dav-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvn_ra-1.la' with the above command  
before installing it
make: *** [install-lib] Error 1


Any ideas? thanks

Dominik


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: make install fails with 0.22

Posted by Michael Price <mi...@acm.org>.
Philip Martin wrote:
> Installing over a previous installation will work if libsvn_ra_dav is
> already present, which probably explains how the mistake was made.

Yep, that's how I missed it.

Michael




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: make install fails with 0.22

Posted by Dominik Westner <we...@logicunited.com>.
HI Philip,

thanks for the help. This was indeed the problem.

I also had to change the local-all target accordingly otherwise 
libsvn_ra wasn't linked correctly.

Dominik

On Freitag, Mai 9, 2003, at 00:59 Europe/Berlin, Philip Martin wrote:

> Dominik Westner <li...@logicunited.com> writes:
>
>> I am just trying to update from 0.21 to 0.22 but  I am having problems
>> during make install. The changes say that ra_dav is now optional. I am
>> not quite sure if this is the reason for the failure.
>
> You are correct, this problem affects HEAD as well 0.22.  The problem
> is this bit in configure.in
>
> if test "$svn_lib_neon" = "yes"; then
>   BUILD_RULES="$BUILD_RULES dav-lib"
>   INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-dav-lib"
>   INSTALL_RULES="$INSTALL_RULES install-dav-lib"
> fi
>
> as that sets up to install libsvn_ra_dav *after* installing libsvn_ra.
> It won't work since libsvn_ra depends on libsvn_ra_dav.
>
> The final Makefile needs to look something like
>
> local-install: install-base-lib install-fs-lib install-dav-lib 
> install-lib install-include install-static install-mods-shared 
> install-swig-py-lib
>
> with install-dav-lib *before* install-lib.
>
> Installing over a previous installation will work if libsvn_ra_dav is
> already present, which probably explains how the mistake was made.
>
> -- 
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: make install fails with 0.22

Posted by Philip Martin <ph...@codematters.co.uk>.
Dominik Westner <li...@logicunited.com> writes:

> I am just trying to update from 0.21 to 0.22 but  I am having problems
> during make install. The changes say that ra_dav is now optional. I am
> not quite sure if this is the reason for the failure.

You are correct, this problem affects HEAD as well 0.22.  The problem
is this bit in configure.in

if test "$svn_lib_neon" = "yes"; then
  BUILD_RULES="$BUILD_RULES dav-lib"
  INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-dav-lib"
  INSTALL_RULES="$INSTALL_RULES install-dav-lib"
fi  

as that sets up to install libsvn_ra_dav *after* installing libsvn_ra.
It won't work since libsvn_ra depends on libsvn_ra_dav.

The final Makefile needs to look something like

local-install: install-base-lib install-fs-lib install-dav-lib install-lib install-include install-static install-mods-shared install-swig-py-lib

with install-dav-lib *before* install-lib.

Installing over a previous installation will work if libsvn_ra_dav is
already present, which probably explains how the mistake was made.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org