ID: 26887 Updated by: [EMAIL PROTECTED] Reported By: nunoplopes at sapo dot pt -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Win XP PHP Version: 5CVS-2004-01-12 (dev) New Comment:
You're missing some required libraries/headers (iconv). This is not any PHP bug. Ask support questions elsewhere. Previous Comments: ------------------------------------------------------------------------ [2004-01-12 14:50:53] nunoplopes at sapo dot pt 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 this bug report at http://bugs.php.net/?id=26887&edit=1