Bug 301181 - Probelm build from src.rpm as non root
Summary: Probelm build from src.rpm as non root
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_auth_kerb
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-21 20:06 UTC by Simo Sorce
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-25 11:48:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Simo Sorce 2007-09-21 20:06:41 UTC
Description of problem:
The spec file contains an error, it lists --with-apxs=/usr instead of
--with-apache=/usr

This cause a build as user using a command like this:
rpmbuild --define "_topdir /my/own/rpmbuild/tree" -ba mod_auth_kerb.spec
to fail.
The reason it works normally is that when built as root '/usr/sbin' is in the
path so the configure finds it. When building as user '/usr/sbin' is not in the
path by default and configure fails to find apxs

Version-Release number of selected component (if applicable):
5.3-*

Additional info:

The fix is simple, use --with-apache=/usr and not --with-apxs=/usr (--with-apxs
is something unknown to the configure.in file).

Comment 1 Joe Orton 2007-09-25 11:48:11 UTC
Fixed in Raw Hide, thanks for the report.

http://koji.fedoraproject.org/koji/taskinfo?taskID=174123


Note You need to log in before you can comment on or make changes to this bug.