[TriLUG] PHP RPMs and XSLT
Joseph Tate
jtate at dragonstrider.com
Thu Apr 24 10:09:47 EDT 2003
Grab the RH source RPM, install it, edit the spec file adding
"--enable-xslt --with-xslt-sablot" to the configure line, and rpmbuild
-ba php.spec. Then you'll have it built into the PHP file.
If you must have it built as a shared module, it's really quite simple.
Just copy the stuff for the mysql or imap extension, and modify it as
needs be for the xslt extension. This I don't recommend.
I've got RPMS for php 4.3.0 if anyone wants those. They have domxml and
cracklib support built in.
Joseph
Jeff Tickle wrote:
>Hey TriLUG...
>
>Well, I had major plans to attend the last meeting, but at the last
>minute something came up. I hate those things that always come up at
>the last minute. Next month, I'll kill them. :-P
>
>Anyways, I'm sorry if this is a bit off topic, but I'm not entirely sure
>where to go about this one.
>
>The only RPM for php-xslt that I can find is for PHP 4.2.3-9. Of
>course, the one that ships with RH9 is PHP 4.2.2-whatever, which ain't
>going to work. I can't find any RPMs for 4.2.3-9 for RedHat, and when I
>try to install the ones built for other flavors of Linux, of course,
>there are plenty of dependencies that I don't have the patience to
>resolve.
>
>And that's why I use RPM in the first place: impatience. Compiling
>things is fun and all, but it's ever so nice to just have it where it
>needs to be, when it needs to be.
>
>So I removed all my PHP RPMs and compiled it myself. Can't get XSLT to
>work that way. Besides, that really defeats the purpose of RPM. If
>there's a problem, it doesn't need to be worked around, it needs to be
>fixed.
>
>Sorry. Rant there. And I know... "You can help by fixing the
>problems, because its open source!" It's great. Except I don't have a
>single clue where to begin! Can anyone help me here? If someone can
>tell me where to get more recent PHP RPMs for RH Linux, or how to get
>XSLT to work with the RPM'd PHP, or whatever, I would appreciate it.
>
>Thanks
>
>-Jeff
>
>
More information about the TriLUG
mailing list