From: [EMAIL PROTECTED] Operating system: Solaris8 PHP version: 4.1.1 PHP Bug Type: *Configuration Issues Bug description: The file config has a hard-coded version number for BerkeleyDB (BerkeleyDB3.0)
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 [EMAIL PROTECTED] -- Edit bug report at: http://bugs.php.net/?id=15172&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]