anner Posted August 23, 2006 Share Posted August 23, 2006 This may be the completely wrong place for this, but I couldn't figure out where it should go...I'm building an rpm of the newest php (5.1.5) on Redhat ES4 and keep getting this error in the install portion:[code]apxs:Error: Config file /var/tmp/php-root/etc/httpd/conf/httpd.conf not found.make: *** [install-sapi] Error 1[/code]I can't find any reference to httpd.conf in my spec file. I think, upon inspection, that my apxs is fine, but I could be wrong. That file definitely is not there (/var/tmp/php-root/etc/httpd/conf/ is empty). If I get the spec file to copy it into that dir from the live location (/etc/httpd/conf/httpd.conf), I get the same problem.I really feel like I am banging my head against the wall, so any pointers would be much appreciated.My spec file is 500 lines, so I don't want to post the whole thing unless someone specifically asks. I've tried 2 different ones. I took a fedora core 5 php 5.1.4 rpm spec file and editted and tried that, and the latest I could find for a RHEL4 rpm, which was 4.2.3. Both give the identical error in the identical location. The build does complete, as does the ./configure <args> and make by hand...it's the install part having problems. Quote Link to comment https://forums.phpfreaks.com/topic/18407-building-rpm-error-please-help/ Share on other sites More sharing options...
anner Posted August 23, 2006 Author Share Posted August 23, 2006 ok, I did find the right spot in the spec file where I can copy my .conf file over. And now I'm almost done...then I get this[code]RPM build errors: File not found: /var/tmp/php-root/usr/lib/php/build[/code]Does this mean I need php-devel to build a php rpm? Quote Link to comment https://forums.phpfreaks.com/topic/18407-building-rpm-error-please-help/#findComment-79347 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.