XML extension not self contained
| From: | Stefan Livieratos | Date: | Sat, 24 Jun 2000 14:36:00 +0000 |
| Subject: | XML extension not self contained | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22228@lists.php.net to get a copy of this message | ||
Hi Sascha,
tried to compile the XML extension outside the PHP tree
and found that I had to apply the following patch:
--- xml.c.cvs Sat Jun 24 16:25:38 2000
+++ xml.c Sat Jun 24 16:25:53 2000
@@ -57,7 +57,6 @@
/* {{{ dynamically loadable module stuff */
#ifdef COMPILE_DL_XML
-# include "dl/phpdl.h"
ZEND_GET_MODULE(xml)
#endif /* COMPILE_DL_XML */
When I called phpize I got these errors:
config.m4:7: warning: AC_TRY_RUN called without default to allow cross
compiling
config.m4:7: warning: AC_TRY_RUN called without default to allow cross
compiling
but I could compile and install the extension without problems.
I also wanted to suggest copying the expat and the XML extension header
files to the target include directory so that other extensions that
rely on XML (like WDDX and domxml) can be compiled as self-contained
extensions.
BTW, could you give me a hint how I could turn the WDDX extension into a
self-contained one (unfortunately I am not a C programmer)?
Regards,
Stefan