comparison Resources/OldBuildInstructions.txt @ 3405:408ffcb4038f

reorganizing build instructions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Jun 2019 09:11:33 +0200
parents 06536b4f30c0
children 0013818bf6d4
comparison
equal deleted inserted replaced
3404:e280ced38a4c 3405:408ffcb4038f
37 -DENABLE_JPEG=OFF \ 37 -DENABLE_JPEG=OFF \
38 -DENABLE_JPEG_LOSSLESS=OFF \ 38 -DENABLE_JPEG_LOSSLESS=OFF \
39 ~/Orthanc 39 ~/Orthanc
40 40
41 41
42 Ubuntu 12.04.5 LTS
43 ------------------
42 44
43 SUPPORTED - Ubuntu 12.10 45 # sudo apt-get install build-essential unzip cmake mercurial \
44 ------------------------ 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 ------------
45 63
46 # sudo apt-get install build-essential unzip cmake mercurial \ 64 # sudo apt-get install build-essential unzip cmake mercurial \
47 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ 65 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
48 libgoogle-glog-dev libgtest-dev libpng-dev \ 66 libgoogle-glog-dev libgtest-dev libpng-dev \
49 libsqlite3-dev libssl-dev zlib1g-dev \ 67 libsqlite3-dev libssl-dev zlib1g-dev \
71 -DENABLE_JPEG=OFF \ 89 -DENABLE_JPEG=OFF \
72 -DENABLE_JPEG_LOSSLESS=OFF \ 90 -DENABLE_JPEG_LOSSLESS=OFF \
73 ~/Orthanc 91 ~/Orthanc
74 92
75 93
76 SUPPORTED - Ubuntu 13.10 94 Ubuntu 13.10
77 ------------------------ 95 ------------
78 96
79 # sudo apt-get install build-essential unzip cmake mercurial \ 97 # sudo apt-get install build-essential unzip cmake mercurial \
80 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ 98 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
81 libgoogle-glog-dev libgtest-dev libpng-dev \ 99 libgoogle-glog-dev libgtest-dev libpng-dev \
82 libsqlite3-dev libssl-dev zlib1g-dev \ 100 libsqlite3-dev libssl-dev zlib1g-dev \
90 -DENABLE_JPEG=OFF \ 108 -DENABLE_JPEG=OFF \
91 -DENABLE_JPEG_LOSSLESS=OFF \ 109 -DENABLE_JPEG_LOSSLESS=OFF \
92 ~/Orthanc 110 ~/Orthanc
93 111
94 112
95 SUPPORTED - Fedora 19 113 Fedora 19
96 --------------------- 114 ---------
97 115
98 # sudo yum install unzip make automake gcc gcc-c++ python cmake \ 116 # sudo yum install unzip make automake gcc gcc-c++ python cmake \
99 boost-devel curl-devel dcmtk-devel glog-devel \ 117 boost-devel curl-devel dcmtk-devel glog-devel \
100 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ 118 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \
101 mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel 119 mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel
104 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \ 122 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \
105 ~/Orthanc 123 ~/Orthanc
106 124
107 Note: Have also a look at the official package: 125 Note: Have also a look at the official package:
108 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 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 # cmake -DALLOW_DOWNLOADS=ON \
137 -DUSE_SYSTEM_JSONCPP=OFF \
138 -DUSE_SYSTEM_CIVETWEB=OFF \
139 -DUSE_SYSTEM_PUGIXML=OFF \
140 -DUSE_SYSTEM_SQLITE=OFF \
141 -DUSE_SYSTEM_BOOST=OFF \
142 -DUSE_SYSTEM_DCMTK=OFF \
143 -DUSE_SYSTEM_GOOGLE_TEST=OFF \
144 -DUSE_SYSTEM_LIBJPEG=OFF \
145 -DCMAKE_BUILD_TYPE=Release \
146 ~/Orthanc
147