Bug #61859 [Com]: pdo fails on make
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: @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) Previous Comments: [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-mcr
Bug #62771 [Com]: Compiling with Imap-2007f is failed
Edit report at https://bugs.php.net/bug.php?id=62771&edit=1 ID: 62771 Comment by: gencer at cmail dot cm Reported by:gencer at cmail dot cm Summary:Compiling with Imap-2007f is failed Status: Open Type: Bug Package:Compile Failure Operating System: CentOS 6.3 PHP Version:5.4.5 Block user comment: N Private report: N New Comment: Hi, Issue resolved. It seems PHP 5.4.6 has this fix. I am able to install with IMAP feature successfully. Gencer. Previous Comments: [2012-08-07 17:51:31] gencer at cmail dot cm Description: When i try to compile with IMAP, it just thrown an error and say error: utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. Check config.log for additional information. I am trying to use imap-2007f from source. I did make on imap-2007f before compiling PHP and imap relays on /usr/local/imap-2007f I also tried imap-2007e. And yes, libc-client and libc-client-devel is installed by RPM. But the version is 2007e. As i said both 2007e and 2007f gives the same exact error. Here is the config.log -> http://www.mediafire.com/?1qpg27j7xd19l6o I built PHP many times with the exact this configure parameters before. All of them on CentOS 5.8. I am getting this error on 6.3. Weird. Same parameters with centos 5.8 did the job. Most weird thing is; If i only use --with-imap (without path) it gives me the same error. Test script: --- './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-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' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem' '--enable-pdo' '--enable-mbstring' '--enable-fastcgi' '--with-mcrypt' '--enable-fpm' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-pcntl' '--with-imap=../imap-2007f' '--with-imap-ssl' '--with-pgsql=/usr/pgsql-9.2' '--with-pdo-pgsql=/usr/pgsql-9.2' '--with-curl=../curl-7.26.0' Expected result: PHP compiles as it did before on CentOS 5.8. Actual result: -- checking if your cpp allows macro usage in include lines... yes checking for IMAP support... yes checking for IMAP Kerberos support... yes checking for IMAP SSL support... yes checking for utf8_mime2text signature... (cached) old checking for U8T_DECOMPOSE... configure: error: utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. Check config.log for additional information. -- Edit this bug report at https://bugs.php.net/bug.php?id=62771&edit=1
[PHP-BUG] Bug #62771 [NEW]: Compiling with Imap-2007f is failed
From: gencer at cmail dot cm Operating system: CentOS 6.3 PHP version: 5.4.5 Package: Compile Failure Bug Type: Bug Bug description:Compiling with Imap-2007f is failed Description: When i try to compile with IMAP, it just thrown an error and say error: utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. Check config.log for additional information. I am trying to use imap-2007f from source. I did make on imap-2007f before compiling PHP and imap relays on /usr/local/imap-2007f I also tried imap-2007e. And yes, libc-client and libc-client-devel is installed by RPM. But the version is 2007e. As i said both 2007e and 2007f gives the same exact error. Here is the config.log -> http://www.mediafire.com/?1qpg27j7xd19l6o I built PHP many times with the exact this configure parameters before. All of them on CentOS 5.8. I am getting this error on 6.3. Weird. Same parameters with centos 5.8 did the job. Most weird thing is; If i only use --with-imap (without path) it gives me the same error. Test script: --- './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-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' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem' '--enable-pdo' '--enable-mbstring' '--enable-fastcgi' '--with-mcrypt' '--enable-fpm' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-pcntl' '--with-imap=../imap-2007f' '--with-imap-ssl' '--with-pgsql=/usr/pgsql-9.2' '--with-pdo-pgsql=/usr/pgsql-9.2' '--with-curl=../curl-7.26.0' Expected result: PHP compiles as it did before on CentOS 5.8. Actual result: -- checking if your cpp allows macro usage in include lines... yes checking for IMAP support... yes checking for IMAP Kerberos support... yes checking for IMAP SSL support... yes checking for utf8_mime2text signature... (cached) old checking for U8T_DECOMPOSE... configure: error: utf8_mime2text() has old signature, but U8T_CANONICAL is present. This should not happen. Check config.log for additional information. -- Edit bug report at https://bugs.php.net/bug.php?id=62771&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62771&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62771&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62771&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62771&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62771&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62771&r=alreadyfixed Need backtrace: https://bugs.php.net/
Bug #61859 [Com]: pdo fails on make
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] s...@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
Bug #61859 [Opn]: pdo fails on make
Edit report at https://bugs.php.net/bug.php?id=61859&edit=1 ID: 61859 User updated by:gencer at cmail dot cm Reported by:gencer at cmail dot cm Summary:pdo fails on make Status: Open Type: Bug -Package:PDO related +Package:Compile Failure Operating System: CentOS 5.8 x86_64 PHP Version:5.4.1 Block user comment: N Private report: N New Comment: Switched to the Compile Failure. Issue seems to be applied on all version of PHP 5.4 with updated CentOS 5.8. Previous Comments: [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
[PHP-BUG] Bug #61859 [NEW]: pdo fails on make
From: Operating system: CentOS 5.8 x86_64 PHP version: 5.4.1 Package: PDO related Bug Type: Bug Bug description:pdo fails on make 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 bug report at https://bugs.php.net/bug.php?id=61859&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61859&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61859&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61859&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61859&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61859&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61859&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61859&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61859&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61859&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61859&r=support Expected behavior: https://bugs.php.net/fix.php?id=61859&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61859&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61859&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61859&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61859&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=61859&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61859&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61859&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61859&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61859&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61859&r=mysqlcfg