构建Redex时,请安装双重转换库 [英] Please install double-conversion library when building redex

查看:105
本文介绍了构建Redex时,请安装双重转换库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建redex-不幸的是,它失败了:

I am trying to build redex - unfortunately it fails with:

checking for ceil in -ldouble-conversion... no
configure: error: Please install double-conversion library

但是我安装了这个库:

➜  double-conversion git:(master) ✗ sudo scons install          
[sudo] password for ligi: 
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.

我从 https://github.com/google/double-conversion 安装了它

推荐答案

我遇到了同样的问题,并且在线找到了解决方案.

I had the same problem and found the solution online.

您需要做的是在redex的主文件夹中打开"configure.ac",并将AC_CHECK_LIB([double-conversion],[ceil],[],[AC_MSG_ERROR(替换为AC_CHECK_LIB([double-conversion],[main],[],[AC_MSG_ERROR(

What you have to do is open "configure.ac" in redex's main folder and replace AC_CHECK_LIB([double-conversion],[ceil],[],[AC_MSG_ERROR( with AC_CHECK_LIB([double-conversion],[main],[],[AC_MSG_ERROR(

此处的原始解决方案: http://qiita.com/takke/items/6f39aa4901cb7c7faac9

Original solution here: http://qiita.com/takke/items/6f39aa4901cb7c7faac9

那之后我就可以建造

这篇关于构建Redex时,请安装双重转换库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆