Date: 12/20/00
- Next message: Martin A. Marques: "Re: [PHP-DEV] MySQL php on Debin"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-QA] RE: [PHP-DEV] 4.0.4 Release (Summary of thoughts)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Greg,
Thanks for the information! However, it would probably be better if it were
posted to the developers (php-dev <email protected>) list so that they can
review and incorporate the changes.
--zak
----- Original Message -----
From: <Greg <email protected>>
To: <php-notes <email protected>>
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 <email protected>
> For additional commands, e-mail: php-notes-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Martin A. Marques: "Re: [PHP-DEV] MySQL php on Debin"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-QA] RE: [PHP-DEV] 4.0.4 Release (Summary of thoughts)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

