RE: [PHP-INST] OpenLink problems..
| From: | Andrew Hill | Date: | Tue, 19 Dec 2000 14:17:13 +0000 |
| Subject: | RE: [PHP-INST] OpenLink problems.. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1286@lists.php.net to get a copy of this message | ||
Tjena Fredrik,
This is a bug in the php_odbc.c file - one line needs to be changed.
Do a search for
SQLINTEGER len;
and change it to
SDWORD len;
The PHP bug report:
http://bugs.php.net/bugs.php?id=5526
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Director Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology Provider
> -----Original Message-----
> From: Fredrik.Palm@notes.sema.se [mailto:Fredrik.Palm@notes.sema.se]
> Sent: Tuesday, December 19, 2000 7:27 AM
> To: php-install@lists.php.net
> Subject: [PHP-INST] OpenLink problems..
>
>
> 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.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>