Hi Guys,
I follow the instructions here:
How to Build and Install Custom RPMs - cPanel Knowledge Base - cPanel Documentation
Try to re-build a customized src.rpm.
I encounter following error at the step trying to run rpmbuild -bb
On the other hand though, cpanel excluded httpd* in the yum.conf.
And yum search ea-apache24-devel also returns no found.
Operating system is CentOS 5.7 i686. I have CentOS, rpmforge and webtatic repos.
I also tried something funky like:
Anyway, the reason I want to rebuild php 5.3.27 is actually trying to get php-devel-5.3.27-2.w5.i386.rpm for another box ( it's long gone from webtatic archive, or anywhere on the web ).
And the reason why that "another box" still using php 5.3.27 and CentOS 5.7 is another story.
The problem itself is not hard to walk-around, maybe a repo with valid ea-apache24 ( which I did search but no luck ), or maybe someone kind enough to share his/her php-devel-5.3.27-2.w5.i386.rpm with me.
After all I guess I still want to know how to solve the issue when some linux pkg need httpd-devel and that's a cpanel server.
I follow the instructions here:
How to Build and Install Custom RPMs - cPanel Knowledge Base - cPanel Documentation
Try to re-build a customized src.rpm.
I encounter following error at the step trying to run rpmbuild -bb
Code:
cat: /usr/include/httpd/.mmn: No such file or directory
error: Failed build dependencies:
httpd-devel >= 2.0.46-1 is needed by php-5.3.27-2.i386
And yum search ea-apache24-devel also returns no found.
Code:
[email protected] [~/rpmbuild]# yum search ea-apache24-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: mirror.nexcess.net
Excluding Packages in global exclude list
Finished
No Matches found
I also tried something funky like:
Code:
[email protected] [~/rpmbuild]# APXS2=/usr/bin/apxs PATH=$PATH:/usr/bin rpmbuild -bb /root/rpmbuild/SPECS/php53.spec
cat: /usr/include/httpd/.mmn: No such file or directory
error: Failed build dependencies:
httpd-devel >= 2.0.46-1 is needed by php-5.3.27-2.i386
And the reason why that "another box" still using php 5.3.27 and CentOS 5.7 is another story.
The problem itself is not hard to walk-around, maybe a repo with valid ea-apache24 ( which I did search but no luck ), or maybe someone kind enough to share his/her php-devel-5.3.27-2.w5.i386.rpm with me.
After all I guess I still want to know how to solve the issue when some linux pkg need httpd-devel and that's a cpanel server.