php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67555 Cannot build against libpq 7.3
Submitted: 2014-07-02 19:26 UTC Modified: 2014-07-02 19:31 UTC
From: aharvey@php.net Assigned: aharvey (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 5.6.0RC1 OS: Irrelevant
Private report: No CVE-ID: None
 [2014-07-02 19:26 UTC] aharvey@php.net
Description:
------------
Attempting to build ext/pgsql against libpq 7.3 results in the following:

cc -Iext/pgsql/ -I/vagrant/php-src/ext/pgsql/ -DPHP_ATOM_INC -I/vagrant/php-src/include -I/vagrant/php-src/main -I/vagrant/php-src -I/vagrant/php-src/ext/date/lib -I/vagrant/php-src/ext/ereg/regex -I/opt/postgresql/7.3.21/include -I/vagrant/php-src/TSRM -I/vagrant/php-src/Zend -g -fvisibility=hidden -O0 -Wall -c /vagrant/php-src/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.o
/vagrant/php-src/ext/pgsql/pgsql.c: In function ‘zm_startup_pgsql’:
/vagrant/php-src/ext/pgsql/pgsql.c:1130: error: ‘CONNECTION_SSL_STARTUP’ undeclared (first use in this function)
/vagrant/php-src/ext/pgsql/pgsql.c:1130: error: (Each undeclared identifier is reported only once
/vagrant/php-src/ext/pgsql/pgsql.c:1130: error: for each function it appears in.)

config.m4 doesn't check for this constant, nor is it currently #ifdef'd.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-02 19:27 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2014-07-02 19:31 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2014-07-02 19:31 UTC] aharvey@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

https://github.com/php/php-src/commit/c580d9b69caffbf2c75ff18c08c99cc9b78d96f1
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC