当前位置: 技术问答>linux和unix
linux下安装出现/usr/bin/ld: crt1.o: No such file: No such file or directory
来源: 互联网 发布时间:2017-05-29
本文导语: 本来安装的时候出现了 checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [szb@l...
本来安装的时候出现了
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[szb@localhost libtool-1.5.22]$
之后用rpm安装gcc
之后configure报错
./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/szb/trs/swftools-0.9.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
运行了一些gcc -v
现在很是纳闷 到底是什么情况啊
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[szb@localhost libtool-1.5.22]$
之后用rpm安装gcc
之后configure报错
./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/szb/trs/swftools-0.9.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
运行了一些gcc -v
现在很是纳闷 到底是什么情况啊
|
Try add host flag to configure, if is is a x86_64'
./configure --host=x86_64
./configure --host=x86_64