当前位置: 技术问答>linux和unix
安装libtool2.2,configure时候报错,求大家帮忙
来源: 互联网 发布时间:2016-06-22
本文导语: 安装libtool2.2时,首先运行configure进行配置: [root@localhost libtool-2.2]# ./configure --prefix=/usr ## ----------------------------------------------------------- ## ## Configuring libtool (Build: 1.2599 2008/03/02 00:05:01) 2.2 ## ## ---------------------...
安装libtool2.2时,首先运行configure进行配置:
[root@localhost libtool-2.2]# ./configure --prefix=/usr
## ----------------------------------------------------------- ##
## Configuring libtool (Build: 1.2599 2008/03/02 00:05:01) 2.2 ##
## ----------------------------------------------------------- ##
... ...
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
然后看config.log文件,最后有:
configure: exit 1
这是什么原因,是不是需要重装gcc,多谢了!
[root@localhost libtool-2.2]# ./configure --prefix=/usr
## ----------------------------------------------------------- ##
## Configuring libtool (Build: 1.2599 2008/03/02 00:05:01) 2.2 ##
## ----------------------------------------------------------- ##
... ...
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
然后看config.log文件,最后有:
configure: exit 1
这是什么原因,是不是需要重装gcc,多谢了!
|
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure检测机器环境,发现不适合该库安装。
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure检测机器环境,发现不适合该库安装。