Re: PHP 5.1 rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 30 Apr 2006, mbneto wrote:

> hi,
> 
> I am looking for a spec (or src.rpm) for PHP 5.1.x and CentOS 4.3.
> 
> I've noticed that there is a 5.0.4 in the centosplus directory but no 5.1.
> 
> Any ideas (besides generate my own)?

The FC5 rpms almost build out of the box. Around line 311 in the spec file is
this: CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" Changing
it to read: CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" got it to build for
me.

I stole this change from the Centos specfile for php-5.0. If someone would
like to comment on exactly what this does I would be greatful.

I have been running it for a couple of days with no apparent problems.

Also the pear packages are broken out in FC5 so you will also need to build
them. I did not change anything on the pear packages except for the version
string and adding comments in the changelog.

Hope this helps,

Tom Diehl		tdiehl@xxxxxxxxxxxx		Spamtrap address mtd123@xxxxxxxxxxxx

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux