Re: libxml2 build for php 5.2 on windows
| From: | Stanislav Malyshev | Date: | Wed, 13 Sep 2006 01:16:04 +0000 |
| Subject: | Re: libxml2 build for php 5.2 on windows | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25643@lists.php.net to get a copy of this message | ||
Hi!
Thanks for the quick answer!
> 2.6.26 built using the LIBXML_STATIC_FOR_DLL flag.
Ehm, ok. The problem is that it is not possible to define this flag in
any way but by hand-editing makefile. Which reinforces my point about
keeping working one in win32build zip.
> It should be using the static version included from:
> http://ctindustries.net/libxml/. The library was not renamed as
> to
> minimize the change.
This URL does not seem to be alive, anyway - what is this URL? It's not
standard libxml2 place - where one finds it out (except for asking on
the list each time one want to build PHP ;)
> 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.
Please do not forget to update .dsp files then.
> 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).
Does it mean older PHP versions won't build with newer libxml? Ouch.
Then I guess we need versioned files. Because right now building 5.2 on
windows is very non-obvious to say the least and there's no reason why
it should stay that way. Anyway, since older version did not have libxml
at all, I think it won't be too bad adding one,
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/