php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9391 compilation error when configured with DBMaker support
Submitted: 2001-02-21 21:10 UTC Modified: 2001-06-03 04:56 UTC
From: clin at lion dot syscom dot com dot tw Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: clin at lion dot syscom dot com dot tw
New email:
PHP Version: OS:

 

 [2001-02-21 21:10 UTC] clin at lion dot syscom dot com dot tw
I have sent a patch to fix this problem. Since if I copy-paste my patch here, there will be some incorrect word wrap, I won't put it here.

Steps to reproduce the bug:

(1) Download php source
(2) Untar php source
(3) ./configure --with-dbmaker


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-22 01:29 UTC] clin at lion dot syscom dot com dot tw
diff -ur php-4.0.4pl1old/ext/odbc/config.m4 php-4.0.4pl1/ext/odbc/config.m4
--- php-4.0.4pl1old/ext/odbc/config.m4	Wed Nov 22 23:31:04 2000
+++ php-4.0.4pl1/ext/odbc/config.m4	Wed Feb 21 12:20:01 2001
@@ -407,8 +407,8 @@
     # check DBMaker version (from 5.0 to 2.0)
     DBMAKER_VERSION=5.0
 
-    while [[ test ! -d $DBMAKER_HOME/$DBMAKER_VERSION -a \
-                 "$DBMAKER_VERSION" != "2.9" ]]; do
+    while test ! -d $DBMAKER_HOME/$DBMAKER_VERSION -a \
+                 "$DBMAKER_VERSION" != "2.9"; do
         DM_VER=`echo $DBMAKER_VERSION | sed -e 's/\.//' | awk '{ print $1-1;}'`
         MAJOR_V=`echo $DM_VER | awk '{ print $1/10; }' \
                  | awk  -F. '{ print $1; }'`
@@ -416,7 +416,7 @@
         DBMAKER_VERSION=$MAJOR_V.$MINOR_V
     done
 
-    if [[ "$DBMAKER_VERSION" = "2.9" ]]; then
+    if test "$DBMAKER_VERSION" = "2.9"; then
         withval=$DBMAKER_HOME
     else
         DBMAKER_PATH=$DBMAKER_HOME/$DBMAKER_VERSION

 [2001-06-03 04:56 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 18:01:27 2024 UTC