← Back to team overview

ius-community team mailing list archive

Re: php-pgsql php 5.3 and pg 8.4

 


On Jun 14, 2010, at 11:11 PM, Ketema Harris wrote:
> 
> I do believe that the actual compilation succeeded, but obviously the RPM was not built.  This was a pretty cool
> learning experience, but I think I will wait till the pro's build an RPM as I have no idea how I would move forward
> from here.
> 

I have spent some time building php53-pgsql84 out.  I can successfully build with Mock [1] using the following:

$ bzr branch lp:~ius-coredev/ius/php53-pgsql84
$ cd php53-pgsql84
$ rpmbuild -bs SPECS/php53-pgsql84.spec
$ mock -r ius-5-x86_64 rebuild SRPMS/php53-pgsql84-5.3.2-1.ius.src.rpm


That said, I'm having to rebuild php53 first to generate the new 5.x repositories (for RHEL EUS - but that's another conversation) and then can submit official builds for php53-pgsql84.  In the meantime however, I have put my local mock build online if you would like to test that out:

$ sudo yum install postgresql84-libs

$ wget http://iuscommunity.org/tmp/php53-pgsql84-5.3.2-1.ius.el5.x86_64.rpm

$ sudo rpm -Uvh php53-pgsql84-5.3.2-1.ius.el5.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:php53-pgsql84          ########################################### [100%]

$ rpm -qa | grep php
php53-5.3.2-5.ius.el5
php53-cli-5.3.2-5.ius.el5
php53-pear-1.8.1-3.ius.el5
php53-common-5.3.2-5.ius.el5
php53-pgsql84-5.3.2-1.ius.el5
php53-pdo-5.3.2-5.ius.el5

$ php -m | grep pgsql
pdo_pgsql
pgsql


References:

[1] http://wiki.iuscommunity.org/Doc/DeveloperGuide#Building_Packages_with_Fedora_Mock

---
BJ Dierkes
Linux Systems Engineer IV / [RH]acker
Infrastructure Services [Development]
Rackspace Hosting




References