I'm trying to gather apache+php+db2.
I configure php with next command line :
./configure --with-ibm-db2=/home/db2inst1/sqllib --with-apache=../apache_1.3.27rusPL30.16 --with-mod_charset
But make output such errors:
In file included from /root/src/php-4.3.0/ext/odbc/php_odbc.c:37:
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:176:21: sqlcli1.h: No such
file or directory
In file included from /root/src/php-4.3.0/ext/odbc/php_odbc.c:37:
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:208: parse error before
"SQLHANDLE"
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:208: warning: no semicolon
at end of struct or union
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:209: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:211:
SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:214: parse error before '}'
token
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:214: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:220: parse error before
"SDWORD"
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:220: warning: no semicolon
at end of struct or union
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:221: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:224: parse error before
"SQLHANDLE"
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:224: warning: no semicolon
at end of struct or union
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:226: parse error before '*'
token
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:226: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:227: parse error before
"numcols"
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:227: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:228: parse error before
"numparams"
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:228: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:235: parse error before '*'
token
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:235: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:236: parse error before '}'
token
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:236: warning: data
definition has no type or storage class
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:252:SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/root/src/php-4.3.0/ext/odbc/php_odbc_includes.h:255: confused by earlier
errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
What is the problem?