PHP 4.0 Bug #6985 Updated: Compile error (variable undeclared)
| From: | sniper@php.net | Date: | Sat, 30 Dec 2000 19:10:08 +0000 |
| Subject: | PHP 4.0 Bug #6985 Updated: Compile error (variable undeclared) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42709@lists.php.net to get a copy of this message | ||
ID: 6985
Updated by: sniper
Reported By: juarez@saneago.com.br
Old-Status: Feedback
Status: Closed
Bug Type: Apache related
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-04 09:09:52] sniper@php.net
Is this problem still valid?
Have you tried adding the base install directory
of DB2 to the --with-ibm-db2 parameter?
It defaults to /home/db2inst1/sqllib
And you should be also using the base install directory
for --with-curl..not the source directory.
--Jani
---------------------------------------------------------------------------
[2000-10-03 01:44:17] juarez@saneago.com.br
Hi,
I am using PHP4.0.2 with Apache 1.3.12, in Conectiva Linux 5.1 (similar to RedHat 6.2), trying
to use with IBM DB2 V 6.1 and V 7.1.
I am using this steps:
cd ../apache_1.3.12
./configure --prefix=/www
cd ../php4.0.2
./configure --with-ibm-db2 --with-curl=../curl-7.2.1 --with-apache=../apache_1.3.12
--enable-track-vars
make
make install
cd ../apache_1.3.12
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
make
When I am executing this command "make", I receive that errors:
...
===> src/main
gcc -c -I../os/unix -I../include -DLINUX=2 -I/home/php-4.0.2 -I/home/php-4.0.2/main
-I/home/php-4.0.2/main -I/home/php-4.0.2/Zend -I/home/php-4.0.2/Zend -I/home/php-4.0.2 -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED '../apaci' util.c
util.c: In function 'ap_find_token':
util.c:1368: 'test_char_table' undeclared (first use in this function)
util.c:1368: (Each undeclared identifier is reported only once
util.c:1368: for each function it appears in.)
util.c:1368: 'T_HTTP_TOKEN_STOP' undeclared (first use in this function)
util.c: In function 'ap_escape_shell_cmd':
util.c:1427: 'test_char_table' undeclared (first use in this function)
util.c:1427: 'T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
util.c: In function 'ap_escape_path_segment':
util.c:1554: 'test_char_table' undeclared (first use in this function)
util.c:1554: 'T_ESCAPE_PATH_SEGMENT' undeclared (first use in this function)
util.c: 1583: 'test_char_table' undeclared (first use in this function)
util.c: 1583: 'T_OS_ESCAPE_PATH' undeclared (first use in this function)
make[3]: *** [util.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory '/home/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory '/home/apache_1.3.12'
make: *** [build] Error 2
I am thinking about this errors in relationship with IBM DB2, because when I use mysql, I
haven't any erros.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6985