Bug #4988
can't build plphp with PostgreSQL 8.0.
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
When trying to build plphp I've got this:
$ make -s In file included from plphp.c:64: /usr/include/php5/main/php.h:278: error: âDebugâ redeclared as different kind of symbol /usr/local/pgsql//include/server/tcop/dest.h:83: error: previous definition of âDebugâ was here ...
I'm running php 5.1 (php5-dev Ubuntu package) and postgresql 8.0. This is clearly a conflict between symbol definitions in PHP and PostgreSQL sources. However, with postgresql 8.1 plphp builds successfully, because tcop/dest.h doesn't have 'Debug' symbol there (from the PHP side of things, every PHP distro I have seen so far had Debug declared in php.h). We should fix this or require postgresql 8.1 and above.
Updated by Alexey Klyukin almost 18 years ago
- Status changed from New to Closed
- Resolution set to fixed
Fixed in r50.