Re: Can't compile 4.0.2 with Easysoft ODBC-ODBC Bridge
| From: | Martin J. Evans | Date: | Mon, 11 Sep 2000 12:19:36 +0000 |
| Subject: | Re: Can't compile 4.0.2 with Easysoft ODBC-ODBC Bridge | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32900@lists.php.net to get a copy of this message | ||
Brian Knotts wrote:
>
> Not sure if I'm missing something or what, but I am not able to compile PHP
> 4.0.2 with Easysoft ODBC-ODBC Bridge.
>
> Here is the Easysoft version info:
>
> version: /users/bknotts/odbc-odbc-bridge-1.0.0.15.linux-glibc
> date: Fri Jul 14 10:06:33 PDT 2000
>
> And my configure line:
>
> ./configure --with-apache=/usr/local/new_apache/apache_1.3.12 --with-gd=no
> --with-mysql=/usr/local --with-esoob --enable-sysvshm=yes --enable-sysvsem=yes
> --enable-track-vars=yes --with-mhash --with-mcrypt
>
> And the tail end of what happens when I try to build:
>
<snipped stuff>
> In file included from /usr/local/new_apache/php-4.0.2/ext/odbc/php_odbc.h:106,
> from internal_functions.c:40:
> /usr/local/easysoft/oob/client/include/sqlext.h:1970: parse error before
> `SQLHANDLE'
> make[2]: *** [internal_functions.lo] Error 1
> make[2]: Leaving directory `/usr/local/new_apache/php-4.0.2/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/new_apache/php-4.0.2/main'
> make: *** [all-recursive] Error 1
>
> Any suggestions/ideas would be greatly appreciated. 3.0.13 compiles fine, BTW.
You need updated header files (sqlext.h and sqltypes.h) - see the OOB
news
group at Easysoft
(news://news.easysoft.com/easysoft.public.da2k.odbc-odbc-bridge).
Alternatively, download 1.0.0.18 for Linux which has the
correct headers.
Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development