Edit report at http://bugs.php.net/bug.php?id=52747&edit=1
ID: 52747 Updated by: ahar...@php.net Reported by: jiang_lingbing at hotmail dot com Summary: Failure when compiling( with mysql 5.1.50 installed) -Status: Open +Status: Assigned Type: Bug -Package: Compile Failure +Package: MySQLi related Operating System: Debian 6 PHP Version: 5.3.3 -Assigned To: +Assigned To: mysql Block user comment: N Previous Comments: ------------------------------------------------------------------------ [2010-08-30 21:26:16] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52747&edit=1