invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized相关的知识,希望对你有一定的参考价值。
前两天在装机器软件的时候,
出现了下面的错误,
[html] view plain copy
invalid configuration x86_64-unknown-linux-gnu‘ machine x86_64-unknown‘ not recognized
在网上查了半天,解决方案有三个:
1. 把 /usr/share/libtool/config.guess 覆盖到相关软件自带的config.guess
把 /usr/share/libtool/config.sub 覆盖到相关软件自带的config.sub
./configure --enable-shared --enable-static
但是由于我的机器里没有/usr/share/libtool/config.sub文件,所以再试第二个。
2. 下载一个script, 位置是http://www.pc-freak.NET/bshscr/fix_x86_64-unknown-Linux-gnu.sh
然后执行这个script就可以了。
由于我的机器不能这样,所以还能第三个。
3. 然后下面的命令
[html] view plain copy
./configure --build=x86_64
然后就可以了。
本文出自 “火星男-神自不凡” 博客,请务必保留此出处http://marsman.blog.51cto.com/6410055/1915636
以上是关于invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized的主要内容,如果未能解决你的问题,请参考以下文章
nginx: [emerg] invalid log level “Files“ in C:Program Files (x86)phpstudy_proExtensionsNginx1.16
linux driver error ------ ERROR: Kernel configuration is invalid
Invalid configuration object. Webpack has been initialized using a configuration object that does no
Invalid configuration object. Webpack has been initialized using a configuration object that does no
webpack配置报错:invalid configuration object.webpack has been initialisted using a configuration objcet