蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 系统管理


    

蓝森林 http://www.lslnet.com 2006年5月28日 19:08


!!!求助!!apache怎么安不上???

[root@shenyang httpd-2.0.52]# ./configure --prefix="/usr/local/apache" --enable-module=so
...
...
...
APR Version: 0.9.5                                       
checking for chosen layout... apr                        
checking for gcc... no                                    
checking for cc... no                                    
checking for cc... no                                    
checking for cl... no                                    
[color=red]configure: error: no acceptable C compiler found in $PATH [/color]
See `config.log' for more details.                        
configure failed for srclib/apr                           
[root@shenyang httpd-2.0.52]# make                           
make: *** No targets specified and no makefile found.  Stop.  
错在哪里??
帮忙看下,谢了先!

!!!求助!!apache怎么安不上???

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure failed for srclib/apr

!!!求助!!apache怎么安不上???

没有gcc

!!!求助!!apache怎么安不上???

是不是少了,gcc,cc,cl什么的,去那儿里找??

!!!求助!!apache怎么安不上???

去那儿里找啊?

!!!求助!!apache怎么安不上???

相互学习一下,有错请说:
首先要安装solaris的编译环境,去 http://www.sunfreeware.com/下载
gcc-3.X.X

设置环境变量:
vi /etc/profile
PATH=/usr/local/sbin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/sbin:/bin:/usr/local/mysql/bin:/usr/bin:
/usr/dt/bin:/usr/openwin/bin:/usr/ucb

安装软件:
例:
pkgadd -d gcc-3.2.2-sol9-intel-local

!!!求助!!apache怎么安不上???

redhat下没有吗?我以前好象看过redhat默认就安装了gcc的,怎么没有?

!!!求助!!apache怎么安不上???

我用的是redhat,solaris的redhat用可以吗?会有问题吗?redhat自己没有吗?

!!!求助!!apache怎么安不上???

谢拉,我去找一个试试看



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com