@@ -19,46 +19,55 @@ Just use Yum:
19
19
yum -y install airinv-devel airinv-doc
20
20
21
21
You can also get the RPM packages (which may work on Linux
22
- distributions like Novel Suse and Mandriva) from the Fedora repository
23
- (e.g., for Fedora 18 ,
24
- http://fr2.rpmfind.net/linux/fedora/releases/18 /Everything/)
22
+ distributions like Suse and Mandriva) from the Fedora repository
23
+ (e.g., for Fedora 22 ,
24
+ http://fr2.rpmfind.net/linux/fedora/releases/22 /Everything/)
25
25
26
26
27
27
Building the library and test binary from Git repository:
28
28
----------------------------------------------------------------
29
- The Sourceforge Git repository may be cloned as following:
30
- git clone ssh://git.code.sf.net/p/airinv/code airinvgit
31
- cd airinvgit
29
+ The Git repository may be cloned as following:
30
+ $ git clone
[email protected] :airsim/rmol.git rmolgit # through SSH
31
+ $ git clone https://github.com/airsim/rmol.git # if the firewall filters SSH
32
+ cd rmolgit
32
33
git checkout trunk
33
34
34
35
Then, you need the following packages (Fedora/RedHat/CentOS names here,
35
36
but names may vary according to distributions):
36
- * cmake
37
- * gcc-c++
38
- * stdair-devel, airrac-devel, rmol-devel, sevmgr-devel
39
- * boost-devel
40
- * zeromq-devel
41
- * readline-devel, ncurses-devel
42
- * soci-mysql-devel
43
- * python-devel
44
- * gettext-devel (optional)
45
- * doxygen, ghostscript, graphviz and tetex-latex (optional)
46
- * rpm-build (optional)
37
+ * cmake
38
+ * gcc-c++
39
+ * boost-devel / libboost-dev
40
+ * zeromq-devel
41
+ * python-devel / python-dev
42
+ * gettext-devel / gettext-dev
43
+ * sqlite3-devel / libsqlite3-dev
44
+ * readline-devel / readline-dev
45
+ * ncurses-devel
46
+ * soci-mysql-devel, soci-sqlite3-devel
47
+ * stdair-devel / libstdair-dev
48
+ * airrac-devel / libairrac-dev
49
+ * rmol-devel / librmol-dev
50
+ * sevmgr-devel / libsevmgr-dev
51
+ * doxygen, ghostscript, graphviz
52
+ * tetex-latex (optional)
53
+ * rpm-build (optional)
47
54
48
55
Building the library and test binary from the tarball:
49
56
------------------------------------------------------
50
57
The latest stable source tarball (airinv*.tar.gz or .bz2) can be found here:
51
- http ://sourceforge.net/project/showfiles.php?group_id=261633
58
+ https ://sourceforge.net/projects/airinv/files/
52
59
53
60
To customise the following to your environment, you can alter the path
54
61
to the installation directory:
55
62
export INSTALL_BASEDIR=/home/user/dev/deliveries
56
- export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=64"
63
+ export AIRINV_VER=99.99.99
64
+ if [ -d /usr/lib64 ]; then LIBSUFFIX=64; fi
65
+ export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=$LIBSUFFIX"
57
66
58
67
Then, as usual:
59
68
* To configure the project, type something like:
60
69
mkdir build && cd build
61
- cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/airinv-99.99.99 \
70
+ cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/airinv-$AIRINV_VER \
62
71
-DWITH_STDAIR_PREFIX=${INSTALL_BASEDIR}/stdair-stable \
63
72
-DWITH_SEVMGR_PREFIX=${INSTALL_BASEDIR}/sevmgr-stable \
64
73
-DWITH_AIRRAC_PREFIX=${INSTALL_BASEDIR}/airrac-stable \
@@ -77,13 +86,13 @@ Then, as usual:
77
86
* To package the binary and the (HTML and PDF) documentation:
78
87
make package
79
88
* To browse the (just installed, if enabled) HTML documentation:
80
- midori file://${INSTALL_BASEDIR}/airinv-99.99.99 /share/doc/airinv-99.99.99 /html/index.html
89
+ midori file://${INSTALL_BASEDIR}/airinv-$AIRINV_VER /share/doc/airinv/html/index.html
81
90
* To browse the (just installed, if enabled) PDF documentation:
82
- evince ${INSTALL_BASEDIR}/airinv-99.99.99 /share/doc/airinv-99.99.99 /html/refman.pdf
91
+ evince ${INSTALL_BASEDIR}/airinv-$AIRINV_VER /share/doc/airinv/html/refman.pdf
83
92
* To run the local binary version:
84
93
./airinv/airinv -b
85
94
* To run the installed version:
86
95
${INSTALL_BASEDIR}/airinv-99.99.99/bin/airinv -b
87
96
88
- Denis Arnaud (December 2012 )
97
+ Denis Arnaud (June 2015 )
89
98
0 commit comments