运维日志您现在的位置是:首页 > 博客日志 > 运维日志

error: cannot find input file: `libde265/Makefile.in' 文件明明就在那,就是提示找不到。

<a href='mailto:'>微wx笑</a>的头像微wx笑 2022-05-04运维日志 2 0关键字: configure  Makefile  

执行 ./configure 的时候提示 error: cannot find input file: `libde265/Makefile.in' 文件明明就在那,就是提示找不到。我的解决方法总结

执行 ./configure 的时候提示 error: cannot find input file: `libde265/Makefile.in' 文件明明就在那,就是提示找不到。解决方法总结xD3无知


xD3无知

网上找到的方法1:

如果出现这种报错config.status: error: cannot find input file: src/Makefile.in,就在configure 之前执行如下命令xD3无知

aclocal
libtoolize --force
automake --add-missing
autoconf
autoheader
make clean

网上找到的方法2:

源代码目录中执行以下操作:xD3无知

aclocal
autoconf
autoheader
automake --add-missing

而后能够运行configure。xD3无知

这里需要先安装autoconf系列库。xD3无知

我的经验

方法1和2看上去差不多,2更简单,顺序上有所不同。xD3无知


xD3无知

方法1执行了之后,问题依旧。xD3无知


xD3无知

方法2执行之后,我又顺便执行了一下“./autogen.sh”,xD3无知

然后再执行“./configure”,问题解决了。xD3无知


xD3无知

本文由 微wx笑 创作,采用 署名-非商业性使用-相同方式共享 4.0 许可协议,转载请附上原文出处链接及本声明。
原文链接:https://www.ivu4e.cn/blog/service/2022-05-04/1190.html

很赞哦! () 有话说 ()