I'm trying to build 0.14.3 on a Red Hat 8.0 system. I can
successfully build and use the bootstrap 0.14.3 to checkout
the 0.14.3 source. I can even build 0.14.3 but I can not
install it since it fails on mod_dav_svn with
/usr/bin/ld: cannot find -lsvn_repos-1
I've attached an edited build session showing the output.
Hopefully my mail program won't mangle it too bad.
I can see that the gcc command is missing
-L/home/moloney/sandbox/svn/subversion-0.14.3/subversion/libsvn_repos/.libs
but the libtool command above it contains
../../subversion/libsvn_repos/libsvn_repos-1.la
I don't know enough about libtool to figure out why this is breaking.
Additional info:
- httpd, apr, are apr-util are 2.0.43
- neon is 0.23.5
- I get the same build error using Subversion HEAD (r3343)
- the same build process works with httpd, apr, and apr-util 2.0.42
and neon 0.23.4 on Red Hat (null)
Any ideas?
--
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road \ /
Sarasota, FL 34232 .________\(O)/________.
(941) 377-6775 x208 ' ' O(.)O ' '
bash> ./autogen.sh
[...]
bash> ./configure --prefix=/usr --with-apr=/usr/bin/apr-config \
--with-apr-util=/usr/bin/apu-config
[...]
bash> make
[...]
bash> rm -rf /var/tmp/subversion-0.14.3-1/
[...]
bash> make prefix=/var/tmp/subversion-0.14.3-1/usr install
[...]
cd subversion/mod_dav_svn ; apxs_libexecdir="`/usr/sbin/apxs -q LIBEXECDIR`" ; /home/moloney/sandbox/svn/subversion-0.14.3/ac-helpers/install-sh -c -d "$apxs_libexecdir" ; /usr/sbin/apxs -i -a -S LIBEXECDIR="$apxs_libexecdir" -n dav_svn mod_dav_svn.la
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' mod_dav_svn.la /usr/lib/httpd/modules
/usr/lib/httpd/build/libtool --mode=install cp mod_dav_svn.la /usr/lib/httpd/modules/
libtool: install: warning: relinking `mod_dav_svn.la'
(cd /home/moloney/sandbox/svn/subversion-0.14.3/subversion/mod_dav_svn; /bin/sh /home/moloney/sandbox/svn/subversion-0.14.3/libtool --mode=relink gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include -I. -I/usr/include/neon -I/usr/include/httpd -I/usr/include/httpd -rpath /usr/lib/httpd/modules -o mod_dav_svn.la -avoid-version -module activity.lo deadprops.lo liveprops.lo log.lo merge.lo mod_dav_svn.lo repos.lo update.lo util.lo version.lo ../../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 )
gcc -shared activity.lo deadprops.lo liveprops.lo log.lo merge.lo mod_dav_svn.lo repos.lo update.lo util.lo version.lo -L/home/moloney/sandbox/svn/subversion-0.14.3/subversion/libsvn_subr/.libs -L/home/moloney/sandbox/svn/subversion-0.14.3/subversion/libsvn_delta/.libs -L/home/moloney/sandbox/svn/subversion-0.14.3/subversion/libsvn_fs/.libs -L/usr/lib -lsvn_repos-1 -lsvn_fs-1 -lsvn_delta-1 -lsvn_subr-1 -Wl,-soname -Wl,mod_dav_svn.so -o .libs/mod_dav_svn.so
/usr/bin/ld: cannot find -lsvn_repos-1
collect2: ld returned 1 exit status
libtool: install: error: relink `mod_dav_svn.la' with the above command before installing it
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
bash>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 15:53:08 2002