Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30171 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61787 invoked by uid 1010); 14 Jun 2007 10:33:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61771 invoked from network); 14 Jun 2007 10:33:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2007 10:33:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=markright@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=markright@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.239 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: markright@gmail.com X-Host-Fingerprint: 64.233.184.239 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.239] ([64.233.184.239:19004] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/3A-04769-06911764 for ; Thu, 14 Jun 2007 06:33:07 -0400 Received: by wr-out-0506.google.com with SMTP id 58so445862wri for ; Thu, 14 Jun 2007 03:33:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=nSI40OnXBAEMPvjZRjIaNQIhFBZWuuW9L/vzyJ8A5/RZ3mHQrzKfrg8LY3t5j9+oavbcMWn7dNRe0E0cPfcX98cMXCIEy0CxW7+mJXSFTmJBOLJ0mXwdgHjIiwC0si0FOGpKjYcgL8sRGK0hQH0456neHa6CLbThl2MtqOOmXWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=o8oC4KITO6awqQjzdwiBHiJAMdfYiH9EdVRVLzlZAnRldEQMxxsx+dM35BDydsVBglUcxJv/QwHLj/SHfqAhxfgkYjg7eB4V+yqgAFKOwdf4eHBET75/fxD5yf5bgIonWq8m6o2zyrWQC33BD3wbIGmDfFQqGnSky7uS5iqknQs= Received: by 10.78.146.11 with SMTP id t11mr610344hud.1181817179875; Thu, 14 Jun 2007 03:32:59 -0700 (PDT) Received: by 10.78.158.5 with HTTP; Thu, 14 Jun 2007 03:32:59 -0700 (PDT) Message-ID: <2fd662a00706140332w3902034as3335972ef096412@mail.gmail.com> Date: Thu, 14 Jun 2007 12:32:59 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24926_30228928.1181817179858" Subject: PHP 5.2.3 and libxml compile failure on Win32 From: markright@gmail.com (Marco) ------=_Part_24926_30228928.1181817179858 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_24926_30228928.1181817179858--