Bug #52747 [Asn->Csd]: Failure when compiling( with mysql 5.1.50 installed)

From: Date: Fri, 03 Sep 2010 15:35:19 +0000
Subject: Bug #52747 [Asn->Csd]: Failure when compiling( with mysql 5.1.50 installed)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-154070@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52747&edit=1

 ID:                 52747
 Updated by:         uw@php.net
 Reported by:        jiang_lingbing at hotmail dot com
 Summary:            Failure when compiling( with mysql 5.1.50 installed)
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            MySQLi related
 Operating System:   Debian 6
 PHP Version:        5.3.3
 Assigned To:        mysql
 Block user comment: N

 New Comment:

This is a MySQL not a PHP bug

http://bugs.mysql.com/bug.php?id=55846


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


Thread (3 messages)

« previous php.bugs (#154070) next »