php-general | 2001062
Date: 06/28/01
- Next message: CC Zona: "Re: [PHP] Postcard/Tell a friend app"
- Previous message: Gyozo Papp: "Re: [PHP] problems with round .."
- In reply to: Rouvas Stathis: "[PHP] --with-zlib/--with-zlib-dir and --enable-xslt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
well, maybe this helps: [from the manual]
---- "Installation This extension uses expat, which can be found at http://www.jclark.com/xml/. The Makefile that comes with expat does not build a library by default, you can use this make rule for that: libexpat.a: $(OBJS) ar -rc $@ $(OBJS) ranlib $@ A source RPM package of expat can be found at http://www.guardian.no/~ssb/phpxml.html.Note that if you are using Apache-1.3.7 or later, you already have the required expat library. Simply configure PHP using --with-xml (without any additional path) and it will automatically use the expat library built into Apache.
On UNIX, run configure with the --with-xml option. The expat library should be installed somewhere your compiler can find it. If you compile PHP as a module for Apache 1.3.9 or later, PHP will automatically use the bundled expat library from Apache. You may need to set CPPFLAGS and LDFLAGS in your environment before running configure if you have installed expat somewhere exotic.
Build PHP. Tada! That should be it." ----
So, expat doesn't build its library by default, but if you use apache (>=1.3.9) it says PHP will find it. Try --with-xml as it is suggested... and as said that should be it. BTW, I've also very big headache to install PHP 4.0.5 with-sablot or with-xslt and that was *not* it (i gave up). I would appreciate if you post me what steps are required to make a proper PHP installation with xml & xslt support.
Best of luck,
Papp Gyozo - pgerzson <email protected>
----- Original Message ----- From: "Rouvas Stathis" <rouvas <email protected>> Cc: <php-general <email protected>> Sent: 2001. június 26. 16:47 Subject: [PHP] --with-zlib/--with-zlib-dir and --enable-xslt
> Hi, > > Been trying to compile PHP.4.0.6 with --with-zlib directive and failing. > Using --with-zlib-dir, however succeeds. > > Does anyone knows the difference between the two ? > > Also, in a related problem, if I try with --enable-xslt I get the > following results: > > checking for XML support... yes > checking external libexpat install dir... no > checking whether to enable xslt support... yes > checking whether to enable the XSLT Sablotron backend... no > checking libexpat dir for Sablotron XSL support... no > configure: error: not found. Please re-install the distribution > > ??? > > -Stathis. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: CC Zona: "Re: [PHP] Postcard/Tell a friend app"
- Previous message: Gyozo Papp: "Re: [PHP] problems with round .."
- In reply to: Rouvas Stathis: "[PHP] --with-zlib/--with-zlib-dir and --enable-xslt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

