免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3133 | 回复: 1

救命啊!!!make mod_perl出错。 [复制链接]

论坛徽章:
0
发表于 2003-03-08 17:03 |显示全部楼层
请高手帮忙解决,还有我在Makefile里已经把CC定义成为gcc,把OPTIMIZE = -xO3 -xdepend 改成-O2了,为什么这里还是cc -xO3 -xdepend ?

===>; src/modules/perl
cc -xO3 -xdepend -I/usr/perl5/5.00503/sun4-solaris/CORE  -DMOD_PERL_VERSION=\"1.27\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.27\" -I../.. -I/usr/perl5/5.00503/sun4-solaris/CORE -I../../os/unix -I../../include    -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI  -DNO_DL_NEEDED `../../apaci` -c mod_perl.c
/bin/sh: cc: not found
make[5]: *** [mod_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/home/myz/install/apache_1.3.27/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/home/myz/install/apache_1.3.27'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/myz/install/apache_1.3.27'
make: *** [apaci_httpd] Error 2

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
发表于 2003-03-11 17:06 |显示全部楼层

救命啊!!!make mod_perl出错。

bin/sh: cc: not found
=========================================
there is a cc in gcc...
and the gcc will use cc to compile the C language...

the gcc will install in "/usr/local/bin" by default.

I guess you PATH setup is wrong..
"/bin/sh" can't find cc.
use "env" to check it...
and modify it...

then compile  it again..

Best Regards...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP