OpenLink problems..
| From: | Fredrik dot Palm at notes dot sema dot se | Date: | Tue, 19 Dec 2000 12:26:59 +0000 |
| Subject: | OpenLink problems.. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1280@lists.php.net to get a copy of this message | ||
Hello!
I've read the HOWTO on how to install Openlink with PHP at www.iodbc.org
and I'm having some problems..
I've downloaded all the latest versions of apache / php and the libraries
and SDK (Linux glibc2.1.1) at openlinksw.com / iodbc.org. When I try out
the connection with odbctest it works perfectly fine, but when I try to
compile PHP (v 4.0.3pl1) it hangs with a couple of errors :
------// snip //-------
make[3]: Entering directory `/root/php-4.0.3pl1/ext/odbc'
/bin/sh /root/php-4.0.3pl1/libtool --silent --mode=compile gcc -I.
-I/root/php-4.0.3pl1/ext/odbc -I/root/php-4.0.3pl1
-I/root/php-4.0.3pl1/main -I/usr/include/apache -I/root/php-4.0.3pl1/Zend
-I/root/php-4.0.3pl1 -I/home/openlink/odbcsdk/include
-I/root/php-4.0.3pl1/ext/xml/expat/xmltok
-I/root/php-4.0.3pl1/ext/xml/expat/xmlparse -I/root/php-4.0.3pl1/TSRM
-DEAPI -DXML_BYTE_ORDER=12 -g -O2 -c php_odbc.c
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:619: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:619: (Each undeclared identifier is reported only once
php_odbc.c:619: for each function it appears in.)
php_odbc.c:619: parse error before `len'
php_odbc.c:648: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.3pl1/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.3pl1/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1
[root@umea_2 php-4.0.3pl1]#
--------//snip//-------
Anyone have a clue on what's going wrong ?
// Fredrik Palm.