Search code examples
makefileautoreconfredex

Please install double-conversion library when building 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

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


Solution

  • 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