I'm building an rpm of the newest php (5.1.5) on Redhat ES4 and keep getting this error in the install portion:
apxs:Error: Config file /var/tmp/php-root/etc/httpd/conf/httpd.conf not found. make: *** [install-sapi] Error 1
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.