forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
37 lines (27 loc) · 726 Bytes
/
BUILD
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
See below if building the proxy
To build memcached in your machine from local repo you will have to install
autotools, automake and libevent. In a debian based system that will look
like this
sudo apt-get install autotools-dev
sudo apt-get install automake
sudo apt-get install libevent-dev
After that you can build memcached binary using automake
cd memcached
./autogen.sh
./configure
make
make test
It should create the binary in the same folder, which you can run
./memcached
You can telnet into that memcached to ensure it is up and running
telnet 127.0.0.1 11211
stats
IF BUILDING PROXY, AN EXTRA STEP IS NECESSARY:
cd memcached
cd vendor
./fetch.sh
cd ..
./autogen.sh
./configure --enable-proxy
make
make test