Please install double-conversion library when building redex

1.1k Views Asked by At

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

2

There are 2 best solutions below

6
On BEST ANSWER

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

0
On

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