missing sqlcli1.h during compiling...
| From: | Unknown Sender | Date: | Tue, 04 Jul 2000 18:54:17 +0000 |
| Subject: | missing sqlcli1.h during compiling... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4795@lists.php.net to get a copy of this message | ||
I am running DB2 6.1 Client on a Linux (SuSE 6.3) client. I have apache
1.3.12 and I am trying to compile PHP 3.0.16 w/ DB2 support into
apache. The error I am getting is:
gcc -g -O2 -O2 -I/usr/src/php-3.0.16 -I.
-I/usr/src/apache_1.3.12/src/include
-I/usr/src/apache_1.3.12/src/os/unix
-I/data01/home/db2inst1/sqllib/include
-I/usr/src/apache_1.3.12/src/lib/expat-lite -c internal_functions.c
-o internal_functions.o
In file included from internal_functions.c:89:
functions/php3_unified_odbc.h:218: sqlcli1.h: No such file or directory
make: *** [internal_functions.o] Error 1
I have searched my machine for sqlcli1.h, but cannot find the file. Is
this an DB2 file? Any thoughts on what I have configured wrong? Here
is the script I am using to configure PHP:
#! /bin/sh
CPPFLAGS="-I/usr/src/expat"
LDFLAGS="-L/usr/src/expat"
ROOT_DIR=/usr/src
APACHE_SRC=$ROOT_DIR/apache_1.3.12
PHP_INI_PATH=/data01/apache/conf
if [ -d $APACHE_SRC ] ; then
$ROOT_DIR/php-3.0.16/configure \
--with-apache=$APACHE_SRC \
--enable-versioning \
--with-config-file-path=$PHP_INI_PATH \
--with-ftp \
--with-ttf \
--with-ibm-db2=/data01/home/db2inst1/sqllib \
--with-xml \
--enable-track-vars \
--enable-magic-quotes
fi