#20786 [NEW]: Missing Sqlcli and parse error
| From: | czir50 at yahoo dot com | Date: | Tue, 03 Dec 2002 12:18:46 +0000 |
| Subject: | #20786 [NEW]: Missing Sqlcli and parse error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-26497@lists.php.net to get a copy of this message | ||
From: czir50@yahoo.com
Operating system: RH 8.0
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Missing Sqlcli and parse error
I'm trying to install PHP with IBM DB2. when i compile php the error will
come up I also tried using the latest cvs and older versions same error
comes up with the latest and more error in the older version:
help!!!
make[2]: Entering directory `/php-4.1.1/Zend'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/php-4.1.1/Zend'
make[1]: Leaving directory `/php-4.1.1/Zend'
Making install in main
make[1]: Entering directory `/php-4.1.1/main'
make[2]: Entering directory `/php-4.1.1/main'
/bin/sh /php-4.1.1/libtool --silent --mode=compile /php-4.1.1/meta_ccld
-I. -I/php-4.1.1/main -I/php-4.1.1/main -I/php-4.1.1
-I/usr/local/apache//include -I/php-4.1.1/Zend
-I/php-4.1.1/ext/mysql/libmysql -I/usr/IBMdb2/V7.1//include
-I/php-4.1.1/ext/xml/expat -D_REENTRANT -I/php-4.1.1/TSRM -DTHREAD=1 -O2
-I /openssl-0.9.6g/include -pthread -DZTS -prefer-pic -c main.c
/bin/sh /php-4.1.1/libtool --silent --mode=compile /php-4.1.1/meta_ccld
-I. -I/php-4.1.1/main -I/php-4.1.1/main -I/php-4.1.1
-I/usr/local/apache//include -I/php-4.1.1/Zend
-I/php-4.1.1/ext/mysql/libmysql -I/usr/IBMdb2/V7.1//include
-I/php-4.1.1/ext/xml/expat -D_REENTRANT -I/php-4.1.1/TSRM -DTHREAD=1 -O2
-I /openssl-0.9.6g/include -pthread -DZTS -prefer-pic -c
internal_functions.c
In file included from internal_functions.c:33:
/php-4.1.1/ext/odbc/php_odbc.h:178:21: sqlcli1.h: No such file or
directory
In file included from internal_functions.c:33:
/php-4.1.1/ext/odbc/php_odbc.h:270: parse error before "SQLHANDLE"
/php-4.1.1/ext/odbc/php_odbc.h:270: warning: no semicolon at end of struct
or union
/php-4.1.1/ext/odbc/php_odbc.h:271: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:273: `SQL_MAX_MESSAGE_LENGTH' undeclared
here (not in a function)
/php-4.1.1/ext/odbc/php_odbc.h:276: parse error before '}' token
/php-4.1.1/ext/odbc/php_odbc.h:276: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:282: parse error before "SDWORD"
/php-4.1.1/ext/odbc/php_odbc.h:282: warning: no semicolon at end of struct
or union
/php-4.1.1/ext/odbc/php_odbc.h:283: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:286: parse error before "SQLHANDLE"
/php-4.1.1/ext/odbc/php_odbc.h:286: warning: no semicolon at end of struct
or union
/php-4.1.1/ext/odbc/php_odbc.h:288: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:288: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:289: parse error before "numcols"
/php-4.1.1/ext/odbc/php_odbc.h:289: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:290: parse error before "numparams"
/php-4.1.1/ext/odbc/php_odbc.h:290: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:297: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:297: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:298: parse error before '}' token
/php-4.1.1/ext/odbc/php_odbc.h:298: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:314: `SQL_MAX_MESSAGE_LENGTH' undeclared
here (not in a function)
/php-4.1.1/ext/odbc/php_odbc.h:319: parse error before "odbc_result"
/php-4.1.1/ext/odbc/php_odbc.h:320: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:320: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:322: parse error before "HDBC"
/php-4.1.1/ext/odbc/php_odbc.h:323: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:323: warning: data definition has no type
or storage class
/php-4.1.1/ext/odbc/php_odbc.h:325: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:329: parse error before '*' token
/php-4.1.1/ext/odbc/php_odbc.h:273: storage size of `lasterrormsg' isn't
known
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/php-4.1.1/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/php-4.1.1/main'
make: *** [install-recursive] Error 1
--
Edit bug report at http://bugs.php.net/?id=20786&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20786&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20786&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20786&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20786&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20786&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20786&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20786&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20786&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20786&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20786&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20786&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20786&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20786&r=isapi