免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] freebsd8.2中安装dynamips0.2.8失败! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-28 21:59 |只看该作者 |倒序浏览
ports中只有0.2.7的,于是就直接到管网下载了0.2.8,下载后解压安装出错,如下:
lab# make install
"Makefile", line 50: Missing dependency operator
"Makefile", line 56: Need an operator
"Makefile", line 57: Missing dependency operator
"Makefile", line 63: Need an operator
"Makefile", line 64: Missing dependency operator
"Makefile", line 67: Need an operator
"Makefile", line 68: Missing dependency operator
"Makefile", line 74: Need an operator
"Makefile", line 75: Missing dependency operator
"Makefile", line 80: Need an operator
"Makefile", line 83: Need an operator
"Makefile", line 84: Need an operator
"Makefile", line 85: Need an operator
"Makefile", line 86: Need an operator
"Makefile", line 87: Need an operator
"Makefile", line 164: Missing dependency operator
"Makefile", line 167: Need an operator
"Makefile", line 169: Missing dependency operator
"Makefile", line 172: Need an operator
"Makefile", line 174: Missing dependency operator
"Makefile", line 177: Need an operator
"Makefile", line 180: Missing dependency operator
"Makefile", line 184: Need an operator
"Makefile", line 187: Missing dependency operator
"Makefile", line 193: Need an operator
make: fatal errors encountered -- cannot continue


查看Makefile,50行如下:

ifeq ($(shell uname), FreeBSD)                         ##这就是第50行
   PTHREAD_LIBS?=-pthread
   LOCALBASE?=/usr/local
   CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \
        $(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64
   LIBS=-L$(LOCALBASE)/lib -L. -ldl -lelf $(PTHREAD_LIBS) $(LDFLAGS)
else
ifeq ($(shell uname), Linux)
   PTHREAD_LIBS?=-lpthread


请问应该如何处理啊,请帮忙!!

论坛徽章:
0
2 [报告]
发表于 2011-03-29 10:37 |只看该作者
不会吧,没有人帮忙啊~

论坛徽章:
0
3 [报告]
发表于 2011-03-29 11:57 |只看该作者
问题搞定了

论坛徽章:
2
技术图书徽章
日期:2013-09-04 15:21:51酉鸡
日期:2013-11-01 21:20:20
4 [报告]
发表于 2011-03-29 14:20 |只看该作者
"Makefile", line 50: Missing dependency operator
"Makefile", line 56: Need an operator


一般是make不对,gmake和自带的make是不同的

论坛徽章:
0
5 [报告]
发表于 2011-03-29 15:04 |只看该作者
一般是make不对,gmake和自带的make是不同的
mirnshi 发表于 2011-03-29 14:20



    是的,谢谢,不过我后来发现ports里面还有一个dynamips-devel,这里面就是0.2.8的,make install就可以了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP