为什么MSYS无法识别AM_INIT_AUTOMAKE中的tar-ustar选项?
当我尝试在源上从 MSys 1.11 运行 autogen 时,它总是给出一个名为
configure.ac:9: option 'tar-ustar' not recognized 的
错误有人可以帮我摆脱这个错误吗?
笔记: andtar-v7、tar-ustar、tar-pax。这三个都不起作用。谢谢...
When I'm trying to run autogen from MSys 1.11 on a source, it always giving an error called,
configure.ac:9: option 'tar-ustar' not recognized
Can anyone please help me to get-rid of this error ?
Note:
andtar-v7, tar-ustar, tar-pax. all these 3 didn't work. Thank you...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需从 configure.ac 文件中删除 tar-ustar 选项(查找 AM_INIT_AUTOMAKE 行)或安装更新版本的 Automake (1.9+)。它应该回退到 v7 风格的 tar (尽管无法识别 tar-v7)。
Just remove the tar-ustar option from your configure.ac file (look for an AM_INIT_AUTOMAKE line) or install a newer version of Automake (1.9+). It should fall back to v7-style tar (in spite of not recognizing tar-v7).
tar 是命令 - '-' 和它后面的字母是参数。你想要:
注意空间。话虽如此,我不相信
-ustar
是 tar 选项的有效组合,但您应该会收到不同的错误消息。tar is the command - the '-' and the letters after it is a parameter. You want:
notice the space. Having said that, I don't believe that
-ustar
is a valid combination of tar options, but you should get a different error message for that.