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

RE: problems installing subversion

From: Peter Kahn <pkahn_at_connected.com>
Date: 2005-03-07 17:43:57 CET

For 1.1.1 and 1.1.2 I have been following this model... It builds for
me and unit tests pass. That being said, I have db corruption every
couple of weeks. I do not know if it is my compilation process or a
general bug or a configuration issue. I'm inclined to believe its me
and something I've done, but I am having great difficulty determine the
right course of action...

So, I'd take my process with a bit of a grane of salt. Use it a base if
you'd like, but verify it...

------------------------------------------------------------------------
---------------------
---- Process for Building Svn on Linux
------------------------------------------------------------------------
---------------------
 Required Tars
    All of these can be found in svn:/root/downloads
    svn (note its installation doc as it will have the new version
requirements
    httpd 2.x (2.0.49 or greater as of 1.1.2)
    Neon (0.24.7 as of 1.1.2)
    BerkeleyDB DB (4.2.52 as of 1.1.2)

Unpack & Build Berkeley DB
    gunzip < db-4.2.52.NC.tar.gz| tar xf -
    read readme/install docs to verify this process if not 4.2.52
    cd to {unpack directory}/build_unix
    execute the following: ../dist/configure >> dbConfig.log 2>&1
    check log for errors
    make: make all >> dbMakeAll.log 2>&1
    check log for errors
    install: make install >> dbMakeAll.log 2>&1
    check log for errors

Unpack & Build Apache (if necessary)
    gunzip < httpd-2.0.52.tar.gz| tar xf -
    read readme/install docs to verify this process if not 2.0.52
    cd to {unpack directory}
    ./configure --enable-dav --enable-so --enabme-maintainer-mode >>
httpdConfig.log 2>&1
    check log for errors
    make: make all >> httpdMakeAll.log 2>&1
    check log for errors
    install: make install >> httpdMakeAll.log 2>&1
    check log for errors

Unpack & Build SVN
    gunzip < svn.1.1.2.tar.gz| tar xf -
    verify all version from INSTALL document
    cd to {unpack directory}
    unpack neon ls /
    ./configure --enable-dav --enable-so --enabme-maintainer-mode >>
httpdConfig.log 2>&1
    check log for errors
    make: make all >> httpdMakeAll.log 2>&1
    check log for errors
    install: make install >> httpdMakeAll.log 2>&1
    check log for errors
    make: make check >> makeChekc.log 2>&1
    check log for errors
-----Original Message-----
From: Tom Brown [mailto:brown@esteem.com]
Sent: Friday, March 04, 2005 12:50 PM
To: users@subversion.tigris.org
Subject: problems installing subversion

I am having problems installing subversion 1.1.3 onto a machine running
RedHat
7.1. I installed the Berkeley DB version 4.2.52 from source. Then I
installed
Apache 2.0.53 from source. Then I tried to configure subversion using:

./configure --with-apr=/usr/local/apache2
--with-apr-util=/usr/local/apache2

but got the following message:

You don't seem to have Berkeley DB version 4.0.14 or newer installed and
linked to APR-UTIL. We have created Makefiles which will build without
the Berkeley DB back-end; your repositories will use FSFS as the default
back-end. You can find the latest version of Berkeley DB here:
  http://www.sleepycat.com/download/index.shtml

So, I found a patch in FAQ for the Apache apr-util/configure script and
applied that and tried to configure Apache using:

./configure --enable-dav --enable-so \
  --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-dbm=db42

but configure failed with the following messages:

checking checking for Berkeley DB 4.2 in /usr/local/BerkeleyDB.4.2...
checking db4/db.h usability... no checking db4/db.h presence... no
checking for db4/db.h... no checking db.h usability... yes checking db.h
presence... yes checking for db.h... yes checking for db-4.2... no
checking db4/db.h usability... no checking db4/db.h presence... no
checking for db4/db.h... no checking db.h usability... yes checking db.h
presence... yes checking for db.h... yes checking for db4... no checking
db4/db.h usability... no checking db4/db.h presence... no checking for
db4/db.h... no checking db.h usability... yes checking db.h presence...
yes checking for db.h... yes checking for db... no
configure: error: Berkeley db4 not found
configure failed for srclib/apr-util

What am I doing wrong?

Thanks,
Tom

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 17:47:02 2005

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