During installation, if saw:
./configure:Error: APACI failed
ERROR: Could not configure Apache
Use following commands to fix it.
rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
ln -s /bin/bash /bin/sh
It is because Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.
Refference: http://www.yinfor.com/blog/archives/2007/04/some_problems_when_install_isp.html
--------------------------------------------------------------------------------------------------
htpasswd.c:101: error: conflicting types for âgetlineâ
/usr/include/stdio.h:653: note: previous declaration of âgetlineâ was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/home/install_ispconfig/compile_aps/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/home/install_ispconfig/compile_aps/apache_1.3.41'
make: *** [build] Error 2
ERROR: Could not make Apache
Open /usr/include/stdio.h and replace getline with parseline in line 653:
[...]
/* Like `getdelim', but reads up to a newline.
This function is not part of POSIX and therefore no official
cancellation point. But due to similarity with an POSIX interface
or due to the implementation it is a cancellation point and
therefore not marked with __THROW. */
extern _IO_ssize_t parseline (char **__restrict __lineptr,
size_t *__restrict __n,
FILE *__restrict __stream) __wur;
#endif
[...]
Refference: http://www.howtoforge.com/perfect-server-fedora-11-x86_64-ispconfig-2-p5
分享到:
相关推荐
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
* ./prefix=/usr/local/apache:apache 安装的目录 * --enable-so 选项:让 Apache 可以支持 DSO 模式,注意,这里采纳使用的是 Apache 2.0 的语法。如果使用的是 Apache 1.3 版本,应改为 --enable-module=so。 * -...
configure: error: APR could not be located. ``` **解决方案:** 这通常是因为 configure 脚本未能正确识别 APR 的安装路径。 1. 确认 APR 已经正确安装。 2. 在配置 Apache 时指定 APR 的路径: ``` ./...
- 在启动 Apache 时可能会遇到提示 “Could not reliably determine the server's fully qualified domain name”,这通常是因为没有正确设置 `ServerName`。 - 在 Apache 的配置文件中添加以下内容: ```apache ...
error_reporting ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; html_errors ; Default Value: On ; ...
logger.error("Could not read configuration file [" + filePath + "]. Ignoring configuration file [" + filePath + "]."); } } } ``` 在Web.xml中添加以下配置: ```xml <servlet-name>Log4jInit ...
14. If the two ISPs do not peer with each other, then when they send traffic to each other they have to send the traffic through a provider ISP (intermediary), to which they have to pay for carrying ...
die('Could not connect: ' . mysql_error()); } ``` 访问这个PHP文件,如果显示"ok",则表示扩展安装成功,可以正常连接MySQL。 总结来说,安装PHP的mysql.so扩展是解决依赖`mysql_connect()`函数的老项目的...