Re: Building on Win32
| From: | Rob Richards | Date: | Fri, 13 Jun 2003 23:22:19 +0000 |
| Subject: | Re: Building on Win32 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2323@lists.php.net to get a copy of this message | ||
From: Andi Gutmans
> So can someone tell me where the build stands, what the instructions are
> and how we can get rid of the need of using a patched version of libxml2?
On windows, you really dont need that giant patch.
Currently it does need xmlInitThreads in the libxml2.def.src/libxml2.def
(depending if you want to run configure again or not), if you want to use
libxml as a shared dll. If you compile it statically (add LIBXML_STATIC=1 to
the preprocessor definitions) you dont have to worry about adding the export
declaration or recompiling libxml.
If we dump the call the xmlInitThreads in xml extension, then a patched
version is no longer needed. Currently this is an empty function, but
supposedly will be used in the near future.
Also for php4dllts project make sure HAVE_XML is in the preprocessor
definitions.
If this still doesnt work, send the errors you get compiling.
Rob