PHP4, IBM DB2, and frustration in volumes
So, I'm trying to get PHP 4.3.1 (and I've tried 4.2.3) to compile on my work webserver with the '--with-ibm-db2' tag. DB2 is running on the machine, and working well (even if it's eating insane amounts of CPU cycles and RAM in the process). However, for the life of me I cannot get PHP to compile.
Here's where it errors out:
/home/bdinger/php-4.2.3/ext/odbc/php_odb c.h:270: parse error before "SQLHANDLE"
(lots more like it)
/home/bdinger/php-4.2.3/ext/odbc/php_odb c.h:298: warning: data definition has no type or storage class
/home/bdinger/php-4.2.3/ext/odbc/php_odb c.h:314: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/home/bdinger/php-4.2.3/ext/odbc/php_odb c.h:317: confused by earlier errors, bailing out
Any ideas? Anybody? Here's the kicker, it's working great with MySQL support, compiled without a hitch. Just DB2 is a no-go, and well, I freakin' need DB2 support. It's running RedHat 8/Apache 2.0.44 on a PII Xeon.
(sorry for the cross-post to it_professional and linux, I'm desperate :)
Here's where it errors out:
/home/bdinger/php-4.2.3/ext/odbc/php_odb
(lots more like it)
/home/bdinger/php-4.2.3/ext/odbc/php_odb
/home/bdinger/php-4.2.3/ext/odbc/php_odb
/home/bdinger/php-4.2.3/ext/odbc/php_odb
Any ideas? Anybody? Here's the kicker, it's working great with MySQL support, compiled without a hitch. Just DB2 is a no-go, and well, I freakin' need DB2 support. It's running RedHat 8/Apache 2.0.44 on a PII Xeon.
(sorry for the cross-post to it_professional and linux, I'm desperate :)
