Edit report at https://bugs.php.net/bug.php?id=61859&edit=1

 ID:                 61859
 Updated by:         ahar...@php.net
 Reported by:        gencer at cmail dot cm
 Summary:            pdo fails on make
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   CentOS 5.8 x86_64
 PHP Version:        5.4.1
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-08-21 08:28:40] paszczak000 at gmail dot com

Package glibc-2.12-1.80.el6_3.4.x86_64 already installed and latest version
Package gcc-4.4.6-4.el6.x86_64 already installed and latest version
Package glibc-devel-2.12-1.80.el6_3.4.x86_64 already installed and latest 
version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version

Manually changing dirs helps, but this is workaround.

------------------------------------------------------------------------
[2012-08-21 08:24:50] gencer at cmail dot cm

@paszczak000

It is all because of GLIBC and GCC. Make sure that you have autoconf installed. 
Re unpack tar.gz and recompile again. If this bug still exist manually change 
pdo/ with ext/pdo in .h files.

I hope this helps.

(yum install glibc gcc glibc-devel autoconf)

------------------------------------------------------------------------
[2012-08-21 07:45:09] paszczak000 at gmail dot com

The same result with: 5.4.6 on CentOS release 6.3 (Final).

------------------------------------------------------------------------
[2012-06-16 09:01:29] paszczak000 at gmail dot com

The same error I have on CentOS release 6.2 (Final) - 
2.6.32-220.13.1.el6.centos.plus.x86_64.

./configure --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-curl --with-freetype-dir=/usr --with-gd --enable-gd-jis-conv 
--enable-gd-native-ttf --with-gdbm --with-gmp --enable-mbstring --with-iconv 
--with-jpeg-dir=/usr --with-pspell -with-zlib --with-zlib-dir=/usr/include 
--with-layout=GNU --enable-exif --enable-ftp --enable-sockets --enable-sysvsem 
--enable-sysvshm --enable-sysvmsg --enable-wddx --with-unixODBC=shared,/usr 
--enable-shmop --enable-calendar --without-sqlite3 --without-pdo-sqlite 
--with-libxml-dir=/usr --with-mhash --with-mcrypt --with-apxs2 --disable-dba 
--without-unixODBC --enable-json --with-mysql --with-mysqli --enable-soap 
--with-imap-ssl --with-imap --with-openssl --with-kerberos --enable-bcmath 
--with-pdo-mysql --with-pear=/usr/lib/php --with-gettext

But version PHP 5.4.1 with the same options in compiling very well.

------------------------------------------------------------------------
[2012-05-01 06:44:14] gencer at cmail dot cm

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.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61859


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61859&edit=1

Reply via email to