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

Compile Apache

From: Shawn Harrison <harrison_at_tbc.net>
Date: 2004-04-01 04:30:10 CEST

Hi,

I'll introduce myself first. I joined the list yesterday, but I have been
using Subversion for about 3 months. I use it on my Linux box to control the
sources for my software projects. I also use it on my WinXP laptop to
control a bunch of MS Word documents.

I haven't yet had success building a Subversion server that can work with
Apache, so up to now I've been using svnserve. But I want to use Apache
authentication, so I need to cross this hurdle.

I have read all the install docs and the FAQ point regarding patching
apr-util. I have done that successfully. However, I am not succeeding at
creating an Apache runtime that is linked to BerkeleyDB.

My understanding of the documents is that step #1 is to build the
BerkeleyDB. I have done that using the defaults, and it is installed in
/usr/local/BerkeleyDB.4.2.

Step #2 would be to configure and build Apache. I'm using Apache2.0.49,
which is the current release. I have applied db42-support-patch.txt to the
apr-util configure script, as the FAQ instructs. Now I ./configure Apache.
Here is my Apache config script:

./configure \
    --prefix=/usr/local/apache2 \
    --exec-prefix=/usr/local \
    --with-berkeley-db=/usr/local/BerkeleyDB.4.2 \
    --with-dbm=db42 \
    --enable-v4-mapped \
    --enable-so \
    --enable-dav \
    --enable-rewrite \
    --enable-proxy \
    --enable-proxy-http \
    --enable-cache \
    --enable-deflate \
    --enable-usertrack \
    --enable-mime-magic \
    --enable-speling \
    --enable-http \
    --enable-expires \
#

When I do this, I receive the following errors.

configure: error: Berkeley DB not found.

I have also attached a text file with the ./configure output.

When I leave out the line "--with-dbm=db42 \", Apache will configure and
build, but ldd doesn't find a link to libdb42.so

So, I'm stumped. Does anyone see what the problem is?

Thanks,
Shawn Harrison

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

Received on Thu Apr 1 04:30:13 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.