【发布时间】:2016-04-24 10:27:50
【问题描述】:
我正在为 ubuntu 上的 apache 2.4 安装 mpm-itk。
步骤:
- 从http://mpm-itk.sesse.net/tar.gz 文件下载
- 提取它们
- 运行
./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
【问题讨论】:
-
尝试复制错误消息 (
make: missing: Command not found) 并将其粘贴到 Google。您会惊讶于您能以多快的速度找到解决方案。 -
@HéctorValverdePareja,我当然这样做了,但没有找到解决这个问题的方法,我创建了这篇文章。
-
搜索上述内容后在 Google 中的第一个结果:askubuntu.com/questions/192645/make-command-not-found 如果您真的尝试过,请告诉我们您做了什么,什么失败了。
-
我阅读了有关此链接的信息。并没有为我工作。我对 make 和 build-essential 没有问题。我有问题:缺少:找不到命令。
-
@ConstantinePopov 该命令不太可能被字面上称为“缺失”。如果有什么看起来 Makefile 有点坏了。