/
ZEROMQ_log
91 lines (51 loc) · 2.06 KB
/
ZEROMQ_log
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
-------------------------------------------------------
Requirements: make gcc libtool autoconf automake uuid uuid-dev git
0 - sudo apt-get install make gcc libtool autoconf automake uuid uuid-dev git
-> If any error is encountered due to a missing file try to issue the following command:
0.1 - sudo apt-get install apt-file
0.2 - apt-file search <NAME_OF_THE_MISSING_FILE>
0.3 - sudo apt-get install <NAME_OF_THE_PACKAGE>
--------------------------------------------------------
Installation Instructions:
-> Download zeroMQ sources
1 - wget http://download.zeromq.org/zeromq-4.0.3.tar.gz
-> Build and install (extracted from zeroMQ official
guides - http://zeromq.org/intro:get-the-software)
-> Unpack the .tar.gz source archive.
2 - tar xvzf zeromq-4.0.3.tar.gz
-> Change to the extracted files folded
3 - cd zeromq-4.0.3
-> Run ./configure, followed by make.
4 - ./configure
5 - make
-> To install ØMQ system-wide run sudo make install.
6 - sudo make install
-> On Linux, run sudo ldconfig after installing ØMQ.
7 - sudo ldconfig
-> Download czeroMQ sources (high-level C API)
8 - wget http://download.zeromq.org/czmq-2.0.3.tar.gz
-> Build and install (extracted from zeroMQ official
http://czmq.zeromq.org/page:get-the-software)
-> Unpack the .tar.gz source archive.
9 - tar xvzf czmq-2.0.3.tar.gz
-> Run ./configure, followed by make.
10 - ./configure
11 - make
-> To install ØMQ system-wide run sudo make install.
12 - sudo make install
-> On Linux, run sudo ldconfig after installing CZMQ.
13 - sudo ldconfig
--------------------------------------------------------
Building the examples:
-> Clone the examples repositor
1 - git clone --depth=1 git://github.com/imatix/zguide.git
-> Go to your preferred programming language example folder:
2 - cd examples/<PREFFERED_LANGUAGE>
-> If you are using the "C" examples you might have to change
the "c" script that comes along.
-> In line 166. Change this:
> STDLIBS="-lpthread -lm"
-> To this:
> STDLIBS="-lpthread -lm -lzmq -lczmq"
-> execute build command
3 - ./build