From: noor at comrax dot com Operating system: FreeBSD 4.9-STABLE PHP version: 4.3.9 PHP Bug Type: *Configuration Issues Bug description: Configuration problem while compiling-in mnoGoSearch with MySQL support
Description: ------------ I'm trying to build Apache with mod_ssl support, with PHP+MySQL as module with mnoGoSearch+MySQL. After building mnoGoSearch with no problem, I move on to building the rest of the packages: Apache, mod_ssl and PHP. The following presents what happens during this. Reproduce code: --------------- Installtion of mnoGoSearch: *************************** I installed mnoGoSearch in /usr/local/mnogosearch regularly with the following configure command line: ./configure --prefix=/usr/local/mnogosearch --bindir=/usr/local/mnogosearch/bin --sbindir=/usr/local/mnogosearch/sbin --sysconfdir=/usr/local/mnogosearch/etc --localstatedir=/usr/local/mnogosearch/var --libdir=/usr/local/mnogosearch/lib --includedir=/usr/local/mnogosearch/include --mandir=/usr/local/mnogosearch/man --enable-shared --disable-static --enable-syslog --enable-parser --enable-mp3 --enable-file --enable-http --enable-ftp --enable-htdb --enable-news --with-mysql=/usr/local/mysql --enable-freebsd-pthreads The configuration and compilation of mnoGoSearch passes with no aparent problem. I then use it to index a website with no problem. Next, I extract three packages, each in its own directory: apache_1.3.32/ mod_ssl-2.8.21-1.3.32/ php-4.3.9/ Preparation of Installtion of Apache: ************************************* Next, I go into apache_1.3.32/ and type: ./configure This runs smoothly in preparation of PHP's later-on compilation. Installtion of mod_ssl: *********************** Next, I go into mod_ssl-2.8.21-1.3.32/ and type: ./configure --enable-shared --with-apache=../apache_1.3.32 This, also, runs smoothly and prepares mod_ssl module in Apache's src/ directory. Installtion of PHP: ******************* Next, I go into php-4.3.9/ and type: ./configure --prefix=/usr/local --without-pear --disable-cli --disable-debug --disable-cgi --with-xml --enable-bcmath --enable-trans-sid --enable-track-vars --enable-discard-path --with-ftp --with-gd=/usr/local --with-ttf=/usr/local --with-zlib=/usr --with-jpeg-dir=/usr/local --with-mnogosearch --with-mysql=/usr/local/mysql --with-regex=php --enable-sysvsem --enable-sysvshm --enable-shmop --enable-memory-limit --with-config-file-path=/www/etc --with-apache=../apache_1.3.32 Now, here comes the problem! After running for few seconds, configure spits out the following error: . . . checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... (cached) yes checking for type ulong... no checking for type uchar... no checking for type uint... no checking for type ushort... no checking for int8... no checking base type of last arg to accept... socklen_t checking return type of qsort... void checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. This has been the case in two servers -- one running MySQL version 12.22 Distrib 4.0.21, and another running MySQL version 14.6 Distrib 4.1.4-gamma. The same scenario happens in both servers. Furthermore, the same scenario happens with PHP 4.3.7 as well. Expected result: ---------------- N/A Actual result: -------------- N/A -- Edit bug report at http://bugs.php.net/?id=30550&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30550&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30550&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30550&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30550&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30550&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30550&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30550&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30550&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30550&r=support Expected behavior: http://bugs.php.net/fix.php?id=30550&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30550&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30550&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30550&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30550&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30550&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30550&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30550&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30550&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30550&r=mysqlcfg