Bug #58987 | PHP 5.3.4 won't compile with MySQL 5.5.8 GA | ||
---|---|---|---|
Submitted: | 16 Dec 2010 21:56 | Modified: | 17 Dec 2010 17:13 |
Reporter: | Ronald Bradford | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
Version: | 5.5.8 | OS: | Linux (CentOS 5.5 i386) |
Assigned to: | CPU Architecture: | Any | |
Tags: | compiling, MySQL, packaging, php |
[16 Dec 2010 21:56]
Ronald Bradford
[16 Dec 2010 21:57]
Ronald Bradford
PHP 5.3.4 is the current stable version of PHP
[17 Dec 2010 2:50]
Paul DuBois
Looks like Bug#51925 is still an issue. I downloaded a Mac OS X 5.5.8 binary distribution and all the header files are still installed in a single directory. That is, the heirarchy of the header files in the source tree is not respected: All headers are "flattened" into a single install directory.
[17 Dec 2010 11:23]
Sveta Smirnova
Thank you for the report. Please confirm if this is duplicate of bug #51925: try workaround there (option -I/opt/mysql55/include).
[17 Dec 2010 15:26]
Ronald Bradford
Problem still exists. cd /opt/src/php-5.3.4 make clean make # confirm error in place make clean ./configure --prefix=/opt/php-5.3.4 --with-apxs2=/opt/httpd/bin/apxs --with-mysqli=/opt/mysql55/bin/mysql_config --enable-mbstring --with-zlib make -I/opt/mysql55/include # Error still exists
[17 Dec 2010 16:50]
Ronald Bradford
A workaround that requires no code changes is: --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
[17 Dec 2010 17:02]
Sveta Smirnova
Thank you for the feedback. Got error: ----<q>---- /opt/mysql55/include/services.h:21:39: error: mysql/service_my_snprintf.h: No such file or directory /opt/mysql55/include/services.h:22:37: error: mysql/service_thd_alloc.h: No such file or directory /opt/mysql55/include/services.h:23:36: error: mysql/service_thd_wait.h: No such file or directory /opt/mysql55/include/services.h:24:44: error: mysql/service_thread_scheduler.h: No such file or directory ----</q>----- Even having proper options will not help. But this still duplicate of bug #51925
[17 Dec 2010 17:13]
Ronald Bradford
Happy for you to report as duplicate, seems likely from what I've seen.