From: adamg at pld-linux dot org Operating system: Irrelevant PHP version: 5CVS-2004-12-08 (dev) PHP Bug Type: Compile Failure Bug description: Logic error in ext/mssql/config.m4
Description: ------------ As of 5.0.3RC1 following line was introduced in ext/mssql/config.m4 if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" || test ! -r "$F REETDS_INSTALLATION_DIR/lib/libtds.so"; then Which, translated into human, means: "IF either libtds.a OR libtds.so is not readable by, fail" Which is a nonsense, since it requires presence of both of the files - otherwise configure script will refuse to compile. Obviously the || should be changed to &&. --- php-5.0.3RC1/ext/mssql/config.m4~ 2004-11-22 20:45:17.000000000 +0100 +++ php-5.0.3RC1/ext/mssql/config.m4 2004-12-08 11:53:48.786803952 +0100 @@ -32,7 +32,7 @@ fi fi - if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" || test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then + if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" && test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.[a|so]) fi -- Edit bug report at http://bugs.php.net/?id=31020&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31020&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31020&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31020&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31020&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31020&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31020&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31020&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31020&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31020&r=support Expected behavior: http://bugs.php.net/fix.php?id=31020&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31020&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31020&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31020&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31020&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31020&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31020&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31020&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31020&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31020&r=mysqlcfg