Bug #54510 [Opn->Wfx]: problem with configure and mysql
| From: | johannes@php.net | Date: | Tue, 12 Apr 2011 13:35:08 +0000 |
| Subject: | Bug #54510 [Opn->Wfx]: problem with configure and mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-160120@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54510&edit=1
ID: 54510
Updated by: johannes@php.net
Reported by: php-bug-report at winnerserv dot com
Summary: problem with configure and mysql
-Status: Open
+Status: Wont fix
Type: Bug
Package: *Configuration Issues
Operating System: CentOS 4.8
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
Previous Comments:
------------------------------------------------------------------------
[2011-04-12 09:16:19] php-bug-report at winnerserv dot com
Description:
------------
the problem is that I need to compile PHP with "Client API version"
which is 4.1.22 and not 3.23.49
this means that I need to compile PHP with "MYSQL_MODULE_TYPE" which is
"external" and not "builtin"
and the problem is to compile PHP with "MYSQL_MODULE_TYPE" which is
"external"
we are talking about 64bit OS , means x86_64
we are talking about centos 4.8
The PHP version is: 4.4.9
Test script:
---------------
LDFLAGS="-L/usr/lib64/mysql" CPPFLAGS="-I/usr/include/mysql" ./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
--with-libdir=lib64 --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir
--with-gd --enable-gd-native-ttf --without-gdbm --with-gettext
--with-ncurses=shared --with-gmp --with-iconv --with-jpeg-dir
--with-openssl --with-png --with-pspell --with-xml --with-expat-dir=/usr
--with-dom=shared,/usr --with-dom-xslt=/usr --with-dom-exslt=/usr
--with-xmlrpc=shared --with-pcre-regex=/usr/lib64 --with-zlib
--with-layout=GNU --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx
--with-pear=/usr/share/pear --with-imap --with-imap-ssl --with-kerberos
--with-ldap=shared --with-mysql --with-mysqli --enable-dom
--with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared
--enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit
--enable-shmop --enable-calendar --enable-dbx --enable-dio
--enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex
--with-mime-magic --enable-dbase --with-apxs2=/usr/sbin/apxs
Expected result:
----------------
compile PHP with "MYSQL_MODULE_TYPE" which is "external"
Actual result:
--------------
sometime I get: configure: error: Cannot find MySQL header files under
sometime I get: configure: error: Cannot find libmysqlclient library
under /usr
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54510&edit=1