【问题标题】:Receiving error during automake command in ubuntu 14在 ubuntu 14 中的 automake 命令期间接收错误
【发布时间】:2015-09-15 15:55:12
【问题描述】:

我想安装一个名为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$ 

更新1:cd src; make的输出:

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$

【问题讨论】:

  • 打印cd src的输出;制作
  • @saurabhagarwal 已更新。

标签: ubuntu automake


【解决方案1】:

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

autoreconf -vfi

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-21
    • 1970-01-01
    • 2016-12-04
    • 1970-01-01
    • 2021-12-27
    • 1970-01-01
    相关资源
    最近更新 更多