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

Failing to compile subversion

From: Albert <albert_at_fastworx.com>
Date: 2005-10-24 10:39:23 CEST


I’m trying to install subversion. I’ve downloaded the sources as well as the
source for Berkeley DB.

I have:
- Berkeley DB 4.3.29 - sources located in
- Subversion 1.2.3 - sources located in

I have performed the following (as root):

$ cd /home/albert/sources/db-4.3.29/build_unix
$ ../dist/configure
$ make
$ make install
$ cd ../../subversion-1.2.3
$ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.3

This responds with lots of "checking..." lines - the last showing it cannot
find Berkeley.

The last two lines are:
configure: error: Berkeley DB not found.
Configure failed for apr-util

/usr/local/BerkeleyDB4.3 does indeed exist. It contains bin, docs, include
and lib directories.

If anyone can point out what I'm doing wrong it would be greatly

I do not have Apache or apr or apr-util installed. At this time I want to
compile svn that I can download the apr and apr-util sources and then
compile svn again to create a svn server.

In /home/albert/sources I have:
libpng-1.2.8-config (required for PNG support in PHP)
zlib-1.2.3 (required for libpng)

I'm not sure if I'm on the right track, so if someone has a HOWTO which will
easily show me how to install Apache + SSL + PHP + Subversion it would be
greatly appreciated. Currently I'm a bit in the dark and have modified the
way I normally install Apache + SSL + PHP to include Subversion.

I'm running SuSE 9.3 - Kernel

I intend to install Apache + SSL + PHP + Subversion by using the following
commands as root:

$ cd db-4.3.29/build_unix
$ ../dist/configure
$ make
$ make install
$ cd ../../subversion-1.2.3
$ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.3
$ make
$ make install
$ cd ../httpd-2.0.55/srclib
$ svn co http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
$ svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x
$ cd openssl-0.9.7f
$ sh config no-idea no-threads -fPIC
$ make
$ make test
$ cd ../httpd-2.0.55
$ ./buildconf
$ SSL_BASE=../openssl-0.9.7f ./configure --enable-module=ssl --prefix=/www
--enable-shared=ssl \
        --enable-dab --enable-so --with-dbm=db4
$ make
$ make certificate
$ make install
$ cd ../libpng-1.2.8-config
$ ./configure
$ make
$ make install
$ cd ../zlib-1.2.3
$ ./configure
$ make
$ cd ../php-4.4.0
$ ./configure --prefix=/www/php --with-apxs=/www/bin/apxs --enable-safe-mode
--with-gd \
        --with-mysql --with-mime-magic --enable-sockets
--enable-memory-limit --enable-zend-multibyte \
        --enable-shared --with-zlib-dir=../zlib-1.2.3/ --with-png=/usr/lib
$ make
$ make install
$ cp php.ini-dist /usr/local/lib/php.ini
$ cd ../subversion-1.2.3
$ ./configure --with-apr=../httpd-2.0.55 --with_apr_utl=../httpd-2.0.55
--with-berkeley-db=../db-4.3.29 \
$ rm /usr/local/lib/libsvn*
$ make
$ make install


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 2005/10/19
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 24 10:43:17 2005

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.