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


    

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


大家帮看看,怎么回事

系统solarix x86 9.0
装apache-1.3.29时
#./configure --prefix=/usr/local/apache
--with-enable=....  , 还有其它模块项,要不要到make时都出现错误

#make 到一半是出现以下错误。


===>; src/os/unix
rm -f libos.a
ar cr libos.a os.o os-inline.o
make[3]: ar: Command not found
make[3]: *** [libos.a] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/www/apache_1.3.29/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/www/apache_1.3.29'
make: *** [build] Error 2


ar 是什么命令,那里有下载。
大家看看怎么回时。
改装httpd-2.0.49,到make时也有以下错误。
ll.lo poll/unix/pollacc.lo support/unix/waitio.lo dso/unix/dso.lo -lsendfile -lrt -lm -lsocket -lnsl -lresolv -lpthread -ldl
/www/httpd-2.0.49/srclib/apr/libtool: ar: command not found
make[3]: *** [libapr-0.la] Error 127
make[3]: Leaving directory `/www/httpd-2.0.49/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/www/httpd-2.0.49/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/www/httpd-2.0.49/srclib'
make: *** [all-recursive] Error 1

大家帮看看,怎么回事

export CC=/usr/local/bin/gcc
原因g++会报错
export PATH=$PATH:/usr/ccs/bin
原因ar存在/usr/ccs/bin目录 或者将/usr/ccs/bin/ar copy到/usr/bin下面

./configure --prefix=/u01/www
make
make isntall



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