comparison OrthancServer/Resources/OldBuildInstructions.txt @ 4044:d25f4c0fa160 framework

splitting code into OrthancFramework and OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 20:30:34 +0200
parents Resources/OldBuildInstructions.txt@0013818bf6d4
children
comparison
equal deleted inserted replaced
4043:6c6239aec462 4044:d25f4c0fa160
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 \
35 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
36 -DUSE_SYSTEM_PUGIXML=OFF \
37 -DENABLE_JPEG=OFF \
38 -DENABLE_JPEG_LOSSLESS=OFF \
39 ~/Orthanc
40
41
42 Ubuntu 12.04.5 LTS
43 ------------------
44
45 # sudo apt-get install build-essential unzip cmake mercurial \
46 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
47 libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \
48 zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \
49 libcharls-dev
50
51 # cmake "-DDCMTK_LIBRARIES=boost_locale;CharLS;dcmjpls;wrap;oflog" \
52 -DALLOW_DOWNLOADS=ON \
53 -DUSE_SYSTEM_CIVETWEB=OFF \
54 -DUSE_SYSTEM_JSONCPP=OFF \
55 -DUSE_SYSTEM_PUGIXML=OFF \
56 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
57 -DCMAKE_BUILD_TYPE=Release \
58 ~/Orthanc
59
60
61 Ubuntu 12.10
62 ------------
63
64 # sudo apt-get install build-essential unzip cmake mercurial \
65 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
66 libgoogle-glog-dev libgtest-dev libpng-dev \
67 libsqlite3-dev libssl-dev zlib1g-dev \
68 libdcmtk2-dev libboost-all-dev libwrap0-dev libcharls-dev
69
70 With JPEG:
71
72 # cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" \
73 -DALLOW_DOWNLOADS=ON \
74 -DUSE_SYSTEM_MONGOOSE=OFF \
75 -DUSE_SYSTEM_JSONCPP=OFF \
76 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
77 -DUSE_SYSTEM_PUGIXML=OFF \
78 ~/Orthanc
79
80
81 Without JPEG:
82
83 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \
84 -DALLOW_DOWNLOADS=ON \
85 -DUSE_SYSTEM_MONGOOSE=OFF \
86 -DUSE_SYSTEM_JSONCPP=OFF \
87 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
88 -DUSE_SYSTEM_PUGIXML=OFF \
89 -DENABLE_JPEG=OFF \
90 -DENABLE_JPEG_LOSSLESS=OFF \
91 ~/Orthanc
92
93
94 Ubuntu 13.10
95 ------------
96
97 # sudo apt-get install build-essential unzip cmake mercurial \
98 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
99 libgoogle-glog-dev libgtest-dev libpng-dev \
100 libsqlite3-dev libssl-dev zlib1g-dev \
101 libdcmtk2-dev libboost-all-dev libwrap0-dev libjsoncpp-dev
102
103 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \
104 -DALLOW_DOWNLOADS=ON \
105 -DUSE_SYSTEM_MONGOOSE=OFF \
106 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
107 -DUSE_SYSTEM_PUGIXML=OFF \
108 -DENABLE_JPEG=OFF \
109 -DENABLE_JPEG_LOSSLESS=OFF \
110 ~/Orthanc
111
112
113 Fedora 19
114 ---------
115
116 # sudo yum install unzip make automake gcc gcc-c++ python cmake \
117 boost-devel curl-devel dcmtk-devel glog-devel \
118 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \
119 mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel
120
121 # cmake "-DDCMTK_LIBRARIES=CharLS" \
122 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \
123 ~/Orthanc
124
125 Note: Have also a look at the official package:
126 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18
127
128
129 CentOS 6
130 --------
131
132 # yum install unzip make automake gcc gcc-c++ python cmake curl-devel \
133 libpng-devel sqlite-devel libuuid-devel openssl-devel \
134 lua-devel mercurial patch tar
135
136 Using static linking with Civetweb (tested with Orthanc 1.5.7):
137
138 # cmake -DSTATIC_BUILD=ON \
139 -DSTANDALONE_BUILD=ON \
140 -DUSE_LEGACY_JSONCPP=ON \
141 -DUSE_LEGACY_LIBICU=ON \
142 -DBOOST_LOCALE_BACKEND=icu \
143 -DCMAKE_BUILD_TYPE=Debug \
144 ~/Orthanc
145
146 Using Mongoose (untested):
147
148 # cmake -DALLOW_DOWNLOADS=ON \
149 -DUSE_SYSTEM_JSONCPP=OFF \
150 -DUSE_SYSTEM_CIVETWEB=OFF \
151 -DUSE_SYSTEM_PUGIXML=OFF \
152 -DUSE_SYSTEM_SQLITE=OFF \
153 -DUSE_SYSTEM_BOOST=OFF \
154 -DUSE_SYSTEM_DCMTK=OFF \
155 -DUSE_SYSTEM_GOOGLE_TEST=OFF \
156 -DUSE_SYSTEM_LIBJPEG=OFF \
157 -DCMAKE_BUILD_TYPE=Release \
158 ~/Orthanc
159