Edit report at https://bugs.php.net/bug.php?id=61859&edit=1
ID: 61859
Comment by: gencer at cmail dot cm
Reported by: gencer at cmail dot cm
Summary: pdo fails on make
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: CentOS 5.8 x86_64
PHP Version: 5.4.1
Block user comment: N
Private report: N
New Comment:
Here is the full configure pattern:
'./configure' '--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--localstatedir=/var' '--sharedstatedir=/usr/com'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--cache-file=../config.cache' '--with-libdir=lib64'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--disable-debug' '--with-pic' '--disable-rpath'
'--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr'
'--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm'
'--with-gettext' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex'
'--with-zlib' '--with-layout=GNU' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-sockets'
'--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop'
'--enable-calendar' '--with-libxml-dir=/usr' '--enable-libxml'
'--with-xmlrpc' '--enable-xml' '--with-system-tzdata'
'--with-mhash' '--with-mysql' '--with-gd' '--enable-dom'
'--disable-dba' '--without-unixODBC--disable-xmlreader'
'--disable-xmlwriter' '--without-sqlite' '--with-sqlite3'
'--enable-phar' '--enable-fileinfo' '--enable-json'
'--without-pspell' '--disable-wddx' '--without-curl'
'--disable-posix' '--disable-sysvmsg' '--disable-sysvshm'
'--disable-sysvsem' '--enable-pdo' '--enable-mbstring'
'--enable-fastcgi' '--with-mcrypt' '--enable-fpm'
'--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql'
'--enable-pcntl' '--with-imap=../imap/imap-2007f' '--with-imap-ssl'
'--with-pgsql=/usr/pgsql-9.1' '--with-pdo-pgsql=/usr/pgsql-9.1'
Please allow me to remind this. This is not only for postgresql also pdo_mysql and pdo_sqlite too.
These errors happend to me after i updated/upgraded my linux system to the latest updates/versions.
(like gcc, glibc etc.) All updates are stable and released by CentOS (but not by other 3rd parties).
Few weeks ago i havd no errors with this. But now i have.
Previous Comments:
------------------------------------------------------------------------
[2012-04-30 21:08:17] sixd@php.net
What were the original configure options (and other commands, if any) you used
that produced the failure?
------------------------------------------------------------------------
[2012-04-26 20:04:08] gencer at cmail dot cm
Switched to the Compile Failure.
Issue seems to be applied on all version of PHP 5.4 with updated CentOS 5.8.
------------------------------------------------------------------------
[2012-04-26 19:55:49] gencer at cmail dot cm
Description:
------------
PDO (mysql, pgsql, mssql, sqlite ...) fails on make.
After i update my Centos to the latest version i got these errors...
When i configure (./configure) i changed the pdo, pdo_mysql, pdo_sqlite directories and .h files
inside them:
#include "pdo/php_pdo.h"
#include "pdo/php_pdo_driver.h"
to
#include "ext/pdo/php_pdo.h"
#include "ext/pdo/php_pdo_driver.h"
And it worked.
Expected result:
----------------
make should build fine
Actual result:
--------------
/installers/php/php-5.4.1/ext/pdo_pgsql/pdo_pgsql.c:28:25: error: pdo/php_pdo.h: No such file or
directory
/installers/php/php-5.4.1/ext/pdo_pgsql/pdo_pgsql.c:29:32: error: pdo/php_pdo_driver.h: No such file
or directory
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61859&edit=1