[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: EAW <ericw_at_xmtp.net>
Date: 2004-02-24 15:38:20 CET

Just did the same (db 4.2.52 and httpd 2.0.48), but with OpenBSD 3.4. I
had to manually edit the apr-util/build/dbm.m4 file, adding a subroutine
to look for db 4.2, which for some reason wasn't being looked for. It
appeared to look for <= 4.1 just fine, but no mention of 4.2.

I'm attaching the patch... I hope it will help. After you apply the
patch make sure to run autoconf on the configure.in in the apr-util
directory to generate a new configure. Then of course you have to
reconfigure.

Good luck,

e.

On Tue, 24 Feb 2004, Falko Zurell wrote:

> Hello,
>
> maybe this is a repeated question. If so please point me to the solution.
>
> 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?
>
> Thanks
>
> Falko Zurell
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
> !DSPAM:403b2ca0114453806516670!
>
> ------------ Output from gpg ------------
> gpg: Signature made Tue Feb 24 05:50:37 2004 EST using DSA key ID 2F97F017
> gpg: Can't check signature: public key not found
>
>

-- 
ericw@xmtp.net
"If the answer isn't violence, neither is your silence!"
			-- Pop Will Eat Itself, "Ich Bin Ein Auslander"


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

Received on Tue Feb 24 15:39:10 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.