#37309 [NEW]: Cannot Configure against mysql 5.0.21

From: Date: Thu, 04 May 2006 14:41:51 +0000
Subject: #37309 [NEW]: Cannot Configure against mysql 5.0.21
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96599@lists.php.net to get a copy of this message
From: aren at epithna dot com Operating system: Linux Slackware 10.2 PHP version: 5.1.3 PHP Bug Type: MySQL related Bug description: Cannot Configure against mysql 5.0.21 Description: ------------ During a round of Upgrades yesterday I attempted to build php 5.1.3 against my newly upgraded (from 5.0.16 to 5.0.21) MYSQL install. I get a configure error. I was previously able to configure and build against 5.0.16. I reextracted the PHP 5.1.3 source (in a new directory) just to be sure everything was clean, that didn't fix anything. Config line: './configure' '--with-apxs2=/net-services/apache22/bin/apxs' '--with-mysql=/net-services/mysql-max-5.0.21-linux-i686' '--with-gd' '--with-zlib-dir=/usr/lib' '--with-imap=/usr/lib/imap-2002e' '--with-mysqli=/net-services/mysql-max-5.0.21-linux-i686/bin/mysql_config' '--enable-mbstring' Reproduce code: --------------- Error: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no 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. Expected result: ---------------- Clip from Bottom of config.log: #line 58779 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); int main() { mysql_error() ; return 0; } -- Edit bug report at http://bugs.php.net/?id=37309&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37309&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37309&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37309&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37309&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37309&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37309&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37309&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37309&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37309&r=support Expected behavior: http://bugs.php.net/fix.php?id=37309&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37309&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37309&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37309&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37309&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37309&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37309&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37309&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37309&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37309&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37309&r=mysqlcfg

« previous php.bugs (#96599) next »