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

Re: configure doesn't see mod_dav

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-04-16 20:28:40 CEST

On Wed, Apr 16, 2003 at 06:17:26PM +0000, Seth Delackner wrote:
> since no one replied to my last query, I ask
> again,

Thanks. Sometimes we miss things or don't get to them. Reposting is always
fine and appreciated.

> what do you have to do to get subversion's
> configure phase to notice that apache2 was built
> with mod_dav?
>
> checking for static Apache module support...
> configure: error: no - Unable to locate
> /usr/local/apache2/modules/dav/main/mod_dav.h
>...
> Subversion 0.19.1 config.log:
> ./configure --enable-maintainer-mode --with-apr=/usr/local/apache2 --with-ap
> r-util=/usr/local/apache2 --with-neon=/usr/local --with-apache=/usr/local/apache
> 2 --with-apxs=/usr/local/apache2/bin/apxs --with-berkeley-db=/usr/local/Berkeley
> DB.4.1

The --with-apache line says "build me static support". In other words, get
things set up for you to statically link mod_dav_svn directly into Apache.
Thus, the system requires Apache source to function. It is saying that it
can't find the source file (.../modules/dav/main/mod_dav.h).

Just drop the --with-apache line. The --with-apxs will point the system at
your installed Apache, and a dynamically loadable mod_dav_svn.so will be
built for you.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 16 20:28:58 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.