Re: note 10252 added to DOM XML functions

From: Date: Wed, 20 Dec 2000 21:14:00 +0000
Subject: Re: note 10252 added to DOM XML functions
References: 1  Groups: php.dev php.notes 
Request: Send a blank email to php-dev+get-41998@lists.php.net to get a copy of this message
Dear Greg, Thanks for the information! However, it would probably be better if it were posted to the developers (php-dev@lists.php.net) list so that they can review and incorporate the changes. --zak ----- Original Message ----- From: <Greg@dyrectmedia.com> To: <php-notes@lists.php.net> Sent: Wednesday, December 20, 2000 2:10 PM Subject: [PHP-NOTES] note 10252 added to DOM XML functions > If you installed php4.0.3, you have to hack the files a bit in order to get this to work right. > > I am included my install procedure NOTE: I also install sablotron, and several other packages... (thanks to chek.com for the help). > > 1. Apply patch to fix sablot > > --- php-4.0.3pl1/ext/sablot/config.m4.orig Wed Dec 20 08:48:56 2000 > +++ php-4.0.3pl1/ext/sablot/config.m4 Wed Dec 20 08:11:27 2000 > @@ -27,5 +27,6 @@ > PHP_SUBST(SABLOT_SHARED_LIBADD) AC_ADD_LIBRARY_WITH_PATH(sablot, $SABLOT_DIR/lib, \ > SABLOT_SHARED_LIBADD) > - > + AC_ADD_LIBRARY(xmltok) > + AC_ADD_LIBRARY(xmlparse) > AC_DEFINE(HAVE_SABLOT,1,[ ]) > > 2. Run buildconf > > 3. Run ./configure > ./configure --with-mysql=/usr/local/mysql \ > --with-apxs=/usr/local/apache/bin/apxs --with-sablot=/usr/local \ > --with-dom=/usr/local/lib/libxml --with-xml --enable-calender --with-gd \ > --with-pdflib=/home/chris/tmp/pdflib-3.02/pdflib --enable-track-vars \ > --with-zlib-dir=/usr --with-ttf=/usr/local/include --with-jpeg-dir=/usr \ > --with-tiff-dir=/usr --with-fdftk=/usr/lib/C --enable-ftp \ > --with-openssl=/usr/local/ssl --with-swf=/usr/local/swf \ > --enable-sablot-errors-descriptive --enable-wddx 2>&1 | tee \ > configure.out > > 4. Apply patch to fix zend_extensions > > --- php-4.0.3pl1/Zend/zend_extensions.c.orig Wed Dec 20 08:29:47 2000 > +++ php-4.0.3pl1/Zend/zend_extensions.c Wed Dec 20 08:30:25 2000 > @@ -142,4 +142,5 @@ > static void zend_extension_startup(zend_extension *extension) > > +#if ZEND_EXTENSIONS_SUPPORT > if (extension->startup) { > if (extension->startup(extension)!=SUCCESS) { > @@ -147,4 +148,5 @@ > } > } > +#endif > } > > 5. Make > 6. Make install > > http://www.php.net/manual/ref.domxml.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: php-notes-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#41998) next »