Date: 09/17/00
- Next message: drew <email protected>: "[PHP-DEV] PHP 4.0 Bug #6795: Problem with the value of $PATH_TRANSLATED"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6611 Updated: Array append syntax cause script exit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: aubrey <email protected>
Operating system: Linux 6.2
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: Openlink ODBC
I am trying to compile PHP4 with Openlink Support. I can successfully run odbctest and connect to my database. Before I compile PHP I make sure that my environment settings are correct. When I compile I get errors in the ODBC section. On looking at the Makefile in the ODBC section I notice references to libodbc.la which does not exist on my machine. I do have a libiodbc.la though, but even if I change the references in the Makefile, it does not work. If I compile without Openlink support it works fine but I don't have Openlink Access.
Here is my configure command:
./configure --with-apxs --with-mysql --with-openlink=/usr/openlink --wit
h-xml --enable-versioning --enable-track-vars
Here is the problem:
Making all in odbc
make[2]: Entering directory `/home/aubrey/php-4.0.2/ext/odbc'
make[3]: Entering directory `/home/aubrey/php-4.0.2/ext/odbc'
/bin/sh /home/aubrey/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/home/
aubrey/php-4.0.2/ext/odbc -I/home/aubrey/php-4.0.2 -I/home/aubrey/php-4.0.2/main
-I/usr/include/apache -I/home/aubrey/php-4.0.2/Zend -I/home/aubrey/php-4.0.2 -I
/usr/include/freetype -I/usr/include/gd -I/home/aubrey/php-4.0.2/ext/mysql/libmy
sql -I/usr/openlink/odbcsdk/include -I/home/aubrey/php-4.0.2/ext/xml/expat/xmlto
k -I/home/aubrey/php-4.0.2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12
-g -O2 -c php_odbc.c
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:610: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:610: (Each undeclared identifier is reported only once
php_odbc.c:610: for each function it appears in.)
php_odbc.c:610: parse error before `len'
php_odbc.c:638: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
make[3]: Leaving directory `/home/aubrey/php-4.0.2/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aubrey/php-4.0.2/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aubrey/php-4.0.2/ext'
make: *** [all-recursive] Error 1
Your help would be greatly appreciated
Aubrey
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: drew <email protected>: "[PHP-DEV] PHP 4.0 Bug #6795: Problem with the value of $PATH_TRANSLATED"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6611 Updated: Array append syntax cause script exit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

