Apache from source - Broken echo command

When installing apache 1.3.37 from source on an Ubuntu server, it mentioned that I had a broken echo command:

root@web02:~/apache_1.3.37# ./configure –prefix=/usr/local/apache
Configuring for Apache, Version 1.3.37
+ Warning: Your ‘echo’ command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried ‘echo -E’ but had no real success. If errors occur
+ please set the SEO variable in ‘configure’ manually to
+ the required ‘echo’ options, i.e. those which force your
+ ‘echo’ to not interpret escape sequences per default.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Syntax error — The configuration file is used only to
define the list of included modules or to set Makefile in src
options or Configure rules, and I don’t see that at all:
`$(SRCDIR)/apaci`
default
default
no
no
no
yes
no
default
no
default
default

This was because of some shell script files using the wrong interpreter. Just do this to fix it:

rm -f /bin/sh
ln -s /bin/bash /bin/sh

發佈了66 篇原創文章 · 獲贊 6 · 訪問量 12萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章