-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Aleksandar Milivojevic Sent: Thursday, December 29, 2005 6:51 AM To: CentOS mailing list Subject: Re: [CentOS] Building PHP PECL modules
Jim Perrin wrote:
The packaging of addition php-pear modules is currently being discussed, but has some issues with it. In the mean time some, if not all of the php modules you want are available via yum from dag.wieers.com/packages and centos.karan.org. While not official centos packages, both packagers are very active in centos development and are quite good.
I know about those, but as usual, I need some more stuff ;-)
Anyhow, would be nice to know how Dag and Karanbir managed to compile PECL modules.
--------------------------------------------------------
As far as the SQLite package, I just ran into this and evidently SQLite is enabled by default in php, however the centos rpm is explicity set to turn off SQLite support. So, I just snagged the source rpm, edited the SPEC file to remove the --without-sqlite and voila, my custom rpm with SQLite installed.
Hope that's helpful.
On Thu, Dec 29, 2005 at 08:36:35AM -0600, Bassett, Mark enlightened us:
As far as the SQLite package, I just ran into this and evidently SQLite is enabled by default in php, however the centos rpm is explicity set to turn off SQLite support. So, I just snagged the source rpm, edited the SPEC file to remove the --without-sqlite and voila, my custom rpm with SQLite installed.
Hope that's helpful.
I'm guessing that comes from upstream, since they don't distribute SQLite. Perhaps a RFE for the CentOS php rpm to enable that would be in order if enough folks think it should be included since CentOS *does* distribute SQLite.
Matt
On Thu, 2005-12-29 at 09:41 -0500, Matt Hyclak wrote:
On Thu, Dec 29, 2005 at 08:36:35AM -0600, Bassett, Mark enlightened us:
As far as the SQLite package, I just ran into this and evidently SQLite is enabled by default in php, however the centos rpm is explicity set to turn off SQLite support. So, I just snagged the source rpm, edited the SPEC file to remove the --without-sqlite and voila, my custom rpm with SQLite installed.
Hope that's helpful.
I'm guessing that comes from upstream, since they don't distribute SQLite. Perhaps a RFE for the CentOS php rpm to enable that would be in order if enough folks think it should be included since CentOS *does* distribute SQLite.
We distribute SQLite only for yum ... and that doesn't require SQLite PHP support :)
We won't (I don't think) compile the PHP4 with SQLite support, so as to maintain compatibility with upstream ... though I don't have a problem with SQLite being in the php5 that is in CentOSPlus
On Thu, Dec 29, 2005 at 09:05:23AM -0600, Johnny Hughes enlightened us:
On Thu, Dec 29, 2005 at 08:36:35AM -0600, Bassett, Mark enlightened us:
As far as the SQLite package, I just ran into this and evidently SQLite is enabled by default in php, however the centos rpm is explicity set to turn off SQLite support. So, I just snagged the source rpm, edited the SPEC file to remove the --without-sqlite and voila, my custom rpm with SQLite installed.
Hope that's helpful.
I'm guessing that comes from upstream, since they don't distribute SQLite. Perhaps a RFE for the CentOS php rpm to enable that would be in order if enough folks think it should be included since CentOS *does* distribute SQLite.
We distribute SQLite only for yum ... and that doesn't require SQLite PHP support :)
We won't (I don't think) compile the PHP4 with SQLite support, so as to maintain compatibility with upstream ... though I don't have a problem with SQLite being in the php5 that is in CentOSPlus
Yeah, that would probably be the best place for that.
Matt
Quoting "Bassett, Mark" Mark.Bassett@owh.com:
As far as the SQLite package, I just ran into this and evidently SQLite is enabled by default in php, however the centos rpm is explicity set to turn off SQLite support. So, I just snagged the source rpm, edited the SPEC file to remove the --without-sqlite and voila, my custom rpm with SQLite installed.
It would be, if SQLite was the only thing from PECL that I needed. However, I really need to be able to build/install random PECL modules (not just specific ones). It seems that I'm getting the same error message for every PECL module that I tried out (included in my original question).
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.