[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Build troubles on suse 10 x86-64 (subversion 1.4.5 tarball)

From: Atwood, Robert C <r.atwood_at_imperial.ac.uk>
Date: 2007-09-26 15:30:37 CEST

Hi:
I was attempting to install from source, using the 1.4.5. tarball on a
Suse 10.0 x86-64 system.
The build fails ending with the following messages:

................
/subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la
/sources/local/subversion-1.4.5/apr-util/libaprutil-0.la -lexpat
/sources/local/subversion-1.4.5/apr/libapr-0.la -lrt -lm -lcrypt -lnsl
-lpthread -ldl /sources/local/subversion-1.4.5/neon/src/libneon.la -lz
libtool: link: warning:
`/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../..//libexpat.la' seems to
be moved
libtool: link: warning:
`/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../..//libexpat.la' seems to
be moved
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin
/ld:
/sources/local/subversion-1.4.5/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
/sources/local/subversion-1.4.5/neon/src/.libs/libneon.a: could not read
symbols: Bad value
..................

It seems that adding CFLAGS="-L/usr/lib64 -fPIC" before configure
generates a working build, and eliminates the libexpat warnings...
similar to the issue mentioned in 2005 in this thread:

http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=30940

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 26 15:31:56 2007

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.