From: mswartz at itgs-presearch dot com Operating system: Linux/Solaris PHP version: 5.0.2 PHP Bug Type: Compile Failure Bug description: expat not working
Description: ------------ I believe that there are issues with expat and php5. First I'm aware that expat is no longer bundled and the flag --with-libexpat-dir is deprecated. But if I use the deprecated flag on some systems xml functions will work at runtime. On other systems the following error occurs when being configured configure: error: libxml2 version 2.5.10 or greater required. This error happens with the use of --disable-libxml. Using the new flag --with-expat-dir there are no issues at compile time on the solaris or linux system used but at runtime the following error is produced: Fatal error: Call to undefined function xml_parser_create() Reproduce code: --------------- command line with old flag: ./configure --prefix=$Prefix --with-mysql=$Prefix --with-curl=$Prefix --with-apxs2=$Prefix/bin/apxs --with-gd --with-png-dir=$Prefix --with-zlib --disable-debug --disable-libxml --with-libexpat-dir=$Prefix --enable-shared --enable-dbase && make && make install command line with new flag: ./configure --prefix=$Prefix --with-mysql=$Prefix --with-curl=$Prefix --with-apxs2=$Prefix/bin/apxs --with-gd --with-png-dir=$Prefix --with-zlib --disable-debug --disable-libxml --with-expat-dir=$Prefix --enable-shared --enable-dbase && make -- Edit bug report at http://bugs.php.net/?id=30514&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30514&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30514&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30514&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30514&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30514&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30514&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30514&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30514&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30514&r=support Expected behavior: http://bugs.php.net/fix.php?id=30514&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30514&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30514&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30514&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30514&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30514&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30514&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30514&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30514&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30514&r=mysqlcfg