You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/03/16 08:47:50 UTC
[Bug 60873] New: Obsolete httpd-std.conf in binbuild.sh
https://bz.apache.org/bugzilla/show_bug.cgi?id=60873
Bug ID: 60873
Summary: Obsolete httpd-std.conf in binbuild.sh
Product: Apache httpd-2
Version: 2.4.25
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: bugs@httpd.apache.org
Reporter: mshaydulin@gmail.com
Target Milestone: ---
Hi all,
I'm trying to build Apache httpd server 2.4.25 on Ubuntu 4.8.0.
The idea is to embed httpd server into own application and to be able
to install on target machine in any location in file system.
I found the tool build/binbuild.sh which should do exactly
what I want.
After I run binbuild.sh I get an archive
httpd-2.4.25-x86_64-unknown-linux-gnu.tar.gz.
Then I unpack it and run install-bindist.sh <target dir> to deploy httpd.
The only problem I see is the issue with httpd.conf file. After I run
install-bindist.sh, I see empty conf/httpd.conf file (and
empty conf/httpd-std.conf) in target directory.
I started to search what is wrong, and found that binbuild.sh raises
this error at the end:
-------------
[EOF]
Binary image successfully created...
Server version: Apache/2.4.25 (Unix)
Server built: Mar 9 2017 08:24:50
Creating supplementary files...
sed: can't read bindist/conf/httpd-std.conf: No such file or directory
Creating distribution archive and readme file...
-------------
Inside binbuild.sh I see these lines:
-------------
chmod 755 install-bindist.sh
sed -e "s%$BUILD_DIR%$DEFAULT_DIR%" \
-e "s%^ServerAdmin.*%ServerAdmin you@your.address%" \
-e "s%#ServerName.*%#ServerName localhost%" \
bindist/conf/httpd-std.conf > bindist/conf/httpd.conf
cp bindist/conf/httpd.conf bindist/conf/httpd-std.conf
-------------
However I can't find httpd-std.conf.
As I can see in httpd source code (FishEye), this files was deleted
more than 10 years ago. As well as httpd-std.conf.in
I suppose the fix is simple, just fix the name and path like this:
...
bindist/conf/original/httpd.conf > bindist/conf/httpd.conf
cp bindist/conf/httpd.conf bindist/conf/original/httpd.conf
...
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org