Please install double-conversion library when building redex

谁说胖子不能爱 提交于 2020-01-02 17:49:49

问题


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

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

But I installed this 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.

I installed it from https://github.com/google/double-conversion


回答1:


I had the same problem and found the solution online.

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(

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

After that I was able to build




回答2:


I've fixed the double-conversion error in configure, so this shouldn't be a problem anymore. Thanks for reporting it.



来源:https://stackoverflow.com/questions/36599684/please-install-double-conversion-library-when-building-redex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!