-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broken download links (Yosemite Mac OS X): zookeeper? #176
Comments
It seems |
I tried the above and fixed the problem in zookeeper by applying the patch listed here |
Hi abitofalchemy . I came across the same problem. So how do you applying the patch to fix zookeeper? Could you explain a little bit more? |
Never mind, I manage to figure it out. Since zookeeper 3.4.6 has some problems in Mac Yosemite, I just change the CmakeLists.txt on powerGraph root folder's zookeeper url to the newest version. ExternalProject_Add(zookeeper New one is : ExternalProject_Add(zookeeper |
Modify url of boost and zookeeper, this commit may repair issue jegonzal#176 : broken download links (Yosemite Mac OS X): zookeeper?
@yusong-shen Thanks, the link works!
Do you have idea about how to fix this? Thank you! |
@larryxiao |
I couldn't build PowerGraph, as well, because the cs.utah.edu mirror for Zookeeper is not working anymore. I changed it the CmakeLists.txt to https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz and the build worked. The MD5 is the same. This URL looks like a stable mirror. Edit: on Ubuntu, not MacOS X |
@yusong-shen thanks for replying |
the files CMakeList.txt points to download files that aren't not the right size.
after: ./configure and 'make' in folder debug/toolkits/graph_analytics/ I initially get:
[ 45%] No install step for 'boost'
[ 45%] Completed 'boost'
[ 45%] Built target boost
make: *** [all] Error 2
if I type make again to get more specific details:
[ 29%] Performing build step for 'zookeeper'
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c src/zookeeper.c -o zookeeper.o
In file included from src/zookeeper.c:27:
In file included from ./include/zookeeper.h:34:
./include/recordio.h:76:9: error: expected ')'
int64_t htonll(int64_t v);
^
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
define htonll(x) __DARWIN_OSSwapInt64(x)
/usr/include/libkern/_OSByteOrder.h:78:30: note: expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
./include/recordio.h:76:9: note: to match this '('
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
define htonll(x) __DARWIN_OSSwapInt64(x)
/usr/include/libkern/_OSByteOrder.h:78:5: note: expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
In file included from src/zookeeper.c:27:
In file included from ./include/zookeeper.h:34:
./include/recordio.h:76:9: error: conflicting types for '__builtin_constant_p'
int64_t htonll(int64_t v);
^
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
define htonll(x) __DARWIN_OSSwapInt64(x)
/usr/include/libkern/_OSByteOrder.h:78:6: note: expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
./include/recordio.h:76:9: note: '__builtin_constant_p' is a builtin with type 'int ()'
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
define htonll(x) __DARWIN_OSSwapInt64(x)
/usr/include/libkern/_OSByteOrder.h:78:6: note: expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
2 errors generated.
make[5]: *** [zookeeper.lo] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [../deps/zookeeper/src/zookeeper-stamp/zookeeper-build] Error 2
make[1]: *** [CMakeFiles/zookeeper.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: