configure 命令没有生成 Makefile?

configure 命令没有生成 Makefile?

这是我的代码:

    ubuntu@ubuntu:~/tpm2-tss$ ./configure --enable-unit
    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 whether gcc understands -c and -o together... yes
    ./configure: line 3119: syntax error near unexpected token              `am__api_version='1.15''
    ./configure: line 3119: `am__api_version='1.15'' 

因此,在我执行 make check 后,我得到(下面的代码),这意味着它没有被创建,感谢您的帮助

    ubuntu@ubuntu:~/tpm2-tss$ make check
    make: *** No rule to make target 'check'.  Stop.

答案1

这是配置失败autotools。Autotools 生成了./configure脚本,autoscan但该步骤存在问题。请向上游提交错误报告。

猜测他们有一对多的单引号

am__api_version='1.15''

相对,

am__api_version='1.15'

相关内容