Installing Apache from Source - Broken Echo Command
During a install of apache 1.3.37 from source on an Ubuntu server, I got an error stating that I had a broken echo command:
root@natio:~/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. To fix this do the following:
rm -f /bin/sh ln -s /bin/bash /bin/sh
















