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

Re: Two things that got me stumped during compilation from source... (but I won in the end!)

From: David Tonhofer <d.tonhofer_at_m-plify.com>
Date: 2007-01-07 16:54:19 CET

Jonathan Coles wrote:
> You can get mysterious messages even without those confusing --with-this
> --with-that options!
> What was the entire ./configure incantation that worked for you?
> Perhaps there is something that I just don't realize that I need.
> I thought I just needed --without-bdb. I didn't see any explicit
> statement of failure, but what I installed (1.4.0) doesn't work.
Like so:

$./configure --prefix=/usr/local/subversion-1.4.2 \
   --with-apxs=/usr/local/apache2/bin/apxs \
   --with-ssl \
   --with-jdk=/usr/java/jdk \
   --enable-javahl \

on a Red Hat ES 4.0 system, which has BDB 4.2 installed by default:

$ rpm --query --all | grep "db4-"

> I was not aware of 'readelf'. Thanks.
> David Tonhofer wrote:
>> Hello,
>> I have managed to compile "subversion" from the source with not too many
>> problems (which is nice) but was slowed down somewhat by the problems
>> noted
>> below. I guess these should be noted/remarked upon more clearly
>> either in the
>> output of './configure --help' or in the INSTALL readme file.
>> 1) When installing with the minimal prerequisite packages, i.e. when
>> doing:
>> $ tar xzvf subversion-1.x.x.tar.gz
>> $ tar xzvf subversion-deps-1.x.x.tar.gz
>> $ cd subversion-1.x.x
>> then one MUST NOT run ./configure with options "--with-apr" or
>> "--with-apr-util" otherwise mysterious configuration/compilation errors
>> will occur.
>> 2) When compiling on an x85_64 architecture then (at least when one
>> compiles 'neon' along with the rest), one MUST add the
>> '|--enable-shared'
>> option to ./configure (even though this is supposed to be the
>> default) as
>> otherwise neon compilation will cause grief:
>> "relocation R_X86_64_32 against `a local symbol' can not be used when
>> making a shared object; recompile with -fPIC."
>> --enable-shared" is not needed on 32-bit Intel architecture for
>> compilation
>> to work.
>> X) Bonus command: What libraries have been used to build 'svn'?
>> readelf --dynamic svn

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 7 16:53:38 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.