From: Operating system: CentOS 4.8 PHP version: Irrelevant Package: *Configuration Issues Bug Type: Bug Bug description:problem with configure and mysql
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 bug report at http://bugs.php.net/bug.php?id=54510&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54510&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54510&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54510&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54510&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54510&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54510&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54510&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54510&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54510&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54510&r=support Expected behavior: http://bugs.php.net/fix.php?id=54510&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54510&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54510&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54510&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54510&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54510&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54510&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54510&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54510&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54510&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54510&r=mysqlcfg
