免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1526 | 回复: 3
打印 上一主题 下一主题

在solaris 5.9上编译安装apache 2.0.54 过程中make install报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-26 01:31 |只看该作者 |倒序浏览
在solaris 5.9上编译安装apache .
gcc版本是:gcc-3.4.2-sol7-sparc-local (注意此处我误装成了5.7版本的,不知道是不是这个原因)

Apache版本:httpd-2.0.54.tar 源代码方式安装.

执行的配置命令是:
./configure --prefix=/opt/apache --enable-module=so
日后要配置php环境,所以此处启动了so.
./configure过程很顺利

make的时候发现没有此命令,于是又安装了
make-3.80-sol9-sparc-local.gz

安装成功后,可以进行make操作.

make成功.

make install时错误如下:
bash-2.05# make install
Making install in srclib
make[1]: Entering directory `/export/home2/skd/httpd-2.0.54/srclib'
Making install in apr
make[2]: Entering directory `/export/home2/skd/httpd-2.0.54/srclib/apr'
/bin/bash /export/home2/skd/httpd-2.0.54/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I./include -I../include -version-info 9:6:9 -o libapr-0.la -rpath /opt/apache/lib strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo strings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo passwd/apr_getpass.lo tables/apr_hash.lo tables/apr_tables.lo file_io/unix/copy.lo file_io/unix/dir.lo file_io/unix/fileacc.lo file_io/unix/filedup.lo file_io/unix/filepath.lo file_io/unix/filepath_util.lo file_io/unix/filestat.lo file_io/unix/flock.lo file_io/unix/fullrw.lo file_io/unix/mktemp.lo file_io/unix/open.lo file_io/unix/pipe.lo file_io/unix/readwrite.lo file_io/unix/seek.lo file_io/unix/tempdir.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/sendrecv.lo network_io/unix/sockaddr.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo threadproc/unix/proc.lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpriv.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/version.lo locks/unix/global_mutex.lo locks/unix/proc_mutex.lo locks/unix/thread_cond.lo locks/unix/thread_mutex.lo locks/unix/thread_rwlock.lo time/unix/time.lo time/unix/timestr.lo mmap/unix/common.lo mmap/unix/mmap.lo shmem/unix/shm.lo user/unix/groupinfo.lo user/unix/userinfo.lo memory/unix/apr_pools.lo atomic/unix/apr_atomic.lo poll/unix/poll.lo poll/unix/pollacc.lo support/unix/waitio.lo dso/unix/dso.lo -lsendfile -lrt -lm -lsocket -lnsl -lresolv -lpthread -ldl
/export/home2/skd/httpd-2.0.54/srclib/apr/libtool: ar: command not found
make[2]: *** [libapr-0.la] Error 127
make[2]: Leaving directory `/export/home2/skd/httpd-2.0.54/srclib/apr'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/export/home2/skd/httpd-2.0.54/srclib'
make: *** [install-recursive] Error 1
bash-2.05# ar
bash: ar: command not found

请问大家,我该怎么解决?

论坛徽章:
0
2 [报告]
发表于 2005-09-26 08:02 |只看该作者

在solaris 5.9上编译安装apache 2.0.54 过程中make install报错

把ar所在的路径加到PATH中就行了,好像是/usr/ccs/bin

论坛徽章:
0
3 [报告]
发表于 2005-09-26 14:22 |只看该作者

在solaris 5.9上编译安装apache 2.0.54 过程中make install报错

谢谢,我通过设置环境变量,问题已经解决了

论坛徽章:
0
4 [报告]
发表于 2005-12-16 10:38 |只看该作者
我是编译还是不行, PATH一般都是一些什么值...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP