forked from syndicate-storage/syndicate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
91 lines (80 loc) · 2.48 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
To build and install Syndicate, you need to install your distro's versions of the following packages.
Fedora 12-17 (PlanetLab):
yum install \
gnutls-devel \
openssl-devel \
boost-devel \
boost-system \
libxml2-devel \
libattr-devel \
curl-devel \
fuse \
fuse-devel \
libgcrypt-devel \
protobuf \
protobuf-devel \
protobuf-compiler \
protobuf-python \
xerces-c-devel \
libmicrohttpd-devel \
python-daemon \
unixODBC-devel \
libconfig-devel \
Cython \
python-devel \
json-c \
json-c-devel \
python-crypto \
python-scrypt \
python-requests \
redhat-lsb-core \
python-setproctitle \
python-psutil \
valgrind-devel \
zlib
Required versions of the above software:
limicrohttpd-devel >= 0.9
Cython >= 0.19 (you might have to build this from source)
thrift-compiler == 0.8 (you will have to build this from source)
Ubuntu 12.04:
aptitude install \
libgnutls-dev \
libssl-dev \
libboost-dev \
libboost-thread-dev \
libboost-system-dev \
libxml2-dev \
libattr1-dev \
libcurl4-gnutls-dev \
fuse \
libfuse-dev \
libgcrypt-dev \
libprotobuf-dev \
protobuf-compiler \
python-protobuf \
libxerces-c-dev \
libmicrohttpd-dev \
python-daemon \
unixodbc-dev \
libconfig++-dev \
cython \
python-scrypt \
python-requests \
libjson0-dev \
libjson0 \
lsb-core \
python-setproctitle \
python-psutil \
valgrind \
zlib1g
Required versions of the above software:
libmicrohttpd-dev >= 0.9
thrift-compiler == 0.8 (you might have to build this from source)
libcurl4-gnutls-dev >= 7.22
You will need a version of Apache Thrift (0.8.x) installed to build the AG. This dependency is transient and will be removed soon.
You will also need a recent version of libmicrohttpd. At least version 0.9.x should work.
You will additionally need the python bindings for libscrypt installed. You can get it with "pip install scrypt" if its not available via your package manager.
Fedora 12 and Ubuntu 12.04 users may need to build a recent version of libmicrohttpd and Cython themselves, or find an RPM that works.
We have a Syndicate package repository at http://vcoblitz-cmi.cs.princeton.edu/syndicate-nightly/RPMS. To use, do the following:
$ sudo curl http://vcoblitz-cmi.cs.princeton.edu/yum/Syndicate-nightly.repo > /etc/yum.repos.d/Syndicate.repo
When compiling for Native Client, make sure your /dev/shm (or /run/shm) is mounted with exec, not noexec.