Bug #15172 Updated: The file config has a hard-coded version number for BerkeleyDB (BerkeleyDB3.0)
| From: | sniper@php.net | Date: | Fri, 07 Jun 2002 00:56:35 +0000 |
| Subject: | Bug #15172 Updated: The file config has a hard-coded version number for BerkeleyDB (BerkeleyDB3.0) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9696@lists.php.net to get a copy of this message | ||
ID: 15172
Updated by: sniper@php.net
Reported By: tena.sakai.b@bayer.com
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Solaris8
PHP Version: 4.1.1
New Comment:
You can always tell the correct directory with this
configure option:
--with-db3=/usr/local/BerkeleyDB.3.2
Previous Comments:
------------------------------------------------------------------------
[2002-01-22 14:23:11] tena.sakai.b@bayer.com
I recently got around to install php on a Sun (Solaris 8).
There were more than one stumbling blocks, but here's a
major one I wanted to report.
I had installed BerkeleyDB, among other stuff, and by
default, the path to it is BerkeleyDB.3.2. (This is
done via pkgadd command using the package from
www.sunfreeware.com).
The file configure in php-4.1.1 (top level directory) has a line:
for i in /usr/local /usr /usr/local/BerkeleyDB.3.0 $withval; do
That 0 was a problem. When I changed the 0 to 2 it went
flawlessly. Here's a diff between the original version and
the one I used:
*** configure Wed Dec 26 02:43:05 2001
--- myConfigure Thu Jan 17 13:11:20 2002
***************
*** 15322,15328 ****
withval="$with_db3"
if test "$withval" != "no"; then
! for i in /usr/local /usr /usr/local/BerkeleyDB.3.0 $withval; do
if test -f "$i/include/db.h" ; then
THIS_PREFIX=$i
DB3_EXTRA=db.h
--- 15322,15328 ----
withval="$with_db3"
if test "$withval" != "no"; then
! for i in /usr/local /usr /usr/local/BerkeleyDB.3.2 $withval; do
if test -f "$i/include/db.h" ; then
THIS_PREFIX=$i
DB3_EXTRA=db.h
I imagine maybe this is a good thing to fix.
Regards,
Tena Sakai
tena.sakai.b@bayer.com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15172&edit=1