LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 579|回复: 1

急急,为什么我编译PHP出现下列对话。不成功

[复制链接]
发表于 2003-3-2 23:53:30 | 显示全部楼层 |阅读模式
[root@kispblcs php]# ./configure
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH




[root@kispblcs gcc-3.2.2]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/gcc-3.2.2 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
请各位大侠指点迷经。 。。。。。。。。。
发表于 2003-3-3 18:47:15 | 显示全部楼层
安装gcc
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表