You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Lundgren, Scott" <SE...@email.uncc.edu> on 2004/11/23 16:38:55 UTC
anyone compiled subversion 1.1 with apache2 on Solaris 9?
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
Re: anyone compiled subversion 1.1 with apache2 on Solaris 9?
Posted by "David F. Newman" <dn...@epnet.com>.
Usually setting LD_RUN_PATH to /usr/local/BerkeleyDB.4.2/lib will help
configure find it. If you look in config.log after it fails you will usually
see the culprit. You'll probably see something like ld.so can't find
libdb-4.2.so.
-Dave
On Tuesday 23 November 2004 11:38, Lundgren, Scott wrote:
> Can you share your tips? Or point out what I'm not doing to get apache2
> or subversion to find Berkeley DB?
>
> <!-- 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: anyone compiled subversion 1.1 with apache2 on Solaris 9?
Posted by Cory Omand <Co...@Sun.COM>.
Scott,
There is a Subversion binary distribution for Solaris available from
blastwave.org, if you would rather use a pre-packaged solution. It
currently is linked against BDB 4.1, however.
Regards,
C.
On Tue, 2004-11-23 at 08:38, Lundgren, Scott wrote:
> 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
>
>
--
Cory Omand <Co...@Sun.COM>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org