Hey,
I can't get Win32 to build anymore. Sebastian sent me some patched libxml2
include files and now the build complains about missing iconv.h and not
about the missing libxml2 includes anymore.
We need to get this whole build going again in a pretty straightforward
manner. I understand that the libxml2 version which is needed is a patched
version which isn't too good.
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?
Thanks,
Andi
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
Andi Gutmans wrote:
now the build complains about missing iconv.h
iconv is a libxml2 dependency :)
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
http://www.professionelle-softwareentwicklung-mit-php5.de/
At 07:22 PM 6/13/2003 -0400, Rob Richards wrote:
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.
Thanks for the instructions. I'll try them out later on.
Andi