Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy
Hi Ashish, Which CentOS version you using? If it is CentOS 6 then instead of building it from source, you can use IUS repo which has latest php packages. Below is the link for the packages in IUS repo for CentOS 6. http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/ I'm

Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy
Take the IUS src.rpm, install it, and get inspiration from its specfile. You'll learn by example. Hope this helps. Sure! That's great advice! Thank you!! Tim On Tue, Mar 24, 2015 at 1:40 PM, Mihamina Rakotomandimby mihamina.rakotomandi...@rktmb.org wrote: On 03/24/2015 05:38 PM, Tim

Re: [CentOS] error building php spec file

2015-03-24 Thread Mihamina Rakotomandimby
On 03/24/2015 05:38 PM, Tim Dunphy wrote: I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 from IUS that way. But also I'm trying to get better at building RPM's. So if anybody has any advice on how to solve this problem, I'd appreciate anything you'd have to say! Take

Re: [CentOS] error building php spec file

2015-03-23 Thread Ashish Yadav
Hi. Which CentOS version you using? If it is CentOS 6 then instead of building it from source, you can use IUS repo which has latest php packages. Below is the link for the packages in IUS repo for CentOS 6. http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/ --Regards

[CentOS] error building php spec file

2015-03-23 Thread Tim Dunphy
Hey all, I'm attempting to build a spec file of php 5.6.7 - the latest stable - into an rpm. And it's failing with this set of errors: Processing files: php-5.6.7-1.el7.x86_64 warning: File listed twice: /etc/rc.d/init.d/php-fpm error: Symlink points to BuildRoot: /usr/bin/phar -