免费注册 查看新帖 |

Chinaunix

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

ar program为何物?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-08 10:05 |显示全部楼层 |倒序浏览
我用源代码编译方式安装bind,再进行./configure --prefix=/usr/local/bind的时候出现现面提示

……

configure :error:

ar program not found.Please fix your PATH to include the directory in which ar resides ,or set AR in the erviroment with the full path to ar.

请教各位高手,ar program是什么东西,怎么解决???

论坛徽章:
0
2 [报告]
发表于 2008-07-08 10:21 |显示全部楼层

回复 #2 lipingtababa 的帖子

那我这样的情况,是缺少那个ar工具吗?如何解决这个问题啊?急

论坛徽章:
0
3 [报告]
发表于 2008-07-08 11:27 |显示全部楼层

回复 #4 lipingtababa 的帖子

不好意思,我是个新手啦~~
find / -name ar 后出现这些:
/usr/ccs/bin/ar
/usr/lib/vfs/2.0/extfs/ar
/usr/openwin/lib/locale/ar
/usr/share/gok/ar
/usr/xpg4/bin/ar
/usr/sfw/i386-sun-solaris2.10/bin/ar
/usr/dt/config/ar
/usr/X11/lib/X11/xkb/symbols/pc/ar
/usr/X11/lib/X11/xkb/symbols/ar
/usr/staroffice7/share/cde/types/ar

然后该怎么做呢?是选择呢个正确的目录呢?

论坛徽章:
0
4 [报告]
发表于 2008-07-08 11:55 |显示全部楼层

回复 #6 nimysun 的帖子

是否PATH=/usr/ccs/bin/ar ?
之后我进行./configure --prefix=/usr/local/bind
出现:./configure: chmod: not found
./configure: rm: not found
./configure: expr: not found
./configure: false: not found
./configure: false: not found
./configure: sed: not found
./configure: line 75: chmod: command not found
./configure: line 81: rm: command not found
./configure: line 194: sed: command not found
./configure: line 457: expr: command not found
./configure: line 469: sed: command not found
./configure: line 483: sed: command not found
: error: cannot create .lineno; rerun with a POSIX shell
我的shell是/usr/bin/bash

论坛徽章:
0
5 [报告]
发表于 2008-07-08 12:39 |显示全部楼层
谢谢,之后重新运行./configure --prefix=/usr/local/bind后出现以下:
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for ar... /usr/ccs/bin//ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

是不是编辑器有问题啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP