Close client sockets in case of exceptions
[remote/remote-mci.git] / INSTALL
blobea600fe85f86553167cfe799fb176fda9873b35e
1 Installation Instructions
2 =========================
4 Before begining, check that the following dependencies are met.
6 Mote control server:
7  - MySQL C library (>= 5.0.45)
8  - MySQL C++ library (>= 2.0.7)
9  - Boost program options library (>= 1.34.1)
11 Mote control host:
12  - Udev (>= 113)
13  - Boost program options library (>= 1.34.1)
15 Note that both the library binaries and header files (often packaged
16 separately) needs to be installed.
18 If you are building from an SVN or git checkout, first run the bootstrap
19 script to generate the build files.
21         $ ./bootstrap
23 Configure what you would like to build. Usually, it is enough to just run
24 configure. Pass the --help option to list which options and environment
25 variables can be used. The following example shows how to only build the mote
26 control host program with the boost library installed in a custom location:
28         $ ./configure --prefix=/ --bindir=/sbin \
29                       --disable-mcs CXXFLAGS=-I/usr/include/boost-1_33/
31 Verify that the configuration summary printed at the end of the script
32 execution corresponds to your requirements.
34 Build all configured programs:
36         $ make
38 To install on the local system to the location provided with the --prefix
39 option, run:
41         $ make install
43 You should also install an start up script (e.g. into /etc/init.d/) so the
44 mote control host and server is started when the system is booted. Examples
45 for different systems are provided in the contrib directory.