php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52747 Failure when compiling( with mysql 5.1.50 installed)
Submitted: 2010-08-30 21:26 UTC Modified: 2010-09-03 17:35 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:0 (0.0%)
From: jiang_lingbing at hotmail dot com Assigned: mysql (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.3.3 OS: Debian 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jiang_lingbing at hotmail dot com
New email:
PHP Version: OS:

 

 [2010-08-30 21:26 UTC] jiang_lingbing at hotmail dot com
Description:
------------
I have installed mysql 5.1.50, php 5.2.14 with php-fpm
I want to install php 5.3.3 with:
'./configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-iconv-dir' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--enable-safe-mode' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex''--enable-fpm''--enable-mbstring' '--with-mcrypt' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--with-pear' '--with-gettext''--enable-exif'  '--with-fpm-user=www'  '--with-fpm-group=www'

but it said:
/usr/local/mysql/include/mysql/my_global.h:626:25: error: my_compiler.h: No such file or directory
make: *** [ext/mysqli/mysqli.lo] Error 1

I found someone had the same problem here:
http://www.directadmin.com/forum/showthread.php?p=186047
He said after downgrade mysql to 5.1.49, everything works fine.

Test script:
---------------
cd php-5.3.3
./buildconf --force
'./configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-iconv-dir' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--enable-safe-mode' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex''--enable-fpm''--enable-mbstring' '--with-mcrypt' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--with-pear' '--with-gettext' '--enable-exif'  '--with-fpm-user=www'  '--with-fpm-group=www'
make all install

Expected result:
----------------
Everything works fine.

Actual result:
--------------
/usr/local/mysql/include/mysql/my_global.h:626:25: error: my_compiler.h: No such file or directory
make: *** [ext/mysqli/mysqli.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-31 10:09 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Package: Compile Failure +Package: MySQLi related -Assigned To: +Assigned To: mysql
 [2010-09-03 17:35 UTC] uw@php.net
-Status: Assigned +Status: Closed
 [2010-09-03 17:35 UTC] uw@php.net
This is a MySQL not a PHP bug

http://bugs.mysql.com/bug.php?id=55846
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 09:01:32 2025 UTC