您的位置:首页 > 运维架构 > Apache

apache安装过程中的常见问题

2013-10-21 18:46 363 查看


1. 问题“curses.h: No such file or directory”

/home/mediawiki/cmake-2.8.12/Source/CursesDialog/form/form.h:50:22: fatal error: curses.h: No such file or directory
compilation terminated.
make[2]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o] Error 1
make[1]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/all] Error 2
make: *** [all] Error 2
解决方法:
apt-get install libncurses5-dev libncursesw5-dev

2. 问题“bin/bash: bison: command not found”

解决方法:

  apt-get install bison

3. 问题“/bin/bash: flex: command not found”

make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp] Error 127
方法:sudo apt-get install flex

4. 问题"You need a C++ compiler for C++ support"

linux下安装安装pcre-8.33

./configure --prefix=/usr/local/pcre 出现以下错误

configure: error: You need a C++ compiler for C++ support

解决方法:

apt-get install build-essential

 

作者:Younger Liu,

本作品采用知识共享署名-非商业性使用-相同方式共享 3.0 未本地化版本许可协议进行许可。

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: