Hi, has somebody already succeeded in creating a php-4.4 rpm under centos-4.4? php version 4.3.9 compiles perfectly, but taking the 4.3.9 spec and replacing the source tar.gz (and omitting the patches) doesn't work at all. I could provide you with details about compile errors, but I think I should check the availability of a 4.4 package before trashing you with details. TIA Regards Michael
On Wed, 2007-02-28 at 20:38 +0100, Michael Kress wrote:
Hi, has somebody already succeeded in creating a php-4.4 rpm under centos-4.4? php version 4.3.9 compiles perfectly, but taking the 4.3.9 spec and replacing the source tar.gz (and omitting the patches) doesn't work at all. I could provide you with details about compile errors, but I think I should check the availability of a 4.4 package before trashing you with details.
A google on
"php-4.4" rpm el4 OR centos OR centos4
shows many promising links, including some reportedly-working src.rpm packages such as
http://3es.atomicrocketturtle.com/packages/php/php-4.4.4-1.art.src.rpm
Phil
Phil Schaffner wrote:
A google on
"php-4.4" rpm el4 OR centos OR centos4
shows many promising links, including some reportedly-working src.rpm packages such as
http://3es.atomicrocketturtle.com/packages/php/php-4.4.4-1.art.src.rpm
well, that indeed sounded promising, but the srpm doesn't compile on my x86_64 machine. The srpm is ok as I was able to compile and use it on an i386 machine. I even was able to change to 4.4.5 with art's spec file. No prob. On x86_64 there's many errors in the configure process, due to the lack of lib64 patches against the config.m4 files of gd, dba, etc... I'm currently creating these patches but I wonder if somebody already has done this work? I'll post them if the thing works. Moreover I've seen this: http://www.atomicrocketturtle.com/Joomla/content/view/141/29/ There, it reads: "PHP 4.4.x - Thispackage is no longer maintained" :-(
Michael
I wrote:
well, that indeed sounded promising, but the srpm doesn't compile on my x86_64 machine. The srpm is ok as I was able to compile and use it on an i386 machine. I even was able to change to 4.4.5 with art's spec file. No prob. On x86_64 there's many errors in the configure process, due to the lack of lib64 patches against the config.m4 files of gd, dba, etc... I'm currently creating these patches but I wonder if somebody already has done this work? I'll post them if the thing works.
Jesus ... this is hard stuff - has anybody got a good lib64 patch set in order to compile php-4.4.* on a x86_64 ? I discovered that I have to use libtool 1.4 which comes with rhel3, but it fails executing libtool : /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl ... I think it's because libtool got the parameter -L/usr/lib but I can't find the place in hell where it's m4'ed together. Has anybody got an idea? TIA Michael
On Thu, 2007-03-01 at 22:07 +0100, Michael Kress wrote:
I wrote:
well, that indeed sounded promising, but the srpm doesn't compile on my x86_64 machine. The srpm is ok as I was able to compile and use it on an i386 machine. I even was able to change to 4.4.5 with art's spec file. No prob. On x86_64 there's many errors in the configure process, due to the lack of lib64 patches against the config.m4 files of gd, dba, etc... I'm currently creating these patches but I wonder if somebody already has done this work? I'll post them if the thing works.
Jesus ... this is hard stuff - has anybody got a good lib64 patch set in order to compile php-4.4.* on a x86_64 ? I discovered that I have to use libtool 1.4 which comes with rhel3, but it fails executing libtool : /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl ... I think it's because libtool got the parameter -L/usr/lib but I can't find the place in hell where it's m4'ed together. Has anybody got an idea? TIA Michael
If you are trying to build items on x86_64, you need to do so on a clean machine that only contains x86_64 packages plus these 2 (and only _THESE_2_) i[3,4,5,6]86 files: glibc.i686, glibc-devel.i386.
You can get that by installing a chroot, using mock, or controlling you build machine to only contain those files. We use all 3 methods inside the CentOS Project to do this, depending on what we are building and what version of CentOS we are building on/for.
If using mock on an x86_64 machine ... this exclude line will get you only those files in your mock build root:
exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i?86 g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2*.i?86 glib-*.i?86 glib.i?86
(That is all one line)
Thanks, Johnny Hughes