Red Hat Bugzilla – Bug 168212
mod_auth_kerb SRPM doesn't build as non-root
Last modified: 2007-11-30 17:11:13 EST
Description of problem:
mod_auth_kerb's SRPM does not build as a non-root user. It is because when it
searches for apache's apxs, it does not include /usr/sbin in its path. The
problem is there for both Rawhide and FC4. Attached a patch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login as a non-root user.
2. rpm -Uvh mod_auth_kerb-5.0-6.src.rpm
3. cd rpmbuild/SPECS (or wherever the spec files are)
4. rpmbuild -ba mod_auth_kerb.spec
It fails with an error message that includes:
checking for apxs... no
configure: error: failed to find apache apxs executable
It should not fail.
Created attachment 118755 [details]
Patch to fix the problem
Thanks a lot, building for Raw Hide now.