From: nunoplopes at sapo dot pt Operating system: Win XP PHP version: 5CVS-2004-01-12 (dev) PHP Bug Type: Compile Failure Bug description: PHP fails to compile without libxml
Description: ------------ I've downloaded latest source snapshot and I've tried to compile it using cygwin. It fails because it doesn't find the libxml. I think that ./configure should generate an error if the libxml isn't found. Actual result: -------------- $ make gcc -Iext/libxml/ -I/home/Nuno/php5/ext/libxml/ -DPHP_ATOM_INC -I/home/Nuno/php 5/include -I/home/Nuno/php5/main -I/home/Nuno/php5 -I/home/Nuno/php5/Zend -I/usr /include/libxml2 -I/home/Nuno/php5/TSRM -g -Wall -c /home/Nuno/php5/ext/libxm l/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo In file included from /usr/include/libxml2/libxml/parser.h:655, from /home/Nuno/php5/ext/libxml/libxml.c:38: /usr/include/libxml2/libxml/encoding.h:27:19: iconv.h: No such file or directory In file included from /usr/include/libxml2/libxml/parser.h:655, from /home/Nuno/php5/ext/libxml/libxml.c:38: /usr/include/libxml2/libxml/encoding.h:132: error: syntax error before "iconv_t" /usr/include/libxml2/libxml/encoding.h:132: warning: no semicolon at end of stru ct or union /usr/include/libxml2/libxml/encoding.h:133: warning: type defaults to `int' in d eclaration of `iconv_out' /usr/include/libxml2/libxml/encoding.h:133: warning: data definition has no type or storage class make: *** [ext/libxml/libxml.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=26887&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26887&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26887&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26887&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26887&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26887&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26887&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26887&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26887&r=support Expected behavior: http://bugs.php.net/fix.php?id=26887&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26887&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26887&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26887&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26887&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26887&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26887&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26887&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26887&r=float