Re: XML extension not self contained

From: Date: Sat, 24 Jun 2000 15:47:54 +0000
Subject: Re: XML extension not self contained
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22231@lists.php.net to get a copy of this message
On Sat, 24 Jun 2000, Stefan Livieratos wrote: > 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 */ > I've cleaned that up. > 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. Those are harmless warnings. > 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. They get installed now. > 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)? WDDX builds only in the PHP tree currently. - Sascha

« previous php.dev (#22231) next »