Bug 56250 - sbindir in config.layout for Apache has bin instead of sbin
Summary: sbindir in config.layout for Apache has bin instead of sbin
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.7
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 17:39 UTC by Rodney Beede
Modified: 2014-03-12 17:39 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodney Beede 2014-03-12 17:39:06 UTC
sbindir as per the "configure - Configure the source tree" document states that "By default sbindir is set to EPREFIX/sbin."

However doing a fresh download and compile of httpd-2.4.7 with:

"./configure --with-included-apr"

"make"

"make install"

This results in a /usr/local/apache2 folder without any "sbin" sub-directory.  All the binaries are simply lumped into the "bin" directory.


This appears to be due to config.layout having the following:
<Layout Apache>
    prefix:        /usr/local/apache2
    exec_prefix:   ${prefix}
    bindir:        ${exec_prefix}/bin
    sbindir:       ${exec_prefix}/bin


It is expected to see:
    sbindir:       ${exec_prefix}/sbin



If this is the new default then the documentation should be updated.  If this is a mistake then the config.layout should be updated.