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

Re: BUILD errors with APR under LINUX Subversion 1.0.0

From: David Ripton <dripton_at_ripton.net>
Date: 2004-02-24 14:23:42 CET

On 2004.02.24 11:50:39 +0000, Falko Zurell wrote:
> I tried to build subversion 1.0.0 from source on a SuSE Linux 9.0 system.
>
> I first compiled and installed Berkeley db 4.2.52. Then I compiled and
> installed httpd 2.0.48 (with use of the newly builded db).
>
> I also copied the apr and apr-util files from the httpd srclib dir to
> the subversion source dir as denoted in the INSTALL file from subversion.
>
> Finally I tried to build subversion against these new builds. But
> configure complained about my APR build:
>
> DB=/opt/berkeley-db
> HTTPD=/opt/httpd
>
> INCLUDES="-I$DB/include -I$HTTPD/include"
> LIBS="-L$DB/lib -L$HTTPD/lib"
> LDFLAGS="-L$DB/lib -L$HTTPD/lib"
> CPPFLAGS="-I$DB/include -I$HTTPD/include"
>
> ./configure --prefix=/opt/subversion --with-berkeley-db=$DB
> - --with-apxs=$HTTPD/bin/apxs
>
> [...]
> configure: WARNING: we have configured for a client-only build
>
> The Subversion filesystem library, part of the server, requires
> Berkeley DB version 4.0.14 or newer, which you don't seem to have
> installed and linked to APR-UTIL. We have created makefiles which
> will build the Subversion client code only, and skip the server. You
> can find latest version of Berkeley DB at http://www.sleepycat.com/.
> You can find the latest version of Berkeley DB here:
> ~ http://www.sleepycat.com/download/index.shtml
>
> Has anyone managed to build subversion 1.0.0 with newest httpd and
> berkeley db and can give me some hints?

I did this a couple of weeks ago with 0.37 on a Debian stable box. IIRC
it was necessary to add a bsddb lib directory to LD_LIBRARY_PATH, to keep
the obsolete distro-installed bsddb shared libraries from being seen before
the newer ones that I just installed. (Yes, I see that you're already
trying to do that, twice. Maybe the third way's the charm?)

I've also done the install several times on Gentoo, where no such tricks
were necessary because new https and bsddb were installed in the default
locations.

(BTW, thanks everyone for 1.0.)

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 14:23:26 2004

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.