Hello,

I finally managed to connect to the OS/390 DB2 database from my Linux/S390 using
the command line interface. What I would like to do
next is to write a PHP application to get my query results shown on a web page.
I tried to reconfigure PHP with the --with-ibm-db2 option
but the make install failed with the following message:

gcc  -I. -I/usr/local/share/php-4.0.6/main -I/usr/local/share/php-4.0.6/main
-I/usr/local/share/php-4.0.6 -I/usr/local/share/php-4.0.6/Zend
-I/usr/local/share/php-4.0.6/ext/mysql/libmysql -I/home/db2inst2/sqllib/include
-I/usr/local/share/php-4.0.6/ext/xml/expat/xmltok
-I/usr/local/share/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/local/share/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c
internal_functions.c && touch internal_functions.lo
In file included from internal_functions.c:33:
/usr/local/share/php-4.0.6/ext/odbc/php_odbc.h:170: sqlcli1.h: No such file or
directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/share/php-4.0.6/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/share/php-4.0.6/main'
make: *** [install-recursive] Error 1

I think that I need the software developer kit for DB2. Is it available for
Linux/S390? It does not seem to be on the CD-ROM with the DB2 Runtime Client
V7.2 for Linux/S390.

Any help would be greatly appreciated.

best regards,
Thomas

Reply via email to