Page 1 of 1

php-4.4.* on x86_64 / centos

Posted: Sat Mar 03, 2007 5:47 am
by wondermike
hi there, I've got a dual xeon x86_64 and I got centos-4.4 installed on it (it's actually a XenU machine). Centos-4.4 comes with php-4.3 but for some reason I have to install php-4.4. Now my problem is that I can't get the thing compiled. I tried with this package:
http://3es.atomicrocketturtle.com/packa ... rt.src.rpm
which compiles and works perfectly on centos/i386 but it fails to compile on x86_64.

So I played around a little bit with that src.rpm i.e. I built lib64-patches because during configure phase there were lots of 'not found messages'. I made the beast find my lib64 stuff i.e. I modified all the config.m4 files in the ext subdirs, I even changed libtool from 1.5 to 1.4 (which seems to be a requirement), but after all, I couldn't compile it as more and more errors arose. When I came to being obliged to patch sources (not only the config.m4 files) I stopped that experiment.

Then I tried plain php i.e. the tar.gz, but even that didn't lead me to a successfully built binary, there were these lib64 issues, so even the plain tar.gz showed up that it still has to be patched.

Any suggestions, how can I get php compiled on the x86_64 architecture?
Is there any comprehensive guide on how to set up a build environment for php(-4.4)?
Has anybody successfully built an rpm for php-4.4 for centos-4?
Of course, an rpm would be my preference in order to keep the system capable of being updated easily.

BTW, any experience on how the package builds under FC?
Will you release a 4.4.6 soon?

TIA
Regards,
Michael

Posted: Sat Mar 03, 2007 7:15 am
by scott
I may continue to maintain php 4.4.x in the ASL channels, but at this time the only thing I plan on putting out is 5.2.x in the atomic* channels. As a side note, php 5.1 is in centosplus, I take it youve got some special reason to stick with 4.4.x?

Posted: Sun Mar 04, 2007 12:28 pm
by wondermike
Hi, yes, there's a special reason, it's ez publish, they don't support php-5 and they don't support php-4.3. :( Otherwise I'd take centos' php-4.3. BTW, I've found quite a good and working thing:
http://www.interworx.com/forums/showthread.php?t=1873
That compiled perfectly on my x86_64 box. Maybe you can take advantage of the lib64 patch they made to the config.m4 files in the ext subdirs.