Trying to Install PhP-4 Module for PostgreSQL from Ports

From: Desmond Coughlan <coughlandesmond(at)yahoo(dot)fr>
To: pgsql mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Trying to Install PhP-4 Module for PostgreSQL from Ports
Date: 2006-11-12 18:07:53
Message-ID: 20061112180753.9287.qmail@web23105.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

X-No-Archive: true

Hi. As title. I'm getting a host of syntax errors, the last ten lines of which are ...

NV_READ' undeclared (first use in this function) /usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:1937: error: `INV_WRITE' undeclared (first use in this function) /usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:1967: error: structure has no member named `conn'
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:1979: error: structure has no member named `conn'
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c: In function `zif_pg_lo_close':
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:2006: error: `PGconn' undeclared (first use in this function)
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:2006: error: syntax error before ')' token
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c: At top level:
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:2009: error: syntax error before "else"
/usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql/pgsql.c:41:1: unterminated #if
*** Error code 1
Stop in /usr/ports/databases/php4-pgsql/work/php-4.4.4/ext/pgsql.
*** Error code 1
Stop in /usr/ports/databases/php4-pgsql.
[root(at)rachi]/usr/ports/databases/php4-pgsql(153):

A quick google search reveals that I'm not the only one to have encountered this, but the "solution' suggested on some sites ..

http://groups.google.fr/group/mailing.www.php-dev/browse_frm/thread/90bb0cf0397934ee/346aeafb9f08e128?lnk=st&q=freebsd+pgsql.c&rnum=4&hl=fr#346aeafb9f08e128

... didn't have any effect.

D.


---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Desmond Coughlan 2006-11-12 18:11:09 RE : Trying to Install PhP-4 Module for PostgreSQL from Ports
Previous Message Jorge Godoy 2006-11-12 17:58:31 Re: Why isn't it allowed to create an index in a schema other than public?