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

build problems

From: Jon Stevens <jon_at_latchkey.com>
Date: 2003-11-19 07:05:57 CET

Hey everyone,

I'm trying to build subversion on OSX 10.3 and am running into some
problems.

I am using Fink and installed db41 (berkeley db 4.1).

I installed Apache 2.0.48 on my own. It was re-compiled/configured to
use the db41 in /sw. APR was also built using db41 in /sw as noted in
the configure output.

[24][ src/apache/httpd-2.0.48/srclib/apr-util ]# grep sw Makefile
INCLUDES = -I/usr/local/src/apache/httpd-2.0.48/srclib/apr-util/include
-I/usr/local/src/apache/httpd-2.0.48/srclib/apr-util/include/private
-I/usr/local/src/apache/httpd-2.0.48/srclib/apr/include -I/sw/include
-I/usr/local/src/apache/httpd-2.0.48/srclib/apr-util/xml/expat/lib
APRUTIL_LDFLAGS = -L/sw/lib
-L/usr/local/src/apache/httpd-2.0.48/srclib/apr-util/xml/expat/lib

Here is the script I used to build Apache...

#!/bin/sh

APP=httpd-2.0.48

cd $APP

./configure \
         --enable-layout=Darwin \
         --with-berkeley-db=/sw

make

Here is my script for building subversion...

#!/bin/sh

APP=subversion
VER=0.33.1

tar -xzf $APP-$VER.tar.gz

cd $APP-$VER
./configure \
         --with-apr=/usr/bin/apr-config \
         --with-apr-util=/usr \
         --with-apxs=/usr/sbin/apxs \
         --with-zlib \
         --with-berkeley-db=/sw

make

It goes through the process and I see...

configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 0.9.5
configure: Apache Portable Runtime Utility (APRUTIL) library
configuration
checking for APR-util... yes
checking APR-UTIL version... 0.9.5

Seems fine to me. The only problem is that it gets near the end of the
subversion config process and it says:

configure: error: APR-UTIL was installed independently, it won't be
                         possible to use the specified Berkeley DB: /sw

Doh! Why is that?

thanks

jon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 19 07:07:09 2003

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.