Mercurial > hg > orthanc
annotate Resources/OldBuildInstructions.txt @ 2679:ee9a6cd63891
boost 1.67.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jun 2018 18:02:36 +0200 |
parents | 06536b4f30c0 |
children | 408ffcb4038f |
rev | line source |
---|---|
1415 | 1 This file contains old build instructions that are not tested anymore. |
2 | |
3 | |
4 Debian Squeeze (6.x) | |
5 -------------------- | |
6 | |
7 # sudo apt-get install build-essential unzip cmake mercurial \ | |
8 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
9 libgoogle-glog-dev libpng-dev libgtest-dev \ | |
10 libsqlite3-dev libssl-dev zlib1g-dev | |
11 | |
12 # cmake -DALLOW_DOWNLOADS=ON \ | |
13 -DUSE_SYSTEM_BOOST=OFF \ | |
14 -DUSE_SYSTEM_DCMTK=OFF \ | |
15 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
16 -DUSE_SYSTEM_JSONCPP=OFF \ | |
17 -DUSE_SYSTEM_PUGIXML=OFF \ | |
18 -DENABLE_JPEG=OFF \ | |
19 -DENABLE_JPEG_LOSSLESS=OFF \ | |
20 ~/Orthanc | |
21 | |
22 | |
23 Debian Wheezy (7.x) | |
24 ------------------- | |
25 | |
26 # sudo apt-get install build-essential unzip cmake mercurial \ | |
27 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
28 libgtest-dev libpng-dev libsqlite3-dev \ | |
29 libssl-dev zlib1g-dev libdcmtk2-dev \ | |
30 libboost-all-dev libwrap0-dev libjsoncpp-dev | |
31 | |
32 # cmake -DALLOW_DOWNLOADS=ON \ | |
33 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ | |
34 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
2403
06536b4f30c0
rename USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE as USE_GOOGLE_TEST_DEBIAN_PACKAGE
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2402
diff
changeset
|
35 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
1415 | 36 -DUSE_SYSTEM_PUGIXML=OFF \ |
37 -DENABLE_JPEG=OFF \ | |
38 -DENABLE_JPEG_LOSSLESS=OFF \ | |
39 ~/Orthanc | |
40 | |
41 | |
42 | |
43 SUPPORTED - Ubuntu 12.10 | |
44 ------------------------ | |
45 | |
46 # sudo apt-get install build-essential unzip cmake mercurial \ | |
47 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
48 libgoogle-glog-dev libgtest-dev libpng-dev \ | |
49 libsqlite3-dev libssl-dev zlib1g-dev \ | |
50 libdcmtk2-dev libboost-all-dev libwrap0-dev libcharls-dev | |
51 | |
52 With JPEG: | |
53 | |
54 # cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" \ | |
55 -DALLOW_DOWNLOADS=ON \ | |
56 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
57 -DUSE_SYSTEM_JSONCPP=OFF \ | |
2403
06536b4f30c0
rename USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE as USE_GOOGLE_TEST_DEBIAN_PACKAGE
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2402
diff
changeset
|
58 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
1415 | 59 -DUSE_SYSTEM_PUGIXML=OFF \ |
60 ~/Orthanc | |
61 | |
62 | |
63 Without JPEG: | |
64 | |
65 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | |
66 -DALLOW_DOWNLOADS=ON \ | |
67 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
68 -DUSE_SYSTEM_JSONCPP=OFF \ | |
2403
06536b4f30c0
rename USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE as USE_GOOGLE_TEST_DEBIAN_PACKAGE
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2402
diff
changeset
|
69 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
1415 | 70 -DUSE_SYSTEM_PUGIXML=OFF \ |
71 -DENABLE_JPEG=OFF \ | |
72 -DENABLE_JPEG_LOSSLESS=OFF \ | |
73 ~/Orthanc | |
74 | |
75 | |
76 SUPPORTED - Ubuntu 13.10 | |
77 ------------------------ | |
78 | |
79 # sudo apt-get install build-essential unzip cmake mercurial \ | |
80 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
81 libgoogle-glog-dev libgtest-dev libpng-dev \ | |
82 libsqlite3-dev libssl-dev zlib1g-dev \ | |
83 libdcmtk2-dev libboost-all-dev libwrap0-dev libjsoncpp-dev | |
84 | |
85 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | |
86 -DALLOW_DOWNLOADS=ON \ | |
87 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
2403
06536b4f30c0
rename USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE as USE_GOOGLE_TEST_DEBIAN_PACKAGE
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2402
diff
changeset
|
88 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
1415 | 89 -DUSE_SYSTEM_PUGIXML=OFF \ |
90 -DENABLE_JPEG=OFF \ | |
91 -DENABLE_JPEG_LOSSLESS=OFF \ | |
92 ~/Orthanc | |
93 | |
94 | |
95 SUPPORTED - Fedora 19 | |
96 --------------------- | |
97 | |
98 # sudo yum install unzip make automake gcc gcc-c++ python cmake \ | |
99 boost-devel curl-devel dcmtk-devel glog-devel \ | |
100 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ | |
101 mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel | |
102 | |
103 # cmake "-DDCMTK_LIBRARIES=CharLS" \ | |
104 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \ | |
105 ~/Orthanc | |
106 | |
107 Note: Have also a look at the official package: | |
108 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 |