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

RE: Apache 2.2.4, Subversion 1.4.3, apr-1.2.8, apr-util.1.2.8 berkeleyDB4.5 configuration issues

From: Gurnani, Anil \(Exchange\) <agurnani_at_Bear.com>
Date: 2007-03-23 22:03:58 CET

I built from source on CentOS 4.4 (up2date'd to most current versions of
everything). Following are the steps that I followed:

Download steps:
1. download subversion-1.4.3.tar - and untar
2. download subversion-deps-1.4.3.tar - and untar
3. download apr-1.2.8 - and untar
4. download apr-util-1.2.8 and untar
5. download BerkeleyDB4.5 and untar
6. download apache 2.2.4 and untar

Build steps:
1. build and install apr with --prefix=/usr/local/apr
2. build and install BerkeleyDB 4.5 with default config (it installs in
/usr/local/BerkeleyDB.4.5)
3. build and install apr-util with --prefix=/usr/local/apr-util
--with-apr=/usr/local/apr
--with-berkeley-db=/usr/local/BerkeleyDB.4.5/lib
4. build and install apache with --prefix=/usr/local/apache2
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
--enable-modules=most --enable-share=most
5. build and install subversion with --prefix=/usr/local/svn
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
--with-apxs=/usr/local/apache2/bin/apxs
--with-berkeley-db=/usr/local/BerkeleyDB.4.5

After these steps subversion was working all the way as long as I use
file: URLs - and even http: URLs were working to list the contents of
repository - but as soon as I would try a Checkout command it would fail

I followed the same steps several times very carefully to make sure all
the correct libraries were linked in (cause I thought the problem could
be with httpd being linked with different libs and the svn module linked
with different versions of libs) I even did "ldd" on the binaries to
compare the versions they were linked against - but no luck - httpd
would crash as soon as I tried to do a checkout using a HTTP URL.

I followed the exact same steps on the exact same machine - but this
time I used Apache 2.0.4 and apr-0.9.13 and apr-util-0.9.13 - and
everything worked fine - even checkout through HTTP URL -

That led me to believe that there is some issue with the specific
combination that I was using - Subversion 1.4.3, apache 2.2.4 and
apr*-1.2.8

-----Original Message-----
From: D.J. Heap [mailto:djheap@gmail.com]
Sent: Friday, March 23, 2007 4:27 PM
To: Ryan Schmidt
Cc: Tom Malia; Ciaran.Byrne@sunlife.com; Gurnani, Anil (Exchange);
users@subversion.tigris.org
Subject: Re: Apache 2.2.4, Subversion 1.4.3, apr-1.2.8, apr-util.1.2.8
berkeleyDB4.5 configuration issues

On 3/23/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
[snip]
>
> Well, if you want to use Subversion with Apache 2.2.x on Windows, you
> cannot use the provided Subversion binaries. You can either use the
> provided Subversion binaries with Apache 2.0.x, or you can build
> Subversion from source with support for Apache 2.2.x.
>

I mentioned this in another thread as well, but there are Apache 2.2.x
binaries (zips, no installer) for Windows available in a subfolder of
the Windows folder on the tigris download site. Note the warning that
they are not yet as heavily used or tested as the Apache 2.0.x
binaries, but I haven't seen any negative feedback from the people who
have used them.

DJ

***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 23 22:05:47 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.