免费注册 查看新帖 |

Chinaunix

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

[求助]关于make命令 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-22 10:06 |只看该作者 |倒序浏览
在安装软件的时候用make命令,结果却出现:make:not found,在网上查了一下,有的说可能是没有安装,有的说是没有设置对,而且说的都不是太清楚,究竟怎么确定是否安装,如果安装了又该怎么设置,请各位指点一下.多谢

论坛徽章:
0
2 [报告]
发表于 2007-03-22 10:09 |只看该作者
Try PATH=$PATH:/usr/ccs/bin; export PATH

论坛徽章:
0
3 [报告]
发表于 2007-03-22 10:19 |只看该作者
是在/etc/skel/local.profile中添加吗?

论坛徽章:
0
4 [报告]
发表于 2007-03-22 10:24 |只看该作者
Type it in command line for now.

For the future, depending on which shell you will use, you can put it into your profile such as $HOME/.profile

论坛徽章:
0
5 [报告]
发表于 2007-03-22 10:40 |只看该作者
如何才能确定命令集有没有安装呢

论坛徽章:
0
6 [报告]
发表于 2007-03-22 10:42 |只看该作者
:/usr/ccs/bin:不是一个标示符
这句话是什么意思

论坛徽章:
0
7 [报告]
发表于 2007-03-22 10:48 |只看该作者
如何才能确定命令集有没有安装呢
make command belongs to package SUNWsprot. pkginfo |grep SUNWsprot

:/usr/ccs/bin:不是一个标示符
这句话是什么意思
You must have a type error. Post your command

论坛徽章:
0
8 [报告]
发表于 2007-03-22 11:02 |只看该作者
给您添了这么多麻烦实在是不好意思

未命名.JPG (34.87 KB, 下载次数: 30)

未命名.JPG

论坛徽章:
0
9 [报告]
发表于 2007-03-22 11:16 |只看该作者
/etc/skel/local.profile is only a template profile for new user accounts.

Do the following steps:
1. Login as you, let's say user1
2. Type echo $0 or type grep user1 /etc/passwd and look at the last column. It should be sh, ksh, bash or csh.
3. For sh, bash or ksh, type cd;vi .profile
4. At the last line, add: PATH=$PATH:/usr/ccs/bin; export PATH
5. Save the change
6. Type  .  ./.profile
7. Type which make . You should see the command
8. Run make .......

论坛徽章:
0
10 [报告]
发表于 2007-03-22 11:55 |只看该作者
#echo $0
sh
#cat /etc/passwd
最后一列是/bin/sh
是不是要到/bin ,然后 vi .profile

[ 本帖最后由 chching 于 2007-3-22 14:33 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP