← Back to team overview

ius-community team mailing list archive

Re: php-pgsql php 5.3 and pg 8.4

 

Nope, rpmbuild will fail without the dependencies. 
You're gonna need postgresql-devel from 8.4, I believe postgres builds those rpms so you'll need to install that. Not sure why it's saying those are already installed. Can you do a 

#rpm -qa | grep -i libedit-devel
#rpm -qa | grep -i libmcrypt-devel

and post the results here. I figure you're 64bit so I found the link to the right rpms for postgresql-devel http://yum.pgsqlrpms.org/8.4/redhat/rhel-5Server-x86_64/

If not just search around there for the right postgresql-devel for your os. 


On Jun 14, 2010, at 9:59 PM, Ketema Harris wrote:

> Thank you very much for the help.  I will ask on the list you suggested, but I also attempted to follow your instructions mysself.
> 
> I got as far as:
> 
> error: Failed build dependencies:
> 	libedit-devel is needed by php53-5.3.2-5.ius.x86_64
> 	postgresql-devel is needed by php53-5.3.2-5.ius.x86_64
> 	libmcrypt-devel is needed by php53-5.3.2-5.ius.x86_64
> 
> libedit and libmcrypt it failed on Transaction check saying the files were already present and newer.
> 
> I purposely left postgresql-devel out, because I already have 8.4 installed and the devel was saying it was 8.1 again.
> 
> Is there a way to tell rpm build to just go ahead and do it and use the files that are present ?
> 
> thanks
> 
> 
> On Jun 14, 2010, at 10:35 PM, Mike Jennings wrote:
> 
>> 
>> 
>> 
>> On Jun 14, 2010, at 9:14 PM, Ketema Harris wrote:
>> 
>>> Hello.  I am trying to get php with pg support from 8.4.  I have found this community and successfully set up your repo.
>>> 
>>> I have been able to use it to install your php53-pgsql.x86_64 rpm, but this is built against Pg 8.1.  Does anyone have access to php-pgsql that is built against Pg 8.4 (libPQ 5)  ?  If no I am willing to learn how to build an RPM as I have successfully built php against Pg 8.4 on other machines with different distro's
>>> 
>>> I am running CentOS 5 on x86_64 architecture.  I appreciate any help or guidance on how to get this accomplished.
>> 
>> And of course, you can always ask in https://answers.launchpad.net/ius if BJ or another dev can build you a one-off rpm for this. 
>> 
>> 
>>> 
>>> Thanks
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~ius-community
>>> Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~ius-community
>>> More help   : https://help.launchpad.net/ListHelp
>> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ius-community
> More help   : https://help.launchpad.net/ListHelp




Follow ups

References