comparison LinuxCompilation.txt @ 636:9ac1e8383877

build instructions for Debian Sid and Fedora 18
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Oct 2013 11:15:24 +0100
parents cd3b60f6e7d4
children 92aa6df91c30
comparison
equal deleted inserted replaced
635:cd3b60f6e7d4 636:9ac1e8383877
74 -DUSE_SYSTEM_MONGOOSE=OFF \ 74 -DUSE_SYSTEM_MONGOOSE=OFF \
75 -DUSE_SYSTEM_JSONCPP=OFF \ 75 -DUSE_SYSTEM_JSONCPP=OFF \
76 ~/Orthanc 76 ~/Orthanc
77 77
78 78
79 SUPPORTED - Debian Jessie/Sid
80 -----------------------------
81
82 # sudo apt-get install build-essential unzip cmake mercurial \
83 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
84 libgoogle-glog-dev libgtest-dev libpng-dev \
85 libsqlite3-dev libssl-dev zlib1g-dev \
86 libdcmtk2-dev libboost-all-dev libwrap0-dev
87
88 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \
89 -DALLOW_DOWNLOADS=ON \
90 -DUSE_SYSTEM_MONGOOSE=OFF \
91 -DUSE_GTEST_DEBIAN_PACKAGE=ON \
92 -DDCMTK_DICTIONARY_DIR:PATH=/usr/share/libdcmtk2 \
93 ~/Orthanc
94
95 Note: Have also a look at the official package:
96 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/
97
98
99
79 SUPPORTED - Ubuntu 12.10 100 SUPPORTED - Ubuntu 12.10
80 ------------------------ 101 ------------------------
81 102
82 # sudo apt-get install build-essential unzip cmake mercurial \ 103 # sudo apt-get install build-essential unzip cmake mercurial \
83 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ 104 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
84 libgoogle-glog-dev libgtest-dev libpng-dev \ 105 libgoogle-glog-dev libgtest-dev libpng-dev \
85 libsqlite3-dev libssl-dev zlib1g-dev \ 106 libsqlite3-dev libssl-dev zlib1g-dev \
86 libdcmtk2-dev libboost-all-dev 107 libdcmtk2-dev libboost-all-dev libwrap0-dev
87 108
88 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ 109 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \
89 -DALLOW_DOWNLOADS=ON \ 110 -DALLOW_DOWNLOADS=ON \
90 -DUSE_SYSTEM_MONGOOSE=OFF \ 111 -DUSE_SYSTEM_MONGOOSE=OFF \
91 -DUSE_SYSTEM_JSONCPP=OFF \ 112 -DUSE_SYSTEM_JSONCPP=OFF \
92 -DUSE_GTEST_DEBIAN_PACKAGE=ON \ 113 -DUSE_GTEST_DEBIAN_PACKAGE=ON \
93 ~/Orthanc 114 ~/Orthanc
115
116
117
118 SUPPORTED - Fedora 18
119 ---------------------
120
121 # sudo yum install make automake gcc gcc-c++ python cmake \
122 boost-devel curl-devel dcmtk-devel glog-devel \
123 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \
124 mongoose-devel openssl-devel jsoncpp-devel lua-devel
125
126 # cmake ~/Orthanc
127
128 Note: Have also a look at the official package:
129 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18
130
131
94 132
95 133
96 134
97 Other Linux distributions? 135 Other Linux distributions?
98 -------------------------- 136 --------------------------
116 Under Linux, you also have the opportunity to use "ccache" to 154 Under Linux, you also have the opportunity to use "ccache" to
117 dramatically decrease the compilation time when rebuilding 155 dramatically decrease the compilation time when rebuilding
118 Orthanc. This is especially useful for developers. To this end, you 156 Orthanc. This is especially useful for developers. To this end, you
119 would use: 157 would use:
120 158
121 # CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Options] 159 # CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Other Options]