问题描述
所以我昨天在Ubuntu上安装了redex,一切顺利。
我今天在Mac上设置了麻烦。
So I installed redex on Ubuntu last night and everything went smoothly.I'm having trouble today setting it up on my Mac.
有3个错误我在这个 autoreconf - ivf&& ./configure&&&制作&&请安装
步骤。
There are 3 errors I'm getting at this autoreconf -ivf && ./configure && make && make install
step.
请安装双转换库
请安装google-glog库
请安装google-gflags库
我不会一次得到这些。我得到了第一个,所以我按照解决方案但是没有这样做,所以我刚刚从configure.ac文件中删除了这个检查。这导致了第二个错误,然后导致了第3个。
I dont get these all at once. I got the first one so I followed the solution here but that didn't work so I just deleted that check from the configure.ac file. This led to the second error, which then led to the 3rd.
我不知道为什么会发生这种情况,我按照与昨晚一样的步骤
I'm not sure why this is happening, I followed the exact same steps as I did last night.
任何建议?
所以我按照拉尔夫的建议,现在我有一个不同的错误 -
So I followed the suggestion from Ralph and now I've got a different error -
...
"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
推荐答案
看来代码中有错误这需要被淘汰。早期采用者的乐趣;)
Looks like there were bugs in the code that needed to get ironed out. The fun of early adopters ;)
现在正在为我工作。
It's working for me now.
这篇关于在OSX Yosemite上编译Facebook Redex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!