You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonathan Coles <jc...@rogers.com> on 2007/01/05 01:56:46 UTC

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

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.

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
> 
> 
> 
> Best regards - and happy new year.
> 
> 
> -- David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by David Tonhofer <d....@m-plify.com>.
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 \
   --with-berkeley-db


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

$ rpm --query --all | grep "db4-"
db4-4.2.52-7.1
db4-utils-4.2.52-7.1
db4-devel-4.2.52-7.1



> 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