Re: PHP 5.1.0RC3 testing

From: Date: Tue, 18 Oct 2005 00:42:22 +0000
Subject: Re: PHP 5.1.0RC3 testing
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-26159@lists.php.net to get a copy of this message
I cannot build RC3 on Linux 1. with sqlite extension (missing template file "lempar.c") http://bugs.php.net/bug.php?id=34899 2. with pdo_odbc (pdo_odbc.c:115: undefined reference to `REGISTER_PDO_CONST_LONG') http://bugs.php.net/bug.php?id=34900 The pdo_odbc problem can be solved this way:
--- ext/pdo_odbc/pdo_odbc.c_orig        2005-10-18 02:37:01.000000000 +0200
+++ ext/pdo_odbc/pdo_odbc.c     2005-10-18 02:39:35.000000000 +0200
@@ -112,10 +112,10 @@
        }
#endif
-       REGISTER_PDO_CONST_LONG("ODBC_ATTR_USE_CURSOR_LIBRARY", PDO_ODBC_ATTR_USE_CURSOR_LIBRARY);
-       REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_IF_NEEDED", SQL_CUR_USE_IF_NEEDED);
-       REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_DRIVER", SQL_CUR_USE_DRIVER);
-       REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_ODBC", SQL_CUR_USE_ODBC);
+       REGISTER_PDO_CLASS_CONST_LONG("ODBC_ATTR_USE_CURSOR_LIBRARY", PDO_ODBC_ATTR_USE_CURSOR_LIBRARY);
+       REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_IF_NEEDED", SQL_CUR_USE_IF_NEEDED);
+       REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_DRIVER", SQL_CUR_USE_DRIVER);
+       REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_ODBC", SQL_CUR_USE_ODBC);
        return SUCCESS;
} best regards Andreas

« previous php.qa (#26159) next »