I'm this -><- close to being able to compile the newest version of
subversion RPM (rev 2272....woops, 2273 just came out :-) but only
libsvn_subr-1.so* is linking and the rest
(like libsvn_delta-1.so*) are not.
(cd /home/david/rpms/build/subversion-0.13.0/subversion/libsvn_delta;
/bin/sh /home/david/rpms/build/subversion-0.13.0/libtool --mode=relink gcc
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -g -O2 -pthread -DNEON_ZLIB -DNEON_SSL
-I./subversion/include -I. -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/include/neon -lcrypt -ldl -pthread
-rpath /usr/lib -o libsvn_delta-1.la compose_delta.lo compose_editors.lo
default_editor.lo diff.lo diff_file.lo svndiff.lo text_delta.lo vdelta.lo
xml_output.lo xml_parse.lo ../../subversion/libsvn_subr/libsvn_subr-1.la
/usr/local/apache2/lib/libaprutil.la -lgdbm -ldb-4.0 -lexpat
/usr/local/apache2/lib/libapr.la -lm -lcrypt -lnsl -ldl)
gcc -shared compose_delta.lo compose_editors.lo default_editor.lo diff.lo
diff_file.lo svndiff.lo text_delta.lo vdelta.lo xml_output.lo xml_parse.lo
-Wl,--rpath -Wl,/usr/local/apache2/lib -L/usr/local/apache2/lib -lcrypt
-ldl -L/usr/lib -lsvn_subr-1 -laprutil -lgdbm -ldb-4.0 -lexpat -lapr -lm
-lcrypt -lnsl -ldl -Wl,-soname -Wl,libsvn_delta-1.so.0 -o
.libs/libsvn_delta-1.so.0.0.0
/usr/bin/ld: cannot find -lsvn_subr-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvn_delta-1.la' with the above command
before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
cd subversion/libsvn_ra_dav ; /bin/sh
/home/david/rpms/build/subversion-0.13.0/libtool --mode=install
/home/david/rpms/build/subversion-0.13.0/ac-helpers/install-sh -c
libsvn_ra_dav-1.la /home/david/rpms/tmp/subversion-0.13
It sounds like the link commands are not getting the -L directory
correctly when the link happens so that it can't find the -lsvn_subr-1
can't locate the file correctly.
Here is my configuration:
LDFLAGS="-lcrypt -ldl -pthread" ./configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-apxs=%{apache_dir}/usr/bin/apxs \
--with-apr=%{apache_dir}/bin/apr-config \
--with-apr-util=%{apache_dir}/bin/apu-config
and here is my install line:
make install \
prefix=$RPM_BUILD_ROOT/usr \
libdir=$RPM_BUILD_ROOT/usr/lib \
mandir=$RPM_BUILD_ROOT/usr/share/man \
fs_libdir=$RPM_BUILD_ROOT/usr/lib \
base_libdir=$RPM_BUILD_ROOT/usr/lib \
infodir=$RPM_BUILD_ROOT/usr/share/info \
libexecdir=$RPM_BUILD_ROOT/%{apache_dir}/lib
What am I doing wrong?
Thanks.
--
David Wayne Summers "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 18 22:32:31 2002