Hi All We are having a problem compiling PHP 5.2.3 under win32.
Building PHP on Win32 using VS2005 following the instructions at http://hu2.php.net/manual/en/install.windows.building.php the build fails unless libxml support is disabled. If it is configured as cscript /nologo configure.js --enable-embed --enable-debug --without-libxml then the build is ok. But in this case calls to xml_parser_create() results fatal error in the PHP scripts BTW should disabling libxml also disables simplexml?. When it is built with libxml support as cscript /nologo configure.js --enable-embed --enable-debug then the compiler fails with errors like w:\1\php-5.2.3\ext\dom\xml_common.h(27) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(32) : error C2061: syntax error : identifier 'php_libxml_ref_obj' w:\1\php-5.2.3\ext\dom\xml_common.h(35) : error C2059: syntax error : '}' w:\1\php-5.2.3\ext\dom\xml_common.h(51) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2143: syntax error : missing ')' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2081: 'dom_object' : name in formal parameter list illegal w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2059: syntax error : 'type' w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2059: syntax error : ')' w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2143: syntax error : missing ')' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2059: syntax error : ')' w:\1\php-5.2.3\ext\dom\php_dom.h(71) : error C2061: syntax error : identifier 'dom_object' w:\1\php-5.2.3\ext\dom\php_dom.h(77) : error C2059: syntax error : '}' w:\1\php-5.2.3\ext\dom\php_dom.h(86) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2061: syntax error : identifier 'dom_get_doc_props' w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2059: syntax error : ';' w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2143: syntax error : missing ')' before '*' w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2059: syntax error : ')' w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2143: syntax error : missing ')' before '*' w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2143: syntax error : missing '{' before '*' w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2059: syntax error : ')' Libxml is built and the headers and the libs are placed to the win32build folder, we are currently trying to build against libxml 2.6.2.26 Can anyone point us in the right direction to get this resolved? Thanks in advance Marco