`
xmeteor
  • 浏览: 75312 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

ERROR: Could not configure Apache

阅读更多

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

分享到:
评论

相关推荐

    Linphone编译错误及解决方法

    7. configure: error: Could not find libavcodec (from ffmpeg) headers and library. This is mandatory for video support 错误原因:缺少libavcodec头文件和库文件。 解决方法:sudo apt-get install ...

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    could not read symbols: Bad value

    "could not read symbols: Bad value" 问题解决方案 本文将详细介绍在 64 位 Linux 系统下出现的 "could not read symbols: Bad value" 问题,并提供解决方案。 问题描述 -------- 在 64 位 Linux 系统下编译 ...

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    automake autotools autoconf

    `autotools`可以理解为一个流程,包括编写`configure.ac`(`autoconf`的输入)、运行`autoconf`生成`configure`脚本,然后编写`Makefile.am`(`automake`的输入),运行`automake`和`autoheader`生成`Makefile.in`和...

    vcp有实验手册 VMware vSphere:Install,Configure,Manage

    VMware vSphere:Install,Configure,Manage vcp有实验手册-VSICM7-LAB-IE VMware vSphere:Install,Configure,Manage vcp有实验手册-VSICM7-LAB-IE

    安装lamp报错信息及解决方法

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure ...configure: error: mysql configure failed. Please check config.log for more information

    qt 安装缺少包 version“Glibc_2.9” not fount

    (1)以glibc-2.9.tar.gz为例; tar –zxvf glibc-2.4.tar.gz;...configure: error: you must configure in a separate build directory 因此退出glibc-2.9文件夹。 #Cd ../ # glibc-2.9/configure (3)make; make install

    PHP编译configure时常见错误的总结

    2. **错误:configure: error: xml2-config not found. Please check your libxml2 installation.** 解决方案:对于CentOS,执行`yum -y install libxml2 libxml2-devel`;Debian用户则运行`apt-get install libxml...

    Ubuntu 18 搭建openjdk源码 报错误 configure: error: Could not find required tool for ZIPEXE

    前几天看完了深入理解 Java 虚拟机-JVM 高级特性与最佳实践(第2版) 这本书突发奇想想研究一下jdk的源码,所以在csdn上把自己的搭建过程记录一下,避免下次踩坑(虽然我也看不懂 卑微 有需要的小伙伴可以加我QQ:...

    libmount-2.32.tar.gz

    然而,当我们尝试编译和安装这个版本时,可能会遇到“configure: error: *** Could not find libmount”这样的错误提示,这通常是由于系统环境配置不完整或者依赖关系未满足所导致的。 首先,我们要明白“configure...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    在PHP的mysqli扩展中,如果遇到“configure: error: wrong mysql library version or lib not found”错误,可能还需要在mysqli扩展目录下进行以下操作: 1. **切换到mysqli扩展目录**:`cd /usr/local/src/...

    CentOS下编译php时的一些典型错误及解决办法.

    1. configure: error: xml2-config not found. Please check your libxml2 installation. 解决方法: yum install libxml2-devel 此错误是由于缺少 libxml2-devel 库文件所引起的。libxml2-devel 库文件是 PHP ...

    已解决:gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied……

    configure error gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/mac-pro/.nvm/versions/node/v10.16.0/lib/node_modules/webpack/node_modules/fsevents/build’ gyp ERR! System Darwin ...

    apache2.4完整安装

    ### Apache2.4完整安装及解决configure: error: APR-util not found问题 #### 一、背景介绍 Apache HTTP Server(通常简称为Apache)是目前最流行的Web服务器软件之一,广泛应用于互联网上的各种网站和应用程序。...

    Arm板Apache+PHP环境搭建

    configure: error: cannot check for file existence when cross compiling的错误。 2. 需要添加ac_cv_func_setpgrp_void=yes选项,以避免出现checking whether setpgrp takes no argument... configure: error: ...

    sqlite3文件(sqlite3:not found 解决方法)

    sqlite3文件(用于解决安卓真机中sqlite3:not found的错误) http://blog.csdn.net/hust_twj/article/details/52212558

    libmount-2.25.2.tar.xz

    configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    利用autoconf,automake生成makefile全攻略

    1. **创建配置脚本**:首先,使用 `autoscan` 工具生成一个 `configure.in` 模板文件,即 `configure.scan`。然后,将 `configure.scan` 重命名为 `configure.in`。例如: ```bash # 在项目根目录下 $ autoscan ...

    VMware_vSphere:Install、Configure、Manager_14_InstallvSphereComponents

    VMware_vSphere:Install、Configure、Manager_14_InstallvSphereComponents

Global site tag (gtag.js) - Google Analytics