PHP make fails (db2 and informix)
| From: | Chris dot Kulish at ing-bdn dot com | Date: | Thu, 20 Sep 2001 13:41:08 +0000 |
| Subject: | PHP make fails (db2 and informix) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4357@lists.php.net to get a copy of this message | ||
Morning All,
I am currently trying to compile PHP4.0.6 (with both informix and db2
support) on a Redhat 7.1 based system. The source was obtain from php.net,
blah blah blah. Everything is pretty standard on this end. Here is my
configure command:
./configure --with-ibm-db2=/usr/IBMdb2/V7.1 --with-informix
And this is the error I get when I make:
In file included from /usr/IBMdb2/V7.1/include/sqlcli1.h:42,
from /root/temp/php-4.0.6/ext/odbc/php_odbc.h:170,
from internal_functions.c:38:
/usr/IBMdb2/V7.1/include/sqlcli.h:323: parse error before `7'
/usr/IBMdb2/V7.1/include/sqlcli.h:326: parse error before `5'
Some C programmer types have told me it has something to do with the "
#define SQLDATE" in the .h files for either informix or db2.
Being the non-programmer that I am, this didnt help much...
Our developers have a test system up and running and using their excellent
documentation skills (none), we have no documentation on how they munged it
to get it going.
I found some references to this error around, but couldnt locate a
resolution. Thanks for any help!
-----
Chris Kulish
Systems Engineer
ING Advisors Network
Ph. (515) 698-7583
Fx. (515) 698-3583
-----