Re: ext/pgsql build broken
| From: | Christopher Kings-Lynne | Date: | Sun, 20 Mar 2005 01:54:44 +0000 |
| Subject: | Re: ext/pgsql build broken | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15505@lists.php.net to get a copy of this message | ||
Sorry, just woke up...
Is that all the failure messages? I cannot understand why 2 of the 12 diagnostic codes are not defined and the others are, given that they were all added in one go in PostgreSQL 7.4?? What version of PostgreSQL libpq are you linking against? Also, is this before or after I added the #if HAVE_PQRESULTERRORFIELD on line 486 of pgsql.c? Do these #defines appear in your include dir in postgres_ext.h on your system? ChrisCompile fails now with ext/pgsql after your commits:/usr/src/php5/ext/pgsql/pgsql.c: In function `zm_startup_pgsql': /usr/src/php5/ext/pgsql/pgsql.c:494: error: `PG_DIAG_INTERNAL_POSITION' undeclared (first use in this function) /usr/src/php5/ext/pgsql/pgsql.c:494: error: (Each undeclared identifier is reported only once /usr/src/php5/ext/pgsql/pgsql.c:494: error: for each function it appears in.) /usr/src/php5/ext/pgsql/pgsql.c:495: error: `PG_DIAG_INTERNAL_QUERY' undeclared (first use in this function) /usr/src/php5/ext/pgsql/pgsql.c: In function `zif_pg_result_error_field': /usr/src/php5/ext/pgsql/pgsql.c:3488: error: `PG_DIAG_INTERNAL_POSITION' undeclared (first use in this function) /usr/src/php5/ext/pgsql/pgsql.c:3488: error: `PG_DIAG_INTERNAL_QUERY' undeclared (first use in this function) make: *** [ext/pgsql/pgsql.lo] Error 1