安装过程中出现“未找到命令”错误

安装过程中出现“未找到命令”错误

为什么我在尝试安装此包时收到以下错误?我该如何解决?

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

请注意,我已经搜索过SUBDIRSstyle包,但是什么也没找到。

我也尝试过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

来源

相关内容