gpt4 book ai didi

autotools - 配置:警告: 'missing' 脚本太旧或丢失

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

我是自动工具新手,正在尝试学习它。我在尝试在现有开源项目上运行配置时遇到问题并收到此错误:

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/myaccount/coding/Plotutils/missing: Unknown `--is-lightweight' option
Try `/home/kzhou/coding/Plotutils/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing

我没有看到任何解决此问题的好帖子。如何解决这个问题?

最佳答案

这通常是由错误打包的源代码引起的,例如,如果它们将 configure 文件 checkin 到 SCM,但未 checkin 其余辅助文件,或者源 tarball 不是由 生成的制作分布

一个快速的解决方案是确保重新执行所有自动工具:

autoreconf -fi

这将重新生成configureMakefile.in等,并带来一组新的辅助文件。不过,它需要安装 autoconfautomake 以及可能的 libtool 软件包,因此可能有点过大了。

关于autotools - 配置:警告: 'missing' 脚本太旧或丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40962711/

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