原文地址:http://bbs.nju.edu.cn/blogcon?userid=Struts&file=1179922831

ubuntu下编译安装apache1.3.37是出错,在ubuntu下大家用惯了apt-get可能很少会有这种
问题.
今天遇到了还是拿出来,也许以后会有类似的安装问题

Linux系统版本ubuntu7.04,不知道其他版本有没有这个问题
apache版本1.3.37
编译安装第一步./configure的时候会报错

  • Warning: Configuring Apache with default settings.
  • This is probably not what you really want.
  • Please read the README.configure and INSTALL files
  • first or at least run ‘./configure –help’ for
  • a compact summary of available options.
  • 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)

错误原因是echo 输出转义字符有问题

解决方法很简单
vi configure

#!/bin/sh => #!/bin/bash