forked from JPETTomography/j-pet-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
110 lines (75 loc) · 2.61 KB
/
INSTALL
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Basic installation
------------------
1. Install the required libraries and tools.
Refer to the 'Requirements' section of this document for details.
You can find ready commands for some systems in the
'Requirements installation' section.
2. Create a directory where the built programs will be placed, e.g.
in the main directory:
mkdir build
cd build
3. Invoke the CMake build tool and provide the path to the main directory
If you created the build directory in the main one and entered 'build'
as in step 2. then do:
cmake ..
4. To compile the J-PET framework library do:
make
5. Once the compilation is finished, there should be a file
'libJPetFramework.so' in the build directory.
Code documentation
------------------
To generate the code documentation of the J-PET Framework library,
the Doxygen software must be installed.
To generate the documentation just go to the j-pet-framework build directory
and do:
make documentation
and the documentation will be generated and put in folders named latex and html inside the build directory.
Requirements
------------
1. ROOT (http://root.cern.ch) with properly paths
The recommended version of ROOT is 5.34. Note that this framework is not yet compatible with ROOT versions >= 6.00.
2. gcc
3. Doxygen (www.doxygen.org) only if you want to generate
the code documentation
4. BOOST packages
5. libpqxx (connection between framework and database) [1]
6. libconfig++ [2]
7. cmake [3]
8. tinyxml
Tested Platforms
----------------
1. Ubuntu x86_64 GNU/Linux
gcc 4.6.3
ROOT v5.32
2. Ubuntu 12.04.1 LTS 2013 i386 GNU/Linux
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
ROOT v5.34/18
3. Debian GNU/Linux Sid
gcc-4.9.real (Debian 4.9.2-10) 4.9.2
5.34/26
4. Fedora 20
Annotation
----------------
[1]
Official website:
https://pqxx.org/development/libpqxx/
Documentation:
http://pqxx.org/devprojects/libpqxx/doc/4.0/html/Reference/a00001.html
Other packages related to libpqxx:
http://packages.ubuntu.com/lucid/libpqxx-dev
[2]
Official website:
http://www.hyperrealm.com/libconfig/
Documentation:
http://www.hyperrealm.com/libconfig/libconfig_manual.html
[3]
Official website:
https://cmake.org/
Documentation:
https://cmake.org/documentation
Requirements installation
----------------
For Ubuntu:
sudo apt-get install libboost-all-dev libpqxx-3.1 libpqxx3-dev libconfig++ cmake libtinyxml2-0.0.0
For Fedora 20:
sudo yum install boost-devel libpqxx libpqxx-devel libconfig libconfig-devel cmake