redex: double-conversion has installed, but configure error
➜ redex git:(master) ✗ brew install double-conversion
Warning: double-conversion-1.1.5 already installed
// execute autoreconf -ivf && ./configure && make && make install
…msg…
configure: error: Please install double-conversion
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 13
- Comments: 33 (10 by maintainers)
Commits related to this issue
- Upgrade to C++17 (#15) Summary: Pull Request resolved: https://github.com/facebook/SPARTA/pull/15 Following a recent Redex move to C++17. Reviewed By: minjang Differential Revision: D28612765 fbs... — committed to facebook/redex by yuxuanchen1997 3 years ago
- Upgrade to C++17 (#15) Summary: Pull Request resolved: https://github.com/facebook/SPARTA/pull/15 Following a recent Redex move to C++17. Reviewed By: minjang Differential Revision: D28612765 fbs... — committed to facebook/redex by yuxuanchen1997 3 years ago
@shanenay @sorab2142 as @bertmaher guessed it right, it’s the issue with not having
/usr/local/lib
in the library search path. I ranxcode-select --install
on terminal and after that everything worked and I could install redex. During installation I got another error which working through that now:./../folly/io/async/ssl/OpenSSLPtrTypes.h:20:10: fatal error: 'openssl/evp.h' file not found
And I fixed that one with
brew link --force openssl
since I already had installed openssl through brew. Now I can run redex on Mac OSX@maniramezan solution worked for me:
xcode-select --install
andbrew link --force openssl
. Thank you.I also got this error:
folly/portability/Malloc.h:28:12: error: unknown type name 'size_t'
. I solved it by adding the#include <stddef.h>
line intothird-party/folly/folly/portability/Malloc.h
.@benoitletondor I added
#include <stddef.h>
to /third_party/folly/folly/portability/Malloc.h; seems to do the trick. I suppose one ought to fix that in Folly itself, and not here.same issue here on mac 😕
Just for the record, here ( Ubuntu ), I had this error fixed after typing
This is in the README now, thanks everybody who reported it!
Yep
xcode-select --install
did the trick @bertmaher , on 10.10.5 mac osx.@maniramezan: thanks! I had suspected that was the issue but didn’t have a way to test. For those following along, the solution seems to be:
xcode-select --install
to get the command line tools set up.I’ll leave this issue open for a bit so others can find it.
I am compiling redex now in Ubuntu, and everything works there. So I have an alternate 😃
after xcode-select --install finished, attempting to compile now gives the following error:
@shanenay $ g++ -E -x c++ - -v < /dev/null Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.4.0 Thread model: posix “/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang” -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -E -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 253.6 -v -dwarf-column-info -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/7.0.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/macminiserver/Documents/xmdd_android/redex -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o - -x c++ - clang -cc1 version 7.0.0 based upon LLVM 3.7.0svn default target x86_64-apple-darwin15.4.0 ignoring nonexistent directory “/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/v1” ignoring nonexistent directory “/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/local/include” ignoring nonexistent directory “/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/Library/Frameworks” #include “…” search starts here: #include <…> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/7.0.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks (framework directory) End of search list.
1 “<stdin>”
1 “<built-in>” 1
1 “<built-in>” 3
332 “<built-in>” 3
1 “<command line>” 1
1 “<built-in>” 2
1 “<stdin>” 2
baiyulindeMac-mini:redex macminiserver$
Heh, how about if you delete the AC_LIB_CHECK([glog]) line after that? (You’ll probably just hit the same error in the folly configure, but humor me)
I should have a fix landing soon – in the meantime try editing configure.ac to change:
into
That should appease configure. (I hope.)