当前位置: 技术问答>linux和unix
CENTOS 4.x 安装freetype失败.请高手帮我解决问题.谢谢.
来源: 互联网 发布时间:2016-07-29
本文导语: CENTOS 4.x X86 安装freetype失败.请高手帮我解决问题.谢谢. # wget freetype-2.3.5.tar.gz # cd freetype-2.3.5 freetype-2.3.5]# ./configure 执行后出现下面信息. [root@local freetype-2.3.5]# ./configure 回车 FreeType build system -- aut...
CENTOS 4.x X86
安装freetype失败.请高手帮我解决问题.谢谢.
# wget freetype-2.3.5.tar.gz
# cd freetype-2.3.5
freetype-2.3.5]# ./configure
执行后出现下面信息.
[root@local freetype-2.3.5]# ./configure 回车
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
cd builds/unix; ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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.
make: *** [setup] Error 1
安装freetype失败.请高手帮我解决问题.谢谢.
# wget freetype-2.3.5.tar.gz
# cd freetype-2.3.5
freetype-2.3.5]# ./configure
执行后出现下面信息.
[root@local freetype-2.3.5]# ./configure 回车
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
cd builds/unix; ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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.
make: *** [setup] Error 1
|
没有C编译器啊,yum install gcc然后再试。
|
|
centos 4 直接运行
yum install gcc
就可以安装好gcc组件的.
试试看
yum install gcc
就可以安装好gcc组件的.
试试看
|
没有C编译器 楼主可以确认一下是不是真的没有安装C编译器 如果没有的话就yum install gcc然后再试
如果系统已经有了C编译器 那么可能就是环境变量的原因了 二楼给的blog讲的详细