Thank you for using PHP. config.status: creating php5.spec config.status: creating main/build-defs.h config.status: creating scripts/phpize config.status: creating scripts/man1/phpize.1 config.status: creating scripts/php-config config.status: creating scripts/man1/php-config.1 config.status: creating main/php_config.h config.status: executing default commands /bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/php-5.1.1/work/php-5.1.1/meta_ccld -Iext/libxml/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend -D_REENTRANT -O2 -march=pentium-m -mtune=pentium-m -pipe -pthread -DZTS -prefer-pic -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c -o ext/libxml/libxml.lo /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:38:27: error: libxml/parser.h: No such file or directory /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:39:36: error: libxml/parserInternals.h: No such file or directory /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:40:25: error: libxml/tree.h: No such file or directory /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:41:24: error: libxml/uri.h: No such file or directory /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:42:29: error: libxml/xmlerror.h: No such file or directory /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:43:28: error: libxml/xmlsave.h: No such file or directory In file included from /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:48: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:53: error: syntax error before 'xmlNodePtr' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:53: warning: no semicolon at end of struct or union /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:56: error: syntax error before '}' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:56: warning: data definition has no type or storage class /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:60: error: syntax error before 'php_libxml_node_ptr' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:60: warning: no semicolon at end of struct or union /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:63: error: syntax error before '}' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:63: warning: data definition has no type or storage class /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:73: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:74: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:75: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:76: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:77: error: syntax error before 'php_libxml_import_node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:77: warning: data definition has no type or storage class /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:80: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/php_libxml.h:82: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:115: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_dec_node': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:119: error: 'nodeptr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:119: error: (Each undeclared identifier is reported only once /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:119: error: for each function it appears in.) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:121: error: 'XML_DOCUMENT_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:133: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_clear_object': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:135: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:138: error: 'tsrm_ls' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:142: error: syntax error before 'nodep' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_unregister_node': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:144: error: 'wrapper' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:146: error: 'nodeptr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:146: error: 'nodep' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:151: error: 'tsrm_ls' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:160: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_node_free': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:162: error: 'node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:164: error: syntax error before ')' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:167: error: 'XML_ATTRIBUTE_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:168: error: 'xmlAttrPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:168: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:170: error: 'XML_ENTITY_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:171: error: 'XML_ELEMENT_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:172: error: 'XML_ATTRIBUTE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:174: error: 'XML_NOTATION_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:179: error: 'xmlEntityPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:179: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:180: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:182: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:183: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:187: error: 'XML_NAMESPACE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:192: error: 'XML_ELEMENT_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:199: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_node_free_list': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:201: error: 'xmlNodePtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:201: error: syntax error before 'curnode' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:203: error: 'node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:204: error: 'curnode' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:209: error: 'XML_NOTATION_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:211: error: 'XML_ENTITY_REF_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:212: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:214: error: 'XML_ATTRIBUTE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:215: error: 'XML_DTD_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:216: error: 'XML_DOCUMENT_TYPE_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:217: error: 'XML_ENTITY_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:218: error: 'XML_ATTRIBUTE_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:219: error: 'XML_NAMESPACE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:220: error: 'tsrm_ls' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:224: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_streams_IO_open_wrapper': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:260: error: 'xmlURI' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:260: error: 'uri' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:264: error: 'xmlChar' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:264: error: syntax error before ')' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:266: warning: assignment makes pointer from integer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:336: error: syntax error before 'php_libxml_input_buffer_create_filename' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:336: error: syntax error before 'xmlCharEncoding' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_input_buffer_create_filename': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:338: error: 'xmlParserInputBufferPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:338: error: syntax error before 'ret' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:341: error: 'URI' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:342: warning: return makes integer from pointer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:347: warning: return makes integer from pointer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:351: error: 'ret' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:351: error: 'enc' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:363: error: syntax error before 'php_libxml_output_buffer_create_filename' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:364: error: syntax error before 'xmlCharEncodingHandlerPtr' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_output_buffer_create_filename': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:367: error: 'xmlOutputBufferPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:367: error: syntax error before 'ret' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:368: error: 'xmlURIPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:372: error: 'URI' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:373: warning: return makes integer from pointer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:375: error: 'puri' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:378: warning: assignment makes pointer from integer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:393: warning: return makes integer from pointer without a cast /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:397: error: 'ret' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:397: error: 'encoder' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:407: error: syntax error before 'error' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function '_php_libxml_free_error': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:409: error: 'error' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:413: error: syntax error before 'error' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function '_php_list_set_error_structure': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:415: error: 'xmlError' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:415: error: syntax error before 'error_copy' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:420: error: 'error_copy' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:422: error: 'error' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:426: error: 'XML_ERR_INTERNAL_ERROR' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:427: error: 'XML_ERR_ERROR' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:433: error: 'msg' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_ctx_error_level': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:448: error: 'xmlParserCtxtPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:448: error: syntax error before 'parser' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:450: error: 'parser' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:450: error: syntax error before 'ctx' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:525: error: syntax error before 'xmlErrorPtr' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_structured_error_handler': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:527: error: 'error' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'zm_startup_libxml': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:586: error: 'LIBXML_VERSION' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:587: error: 'LIBXML_DOTTED_VERSION' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:590: error: 'XML_PARSE_NOENT' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:591: error: 'XML_PARSE_DTDLOAD' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:592: error: 'XML_PARSE_DTDATTR' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:593: error: 'XML_PARSE_DTDVALID' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:594: error: 'XML_PARSE_NOERROR' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:595: error: 'XML_PARSE_NOWARNING' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:596: error: 'XML_PARSE_NOBLANKS' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:597: error: 'XML_PARSE_XINCLUDE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:598: error: 'XML_PARSE_NSCLEAN' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:599: error: 'XML_PARSE_NOCDATA' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:600: error: 'XML_PARSE_NONET' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:608: error: 'XML_ERR_NONE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:609: error: 'XML_ERR_WARNING' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:610: error: 'XML_ERR_ERROR' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:611: error: 'XML_ERR_FATAL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'zm_info_libxml': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:662: error: 'LIBXML_DOTTED_VERSION' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'zif_libxml_use_internal_errors': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:690: error: 'xmlStructuredErrorFunc' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:690: error: syntax error before 'current_handler' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:697: error: 'current_handler' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:697: error: 'xmlStructuredError' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:719: error: 'xmlError' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'zif_libxml_get_last_error': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:730: error: 'xmlErrorPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:730: error: syntax error before 'error' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:732: error: 'error' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'zif_libxml_get_errors': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:761: error: 'xmlErrorPtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:761: error: syntax error before 'error' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:769: error: 'error' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:847: error: syntax error before 'php_libxml_import_node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_import_node': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:850: error: 'xmlNodePtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:850: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:859: error: 'node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:867: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_increment_node_ptr': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:871: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:871: error: 'node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:876: error: 'tsrm_ls' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:884: error: 'private_data' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:899: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_decrement_node_ptr': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:901: error: 'obj_node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:903: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:904: error: syntax error before ')' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:918: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_increment_doc_ref': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:921: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:924: error: 'docp' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:935: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_decrement_doc_ref': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:938: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:942: error: 'xmlDoc' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:942: error: syntax error before ')' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:955: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_node_free_resource': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:957: error: 'node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:962: error: 'XML_DOCUMENT_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:963: error: 'XML_HTML_DOCUMENT_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:966: error: 'XML_NAMESPACE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:967: error: 'xmlNodePtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:967: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:970: error: 'XML_ATTRIBUTE_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:971: error: 'XML_DTD_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:972: error: 'XML_DOCUMENT_TYPE_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:973: error: 'XML_ENTITY_DECL' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:974: error: 'XML_ATTRIBUTE_NODE' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:978: error: syntax error before 'node' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:980: error: 'tsrm_ls' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: At top level: /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:990: error: syntax error before '*' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c: In function 'php_libxml_node_decrement_resource': /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:993: error: 'xmlNodePtr' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:993: error: syntax error before 'nodep' /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:994: error: 'obj_node' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:996: error: 'object' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:997: error: syntax error before ')' token /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:998: error: 'nodep' undeclared (first use in this function) /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/libxml/libxml.c:999: error: 'tsrm_ls' undeclared (first use in this function) make: *** [ext/libxml/libxml.lo] Error 1 !!! ERROR: dev-lang/php-5.1.1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile php-5.1.1.ebuild, line 128: Called src_compile_normal php-5.1.1.ebuild, line 244: Called php5_1-sapi_src_compile !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1_pre4 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.91.0.5 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.iu-bremen.de/gentoo/mirror/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa apache2 asf atlas audiofile avi bash-completion berkdb bindist bitmap-fonts browserplugin bzip2 bzlib calendar cdparanoia cdr cpdflib crypt ctype cups dba dedicated dga dio directfb divx4linux doc dts dvd dvdr dvdread encode ethereal exif fbcon ffmpeg firefox flac flash fortran ftp gcj gd ggi gif glut gphoto2 gpm gtk gtk2 gtkhtml hal howl iconv icq ieee1394 imagemagick imap imlib innodb ipv6 ithreads java javascript jpeg junit kde kdeenablefinal lame lcms libcaca libwww live mad matroska mcal ming mmx mmx2 mono monodoc moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi msn mysql ncurses nis nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcmcia pdf pdflib perl php pic pie plotutils png portaudio posix ppds prelude python qt quicktime readline real samba scanner sdl session sharedext simplexml slang sndfile soap sockets spell spl sse sse2 ssl subversion svg symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales utf v4l vcd video videos vidix-voodoo3 visualization vorbis vorbix wifi win32codecs wmf wxwindows x86 xft xine xml xml2 xprint xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Compiles fine here, please post the output of 'emerge -pv =dev-lang/php-5*' so that we can check your use flags...
These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/php-5.1.1 USE="apache2 berkdb bzip2 calendar crypt ctype dba doc exif ftp gd iconv imap ipv6 ming mysql ncurses nls pic posix readline session sharedext simplexml soap sockets spell spl ssl threads tokenizer truetype xml xsl zlib -adabas -apache -bcmath -birdstep -cdb -cgi -cjk -cli -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gdbm -gmp -hardenedphp -hyperwave-api -informix -inifile -interbase -iodbc -java-external -kerberos -ldap -libedit -mcve -memlimit -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pcre -pdo -pdo-external -postgres -qdbm -recode -sapdb -sasl -sharedmem -snmp -solid -sqlite -sybase -sybase-ct -sysvipc -tidy -vm-goto -vm-switch -wddx -xmlreader -xmlrpc -xpm -yaz -zip" 0 kB Total size of downloads: 0 kB NOTE: I re-emerged libxml2 and then it worked. Should I close the bug?
Thanks for reporting back, closing.