From: jon dot bertsch at ucop dot edu Operating system: SUSE 9.1 PHP version: 5.0.0RC3 PHP Bug Type: *Compile Issues Bug description: Make fails when installing ODBC libraries
Description: ------------ Installed php5RC3 on mac OSX 10.3 no problems, Next attempted to install on SUSE 9.1 and the make failed at ODBC library, see below for messages Reproduce code: --------------- In file included from /usr/local/php5/ext/odbc/php_odbc.c:37: /usr/local/php5/ext/odbc/php_odbc_includes.h:94:18: isql.h: No such file or directory /usr/local/php5/ext/odbc/php_odbc_includes.h:95:21: isqlext.h: No such file or directory In file included from /usr/local/php5/ext/odbc/php_odbc.c:37: /usr/local/php5/ext/odbc/php_odbc_includes.h:208: error: parse error before "HENV" /usr/local/php5/ext/odbc/php_odbc_includes.h:208: warning: no semicolon at end of struct or union /usr/local/php5/ext/odbc/php_odbc_includes.h:209: warning: data definition has no type or storage class /usr/local/php5/ext/odbc/php_odbc_includes.h:211: error: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function) /usr/local/php5/ext/odbc/php_odbc_includes.h:214: error: parse error before '}' token /usr/local/php5/ext/odbc/php_odbc_includes.h:214: warning: data definition has no type or storage class /usr/local/php5/ext/odbc/php_odbc_includes.h:220: error: parse error before "SDWORD" /usr/local/php5/ext/odbc/php_odbc_includes.h:220: warning: no semicolon at end of struct or union /usr/local/php5/ext/odbc/php_odbc_includes.h:221: warning: data definition has no type or storage class /usr/local/php5/ext/odbc/php_odbc_includes.h:224: error: parse error before "HSTMT" ... continues for quite a while and ends with ... /usr/local/php5/ext/odbc/php_odbc.c:3625: error: invalid type argument of `->' /usr/local/php5/ext/odbc/php_odbc.c:3627: error: invalid type argument of `->' /usr/local/php5/ext/odbc/php_odbc.c:3628: error: invalid type argument of `->' /usr/local/php5/ext/odbc/php_odbc.c:3629: warning: passing arg 2 of `zend_register_resource' makes pointer from integer without a cast /usr/local/php5/ext/odbc/php_odbc.c: At top level: /usr/local/php5/ext/odbc/php_odbc_includes.h:211: error: storage size of `lasterrormsg' isn't known make: *** [ext/odbc/php_odbc.lo] Error 1 Expected result: ---------------- Expected sucessful make. On this machine isql is available at /usr/bin/isql, Configure had no problems. -- Edit bug report at http://bugs.php.net/?id=28776&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28776&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28776&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28776&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28776&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28776&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28776&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28776&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28776&r=support Expected behavior: http://bugs.php.net/fix.php?id=28776&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28776&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28776&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28776&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28776&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28776&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28776&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28776&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28776&r=float