![安装过程中出现“未找到命令”错误](https://linux22.com/image/1127419/%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E4%B8%AD%E5%87%BA%E7%8E%B0%E2%80%9C%E6%9C%AA%E6%89%BE%E5%88%B0%E5%91%BD%E4%BB%A4%E2%80%9D%E9%94%99%E8%AF%AF.png)
为什么我在尝试安装此包时收到以下错误?我该如何解决?
root@me-System-Product-Name:/home/me/Desktop/mfcuk-master# ls
AUTHORS configure.ac INSTALL Makefile.am README TODO
ChangeLog COPYING LICENSE NEWS src tools
root@me-System-Product-Name:/home/me/Desktop/mfcuk-master# ./Makefile.am
./Makefile.am: line 1: SUBDIRS: command not found
./Makefile.am: line 3: style:: command not found
请注意,我已经搜索过SUBDIRS
和style
包,但是什么也没找到。
我也尝试过apt-get
,但结果相同:
root@me-System-Product-Name:/home/me/Desktop/mfcuk-master# apt-get install SUBDIRS
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package SUBDIRS
root@me-System-Product-Name:/home/me/Desktop/mfcuk-master# apt-get install style
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package style
答案1
./Makefile.am
是错误的方法。启动下面的命令来构建项目:
cd /home/me/Desktop/mfcuk-master
automake
autoconf
./configure
make
跑步
./mfcuk -C -R 0:A -v 2