我在ubuntu上为apache 2.4安装mpm-itk
。
步骤:
./configure && make && sudo make install
我得到的错误:
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for cap_init in -lcap... no
checking for --with-apxs... no
checking for apxs... missing
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
missing -c mpm_itk.c seccomp.c
make: missing: Command not found
make: *** [mpm_itk.la] Error 127
答案 0 :(得分:0)
安装" make"命令并再试一次。
apt-get install make
答案 1 :(得分:0)
运行./configure时,需要为apxs添加前缀。如果apxs它不是你的PATH的一部分,它将不会被拾取并且你得到“遗漏”错误
./configure --with-apxs=WHERE_YOU_INSTALLED_APACHE/bin/apxs
e.g。对我来说
./configure --with-apxs=WHERE_YOU_INSTALLED_APACHE/bin/apxs