[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: Falko Zurell <falko.zurell_at_avma.de>
Date: 2004-02-24 14:45:34 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thanks for the hint. But unfortunatly that doesn't work for me. I wrote
a little script to handle the build:

- ---
#!/bin/sh

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"
LD_LIBRARY_PATH=$DB/lib:$DB/include:$LD_LIBRARY_PATH
PATH=$DB/lib:$DB/bin:$DB/include:$HTTPD/bin:$PATH
export LD_LIBRARY_PATH PATH

case $1 in

~ configure)
~ ./configure --prefix=/opt/subversion
- --with-berkeley-db=$DB --with-apxs=$HTTPD/bin/apxs
~ ;;
~ make)
~ make
~ ;;
~ install)
~ make install
~ ;;
~ clean)
~ make clean
~ ;;
~ *)
~ echo "Usage: $0 (configure | make | install)"
~ ;;
esac
- ---

But I still got the same error message.

Falko

David Ripton wrote:
| 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.)
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAO1V6D8Zw/S+X8BcRAp8JAKCA/kCve0XHw7Wx4aMGyDCJ293ooACfatcv
qdW+qIc7K7ZfZcADJnAQH4o=
=YURN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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:45:34 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.