所以我昨晚在Ubuntu上安装了redex,一切顺利。 我今天在Mac上设置它时遇到了麻烦。
我在这个autoreconf -ivf && ./configure && make && make install
步骤中遇到了3个错误。
Please install double-conversion library
Please install google-glog library
Please install google-gflags library
我不会立刻得到这些。我得到了第一个,所以我遵循了解决方案here,但这没有用,所以我只是从configure.ac文件中删除了该检查。这导致了第二个错误,然后导致第3个错误。
我不确定为什么会发生这种情况,我按照与昨晚相同的步骤进行操作。
有什么建议吗?
所以我按照拉尔夫的建议,现在我有一个不同的错误 -
...
"double_conversion::StringToDoubleConverter::StringToIeee(char const*, int, int*, bool) const", referenced from:
folly::detail::str_to_float(folly::Range<char const*>*) in libfolly.a(Conv.o)
folly::detail::str_to_double(folly::Range<char const*>*) in libfolly.a(Conv.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [redex-all] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
答案 0 :(得分:1)
您必须执行以下步骤
xcode-select --install
和brew link --force openssl
之后将#include <stddef.h>
行添加到third-party/folly/folly/portability/Malloc.h
答案 1 :(得分:0)