trying to install PhP module from ports

Desmond Coughlan coughlandesmond at yahoo.fr
Mon Nov 13 07:06:36 UTC 2006


X-No-Archive: true
   
  Hi.  As title.  The box is 5.5-RELEASE.  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.


More information about the freebsd-questions mailing list