# HG changeset patch # User Sebastien Jodogne # Date 1383041724 -3600 # Node ID 9ac1e83838773aaec483453aaaaee21e38ac16be # Parent cd3b60f6e7d48b97ee532c01f36267ff8ac6ff8e build instructions for Debian Sid and Fedora 18 diff -r cd3b60f6e7d4 -r 9ac1e8383877 LinuxCompilation.txt --- a/LinuxCompilation.txt Tue Oct 29 10:48:03 2013 +0100 +++ b/LinuxCompilation.txt Tue Oct 29 11:15:24 2013 +0100 @@ -76,6 +76,27 @@ ~/Orthanc +SUPPORTED - Debian Jessie/Sid +----------------------------- + +# sudo apt-get install build-essential unzip cmake mercurial \ + uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ + libgoogle-glog-dev libgtest-dev libpng-dev \ + libsqlite3-dev libssl-dev zlib1g-dev \ + libdcmtk2-dev libboost-all-dev libwrap0-dev + +# cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ + -DALLOW_DOWNLOADS=ON \ + -DUSE_SYSTEM_MONGOOSE=OFF \ + -DUSE_GTEST_DEBIAN_PACKAGE=ON \ + -DDCMTK_DICTIONARY_DIR:PATH=/usr/share/libdcmtk2 \ + ~/Orthanc + +Note: Have also a look at the official package: +http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/ + + + SUPPORTED - Ubuntu 12.10 ------------------------ @@ -83,7 +104,7 @@ uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ libgoogle-glog-dev libgtest-dev libpng-dev \ libsqlite3-dev libssl-dev zlib1g-dev \ - libdcmtk2-dev libboost-all-dev + libdcmtk2-dev libboost-all-dev libwrap0-dev # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ -DALLOW_DOWNLOADS=ON \ @@ -94,6 +115,23 @@ +SUPPORTED - Fedora 18 +--------------------- + +# sudo yum install make automake gcc gcc-c++ python cmake \ + boost-devel curl-devel dcmtk-devel glog-devel \ + gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ + mongoose-devel openssl-devel jsoncpp-devel lua-devel + +# cmake ~/Orthanc + +Note: Have also a look at the official package: +http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 + + + + + Other Linux distributions? -------------------------- @@ -118,4 +156,4 @@ Orthanc. This is especially useful for developers. To this end, you would use: -# CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Options] +# CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Other Options]