apache安装过程中的常见问题

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 未本地化版本许可协议进行许可。

 

你可能感兴趣的:(apache,httpd)