-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
59 lines (38 loc) · 1.96 KB
/
README
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
== Asynchronous Message Store Plugin for Qpid c++ Broker ==
-- PREREQUISITES --
- libaio-devel libs
- qpid broker headers and libraries (see below)
- all prerequisites for qpid (see qpid's cpp/INSTALL file)
- berkeley db4 (tested with version 4.3.29)
- python (to run system tests)
For the qpid requirements you can either install the qpidd-devel package or
check-out the qpid source from:
https://svn.apache.org/repos/asf/qpid/trunk/qpid
-- BUILDING --
The following steps should build the package (all from the cpp directory):
0. If you are using an svn checkout of qpidd, then build this package following
the instructions in the cpp/INSTALL file from that project. The store will not
link without the libqpidcommon.so library from that project. If you installed
the qpidd package, then this library is installed.
1. './bootstrap' (This initializes the autotools)
2. If the qpidd package is installed, then:
'./configure'
Otherwise, if using an svn checkout of qpidd (as opposed to installing
the qpidd package), then:
'./configure --with-qpid-checkout=<path_to_qpid>'
(Point to the top-level qpid dir in which the cpp and python dirs exist)
3. 'make' or 'make all' will build the module
'make check' will run unit and system tests.
Note: Some system tests require qpid's python test framework, and therefore
will not run unless python is installed and qpidd is installed from
subversion and the --with-qpid-checkout option is used in configure.
-- DISTRIBUTION-SPECIFIC NOTES ---
On a RHEL4, some files must be patched to accomodate an early version of boost
and gcc. See cpp/rhel4-support/README. Note that there are some warnings seen on
RHEL4 builds and tests that are not present on other platforms.
On a Fedora system install prerequisites via:
yum install libaio-devel db4-devel qpidd-devel
On a Debian-based system, install prerequisites via:
apt-get install libdb4.3++-dev
On Debian, I need to get this file:
/usr/include/db_cxx.h