Problem building Subversion on RHEL-5
From: Jerry <jerrymc_at_msu.edu>
Date: Thu, 23 Oct 2008 18:03:56 -0400
Hello Subversion users,
I hope you can point me in a positive direction.
The error portion of the build is as follows.
It says something about recompiling with '-fPIC' -- where would that
I just wouldn't expect to need an extra compiler flag that isn't
So, any help and advice will be appreciated.
////jerry
/bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/home/vusrc/src/subversion/subversion-1.5.3/neon/src -I/home/vusrc/src/subversion/include/neon -I/home/vusrc/src/apache/include -I/home/vusrc/src/apache/include -I./serf -I/usr/local/include -o subversion/libsvn_ra_neon/session.lo -c subversion/libsvn_ra_neon/session.c
/bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/home/vusrc/src/subversion/subversion-1.5.3/neon/src -I/home/vusrc/src/subversion/include/neon -I/home/vusrc/src/apache/include -I/home/vusrc/src/apache/include -I./serf -I/usr/local/include -o subversion/libsvn_ra_neon/util.lo -c subversion/libsvn_ra_neon/util.c
cd subversion/libsvn_ra_neon && /bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -L/usr/local/lib -rpath /home/vusrc/src/subversion/lib -o libsvn_ra_neon-1.la commit.lo fetch.lo file_revs.lo get_dated_rev.lo get_location_segments.lo get_locations.lo get_locks.lo lock.lo log.lo merge.lo mergeinfo.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /home/vusrc/src/apache/lib/libaprutil-1.la -lexpat /home/vusrc/src/apache/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /home/vusrc/src/subversion/subversion-1.5.3/neon/src/libneon.la
/usr/bin/ld: /home/vusrc/src/subversion/subversion-1.5.3/neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/vusrc/src/subversion/subversion-1.5.3/neon/src/.libs/libneon.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_ra_neon/libsvn_ra_neon-1.la] Error 1
Here is the neon part of the ./configure run.
checking for Apache module support via DSO through APXS... found at /home/vusrc/src/apache/bin/apxs
Install prefix: /home/vusrc/src/subversion
neon configured properly
---------------------------------------------------------------------
|
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.