编译Centos6.X系统的时候老是安装jpegsrc.v6b.tar.gz的时候老是报这个错,
./configure --prefix=/usr/local/jpeg --enable-shared --enable-static
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
在做 configure 的时候,报上述的错误。
解决方案:
把 /usr/share/libtool/config/config.guess 覆盖到相关软件自带的config.guess
把 /usr/share/libtool/config/config.sub 覆盖到相关软件自带的config.sub
cp/usr/share/libtool/config/config.guess .(覆盖到相关软件自带的config.guess)
cp /usr/share/libtool/config/config.sub .(覆盖到相关软件自带的config.sub)
再./configure --prefix=/usr/local/jpeg --enable-shared --enable-static #就畅通无阻了
make && make install
阅读(4986) | 评论(0) | 转发(0) |