RE : Trying to Install PhP-4 Module for PostgreSQL from Ports

Started by Desmond Coughlanover 19 years ago1 messagesgeneral
Jump to latest
#1Desmond Coughlan
coughlandesmond@yahoo.fr

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@yahoo.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@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&amp;q=freebsd+pgsql.c&amp;rnum=4&amp;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@yahoo.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.