Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25642 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31691 invoked by uid 1010); 13 Sep 2006 01:00:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31676 invoked from network); 13 Sep 2006 01:00:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2006 01:00:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=rrichards@ctindustries.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rrichards@ctindustries.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ctindustries.net from 216.117.147.250 cause and error) X-PHP-List-Original-Sender: rrichards@ctindustries.net X-Host-Fingerprint: 216.117.147.250 unknown Linux 2.4/2.6 Received: from [216.117.147.250] ([216.117.147.250:45698] helo=ctindustries.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/C0-02095-42857054 for ; Tue, 12 Sep 2006 21:00:22 -0400 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by ctindustries.net (8.12.8/8.12.8) with ESMTP id k8D0v5M0020087; Tue, 12 Sep 2006 20:57:08 -0400 Message-ID: <4507580B.70301@ctindustries.net> Date: Tue, 12 Sep 2006 20:59:55 -0400 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Stanislav Malyshev CC: "'PHP Internals'" References: <45072B31.2070301@zend.com> In-Reply-To: <45072B31.2070301@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/1864/Tue Sep 12 04:54:22 2006 on ctindustries.net X-Virus-Status: Clean Subject: Re: [PHP-DEV] libxml2 build for php 5.2 on windows From: rrichards@ctindustries.net (Rob Richards) Stanislav Malyshev wrote: > I am trying to build php 5.2 on Windows with Visual. So far I managed to > build everything except for libxml2 dependencies, which do not seem to > work. So could anyone please clarify the following matters: > 1. What libxml2 version is required for 5.2 build? > 2.6.26 built using the LIBXML_STATIC_FOR_DLL flag. > 2. Should 5.2 build use static or dynamic (dll) version of libxml2? > It should be using the static version included from: http://ctindustries.net/libxml/. The library was not renamed as to minimize the change. > 3. libxml.c seems to use symbol xmlDllMain - which is built in libxml2 > only when LIBXML_STATIC_FOR_DLL symbol is defined, however standard > builds of libxml2 never define this symbol, at least in latest version > 2.6.26. > I am working on getting this lib built by default within the standard release. At that time, I will change the required lib as I have proposed to name it libxml2_a_dll.lib. > 4. General question - PHP 5 requires a number of libraries that PHP 4 > did not, such as iconv, libxml2, etc. However, these libraries are not > included in win32build package, and also binaris available online not > always work cleanly with PHP. Would not it be good to update this > package with all binaries needed to build standard PHP 5? > This would require the win32build package to be versioned so that the correct version of libxml2 is used (needs to support the symbols being exported from the .def file). Rob