comparison LinuxCompilation.txt @ 3405:408ffcb4038f

reorganizing build instructions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Jun 2019 09:11:33 +0200
parents 815b81142ff7
children 4e34fd3e226a
comparison
equal deleted inserted replaced
3404:e280ced38a4c 3405:408ffcb4038f
93 93
94 Note: Have also a look at the official package: 94 Note: Have also a look at the official package:
95 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/ 95 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/
96 96
97 97
98 SUPPORTED - Ubuntu 12.04.5 LTS 98 SUPPORTED - Ubuntu 14.04 LTS
99 ------------------------------ 99 ----------------------------
100 100
101 # sudo apt-get install build-essential unzip cmake mercurial \ 101 # sudo apt-get install build-essential unzip cmake mercurial \
102 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ 102 uuid-dev libcurl4-openssl-dev \
103 libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \ 103 libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \
104 zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \ 104 zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \
105 libcharls-dev 105 libcharls-dev libjsoncpp-dev libpugixml-dev
106 106
107 # cmake "-DDCMTK_LIBRARIES=boost_locale;CharLS;dcmjpls;wrap;oflog" \ 107 # cmake -DALLOW_DOWNLOADS=ON \
108 -DALLOW_DOWNLOADS=ON \ 108 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
109 -DUSE_SYSTEM_CIVETWEB=OFF \ 109 -DUSE_SYSTEM_CIVETWEB=OFF \
110 -DUSE_SYSTEM_JSONCPP=OFF \ 110 -DUSE_SYSTEM_JSONCPP=OFF \
111 -DUSE_SYSTEM_PUGIXML=OFF \ 111 -DDCMTK_LIBRARIES=dcmjpls \
112 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
113 -DCMAKE_BUILD_TYPE=Release \ 112 -DCMAKE_BUILD_TYPE=Release \
114 ~/Orthanc 113 ~/Orthanc
115 114 # make
116 SUPPORTED - Ubuntu 14.04 LTS and 16.04 LTS 115
117 ------------------------------------------ 116
117 SUPPORTED - Ubuntu 16.04 LTS
118 ----------------------------
118 119
119 # sudo apt-get install build-essential unzip cmake mercurial \ 120 # sudo apt-get install build-essential unzip cmake mercurial \
120 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ 121 uuid-dev libcurl4-openssl-dev liblua5.3-0-dev \
121 libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \ 122 libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \
122 zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \ 123 zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \
123 libcharls-dev libjsoncpp-dev libpugixml-dev 124 libcharls-dev libjsoncpp-dev libpugixml-dev
124 125
125 # cmake -DALLOW_DOWNLOADS=ON \ 126 # cmake -DALLOW_DOWNLOADS=ON \
180 -DCMAKE_BUILD_TYPE=Release \ 181 -DCMAKE_BUILD_TYPE=Release \
181 ~/Orthanc 182 ~/Orthanc
182 183
183 184
184 185
185 SUPPORTED - CentOS 6
186 --------------------
187
188 # yum install unzip make automake gcc gcc-c++ python cmake curl-devel \
189 libpng-devel sqlite-devel libuuid-devel openssl-devel \
190 lua-devel mercurial patch tar
191
192 # cmake -DALLOW_DOWNLOADS=ON \
193 -DUSE_SYSTEM_JSONCPP=OFF \
194 -DUSE_SYSTEM_CIVETWEB=OFF \
195 -DUSE_SYSTEM_PUGIXML=OFF \
196 -DUSE_SYSTEM_SQLITE=OFF \
197 -DUSE_SYSTEM_BOOST=OFF \
198 -DUSE_SYSTEM_DCMTK=OFF \
199 -DUSE_SYSTEM_GOOGLE_TEST=OFF \
200 -DUSE_SYSTEM_LIBJPEG=OFF \
201 -DCMAKE_BUILD_TYPE=Release \
202 ~/Orthanc
203
204
205
206 Other GNU/Linux distributions? 186 Other GNU/Linux distributions?
207 ------------------------------ 187 ------------------------------
208 188
209 Please send us your build instructions (by a mail to 189 Don't hesitate to send us your build instructions (by a mail to
210 s.jodogne@orthanc-labs.com)! 190 s.jodogne@orthanc-labs.com)!
191
192 The file "./Resources/OldBuildInstructions.txt" contains build
193 instructions that once worked for older versions of Orthanc or older
194 GNU/Linux distributions, but are not tested anymore. Even if they may
195 not work anymore as such, they can serve as a basis.
211 196
212 You can find build instructions for Orthanc up to 0.7.0 on the 197 You can find build instructions for Orthanc up to 0.7.0 on the
213 following Wiki page: 198 following Wiki page:
214 https://code.google.com/p/orthanc/wiki/LinuxCompilationUpTo070 199 https://book.orthanc-server.com/faq/compiling-old.html
215 200
216 These instructions will not work as such beyond Orthanc 0.7.0, but 201 These instructions will not work as such beyond Orthanc 0.7.0, but
217 they might give indications. 202 they might give indications.
218
219 203
220 204
221 205
222 Using ccache 206 Using ccache
223 ============ 207 ============