RE : 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: RE : Trying to Install PhP-4 Module for PostgreSQL from Ports
Date: 2006-11-12 18:11:09
Message-ID: 20061112181110.84556.qmail@web23113.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

X-No-Archive: true

Sorry, I should have mentioned: the machine is FreeBSD 5.5-RELEASE, and I'm running make install clean in the port for PhP 4.

D.


Desmond Coughlan <coughlandesmond(at)yahoo(dot)fr> a écrit :
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.

--
Des Coughlan
coughlandesmond(at)yahoo(dot)fr

"Un client de plus, c'est un relou de plus..."


---------------------------------
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.

Browse pgsql-general by date

  From Date Subject
Next Message novnov 2006-11-12 18:19:55 Re: Utility to Convert MS SQL Server to Postgres
Previous Message Desmond Coughlan 2006-11-12 18:07:53 Trying to Install PhP-4 Module for PostgreSQL from Ports