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