gpt4 book ai didi

ubuntu - 在 ubuntu 14 中的 automake 命令期间收到错误

转载 作者:行者123 更新时间:2023-12-04 02:20:04 25 4
gpt4 key购买 nike

我想安装一个名为 mfcuk 的工具,但出现以下错误。我该怎么办?

itsme@ubuntu:~/Desktop/mfcuk-master$ ls
AUTHORS ChangeLog configure.ac INSTALL Makefile.am README TODO
autom4te.cache configure COPYING LICENSE NEWS src tools
ebrahim@ubuntu:~/Desktop/mfcuk-master$ sudo automake
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,

configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:7: error: required file 'config.h.in' not found
src/Makefile.am: error: required file './depcomp' not found
src/Makefile.am: 'automake --add-missing' can install 'depcomp'
/usr/share/automake-1.14/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.14/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.14/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.14/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.14/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.14/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
itsme@ubuntu:~/Desktop/mfcuk-master$

Update1:​​cd src 的输出;制作:

itsme@ubuntu:~/Desktop/mfoc-master$ cd src;
itsme@ubuntu:~/Desktop/mfoc-master/src$ make
make: *** No targets specified and no makefile found. Stop.
itsme@ubuntu:~/Desktop/mfoc-master/src$ cd src; make
bash: cd: src: No such file or directory
make: *** No targets specified and no makefile found. Stop.
itsme@ubuntu:~/Desktop/mfoc-master/src$

最佳答案

首先运行 autoreconf,它以正确的顺序编译所有相关工具并安装缺少的文件。

autoreconf -vfi

关于ubuntu - 在 ubuntu 14 中的 automake 命令期间收到错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31111393/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com