Hi,

This is an update on my problem mentionned below.

I switched back from php-4.0.4pl1 to php-4.0.2 (which worked last
september) and could compile without problems PHP with PostgreSQL support
(--with-pgsql). Don't know if any version in between 4.0.2 and 4.0.4pl1
also works, but 4.0.2 does the job. 

Seems version 4.0.4pl1 of PHP is buggy with respect to PostgreSQL support
...

I now have Apache-1.3.14 + Apache_Jserv-1.1.2 + PHP4.0.2 (--with-pgsql
and --with-Informix (for a Informix 2000 database) all statically 
compiled-in.


Thanks to [EMAIL PROTECTED] who's shell script helped
much to get the --with-Informix part compiled into PHP. 

Pieter

  _______________
 / Pieter Donche \____________________________________________
 | I.T. Manager                 e-mail [EMAIL PROTECTED] \
 | Dept. Mathem. & Computer Science     tel +32(0)3/820.24.29 |
 | University of Antwerp, room A2.23    fax +32(0)3/820.24.21 |
 | (UIA) Universiteitsplein 1,  B 2610 Wilrijk,  BELGIUM (EU) |
 |____________________________________________________________|

On Fri, 26 Jan 2001, Pieter.Donche wrote:

> Hi,
> 
> I have a problem with PHP-4.0.4pl1 when building support for
> PostgreSQL. In september I succeeded compiling in PostgresQL
> support in PHP-4.0.2 and making an Apache_1.3.12.
> 
> Now with PHP-4.0.4pl1 I get an error when make'ing PHP with
> PostgreSQL support
> 
> My configuration is:
> ./configure --with-apache=$SOURCETOPDIR/$APACHE_VER \
>             --without-mysql \
>             --with-pgsql
> 
> Our PostgreSQL is 6.3.2 and we are using it for a long time already
> with previous Apache versions (also with 1.3.12). It's installed in 
> /usr/local/pgsql which is also the default place where PHP looks for it.
> 
> Make'ing PHP aborts with:
> ...
> gcc  -I. -I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1/main 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1 
>-I/home/wins/cosslocal/src/other/apache_1.3.14/src/include 
>-I/home/wins/cosslocal/src/other/apache_1.3.14/src/os/unix 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1/Zend 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/xml/expat/xmltok 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/xml/expat/xmlparse 
>-I/home/wins/cosslocal/src/other/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include 
>-D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2  -c pgsql.c && touch pgsql.lo
> pgsql.c: In function `php_if_pg_put_line':
> pgsql.c:750: void value not ignored as it ought to be
> 
> gmake[3]: *** [pgsql.lo] Error 1
> gmake[3]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext'
> gmake: *** [all-recursive] Error 1
> 
> 
> Has anyone experienced the same error ?
> Any idea what is going on?
> 
> Pieter
> 
>   _______________
>  / Pieter Donche \____________________________________________
>  | I.T. Manager                 e-mail [EMAIL PROTECTED] \
>  | Dept. Mathem. & Computer Science     tel +32(0)3/820.24.29 |
>  | University of Antwerp, room A2.23    fax +32(0)3/820.24.21 |
>  | (UIA) Universiteitsplein 1,  B 2610 Wilrijk,  BELGIUM (EU) |
>  |____________________________________________________________|
> 
> 


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to