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

anyone compiled subversion 1.1 with apache2 on Solaris 9?

From: Lundgren, Scott <SELundgr_at_email.uncc.edu>
Date: 2004-11-23 17:38:55 CET

Can you share your tips? Or point out what I'm not doing to get apache2
or subversion to find Berkeley DB?
 
Tools (all from sunfreeware.com): gcc 3.4.2, make 3.80, patch 2.5.4
Already installed: /usr/local/neon-0.24.7, /usr/local/openssl-0.9.7e,
/usr/local/BerkeleyDB.4.2
 
Following the Subversion FAQ:
http://subversion.tigris.org/project_faq.html#linux-bdb42-build
 
bash-2.05$ tar xf httpd-2.0.48.tar
bash-2.05$ cd httpd-2.0.48
bash-2.05$ /opt/csw/bin/patch -p0 <../db42-support-patch.txt
patching file srclib/apr-util/configure
bash-2.05$ configure --enable-dav --enable-so
--with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-dbm=db42
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
    
Configuring Apache Portable Runtime library ...
 
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
Configuring APR library
Platform: sparc-sun-solaris2.9
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output...
<!-- snip -->
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
 
The alternate take...

bash-2.05$ cd subversion-1.1.1
bash-2.05$ /opt/csw/bin/patch -p0 <../db42-support-patch.txt
patching file apr-util/configure
Hunk #1 succeeded at 15117 (offset 1731 lines).
Hunk #2 succeeded at 31385 (offset 4199 lines).
bash-2.05$ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-dbm=db42
<!-- snip -->
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 apr-util

 
Received on Tue Nov 23 17:41:54 2004

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