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

Trying to build without apache

From: Andreas Ericsson <ae_at_op5.se>
Date: 2007-01-11 15:20:58 CET

Hey all. List newbie here.

I'm trying to compile subversion-1.4.2 from source to make an RPM
package for the Openwall GNU/*/Linux distribution (so installing from a
pre-compiled version is not really an option ;-).

Having read the INSTALL doc, I see the expected "./configure; make; make
install" recommendation. Tried it and it bailed out with the following

---%<---%<---%<---
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
          --with-apxs or --with-apache must be used
==================================================================
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: --with-apr requires a directory or
file to be provided
---%<---%<---%<---

This seems very odd, as I'm not interested in building the
apache-related parts of SVN and would have expected ./configure to
disable those parts automagically since I don't have apache installed at
all.

I dug deeper in INSTALL and found the BUILDING A SUBVERSION SERVER
section, which says I should use "--enable-dav" to enable building the
webdav stuff. I concocted this ./configure line instead:

$ ./configure --prefix=/usr --without-apxs --without-apr --disable-dav

but ran into the same error as posted above.

Google and Yahoo turned up either blanks or millions of documents for
building subversion with various options. Perhaps I used the wrong options.

So where can I find info on how to build only the client version of SVN,
without any apache-related stuff what so ever? I suppose I could hack
around the check in ./configure and build using "make -i", but that
seems like an awfully ugly kluge, and it won't get prettier inside a
.spec-file.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 11 15:21:50 2007

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