免费注册 查看新帖 |

Chinaunix

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

安装monotone出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-02 10:07 |只看该作者 |倒序浏览
我按http://monotone.ca/INSTALL的步骤,先装好了boost 1.34.0, 再装monotone 0.35的时候,出现以下错误,请问该如何解决?

if g++ -DLOCALEDIR=\"/home/LL/monotone/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.  -I./lua -I./sqlite -I/home/LL/boost_1_34_0  -DNDEBUG -DBOOST_DISABLE_THREADS -DBOOST_SP_DISABLE_THREADS -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION   -g -O2 -Wall -W -Wno-unused -fno-strict-aliasing -MT mtn-ssh_agent.o -MD -MP -MF ".deps/mtn-ssh_agent.Tpo" -c -o mtn-ssh_agent.o `test -f 'ssh_agent.cc' || echo './'`ssh_agent.cc; \
then mv -f ".deps/mtn-ssh_agent.Tpo" ".deps/mtn-ssh_agent.Po"; else rm -f ".deps/mtn-ssh_agent.Tpo"; exit 1; fi
numeric_vocab.hh:25: 错误:‘CHAR_BIT’ was not declared in this scope
numeric_vocab.hh:25: 错误:模板参数 1 无效
make[2]: *** [mtn-ssh_agent.o] 错误 1
make[2]: Leaving directory `/home/LL/monotone-0.35'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/LL/monotone-0.35'
make: *** [all] 错误 2

论坛徽章:
0
2 [报告]
发表于 2007-06-05 16:28 |只看该作者
http://bugs.archlinux.org/task/6766?pagenum=5中说到
The CHAR_BIT problem should be solved by including <limits.h>.
我试了一下,还是不行。现在改用boost 1.33.1就没有问题了。

感谢各位朋友关注。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP