php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15172 The file config has a hard-coded version number for BerkeleyDB (BerkeleyDB3.0)
Submitted: 2002-01-22 14:23 UTC Modified: 2002-06-06 20:56 UTC
From: tena dot sakai dot b at bayer dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.1.1 OS: Solaris8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tena dot sakai dot b at bayer dot com
New email:
PHP Version: OS:

 

 [2002-01-22 14:23 UTC] tena dot sakai dot b at bayer dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-06 20:56 UTC] sniper@php.net
You can always tell the correct directory with this
configure option:

--with-db3=/usr/local/BerkeleyDB.3.2

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 08:01:23 2020 UTC