Mercurial > hg > orthanc
changeset 2086:630606097798
GNU/Linux
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Sep 2016 09:18:35 +0200 |
parents | 5d4743fd8a85 |
children | e9e6ffbf0fd5 |
files | INSTALL LinuxCompilation.txt NEWS README |
diffstat | 4 files changed, 40 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL Tue Sep 13 17:08:15 2016 +0200 +++ b/INSTALL Fri Sep 16 09:18:35 2016 +0200 @@ -51,14 +51,19 @@ third-party dependencies, delete the "~/Orthanc/ThirdPartyDownloads/" folder, then restart cmake. +WARNING 3: If performance is important to you, make sure to add the +option "-DCMAKE_BUILD_TYPE=Release" when invoking cmake. Indeed, by +default, run-time debug assertions are enabled, which can seriously +impact performance, especially if your Orthanc server stores a lot of +DICOM instances. -Native Linux Compilation ------------------------- + +Native GNU/Linux Compilation +---------------------------- See the file "LinuxCompilation.txt". - Native OS X Compilation ----------------------- @@ -85,8 +90,8 @@ -Cross-Compilation for Windows under Linux ------------------------------------------ +Cross-Compilation for Windows under GNU/Linux +--------------------------------------------- To cross-compile Windows binaries under Linux using MinGW, please use the following command:
--- a/LinuxCompilation.txt Tue Sep 13 17:08:15 2016 +0200 +++ b/LinuxCompilation.txt Fri Sep 16 09:18:35 2016 +0200 @@ -1,17 +1,17 @@ This file is a complement to "INSTALL", which contains instructions -that are specific to Linux. +that are specific to GNU/Linux. -Static linking for Linux -======================== +Static linking for GNU/Linux +============================ -The most simple way of building Orthanc under Linux consists in +The most simple way of building Orthanc under GNU/Linux consists in statically linking against all the third-party dependencies. In this case, the system-wide libraries will not be used. The build tool (CMake) will download the sources of all the required packages and automatically compile them. -This process should work on any Linux distribution, provided that a +This process should work on any GNU/Linux distribution, provided that a C/C++ compiler ("build-essential" in Debian-based systems), the Python interpreter, CMake, the "unzip" system tool, and the development package for libuuid ("uuid-dev" in Debian) are installed. @@ -47,14 +47,14 @@ Note 3- To build the documentation, you will have to install doxyen. -Use system-wide libraries under Linux -===================================== +Use system-wide libraries under GNU/Linux +========================================= -Under Linux, by default, Orthanc links against the shared libraries of -your system (the "STATIC_BUILD" option is set to "OFF"). This greatly -speeds up the compilation. This is also required when building -packages for Linux distributions. Because using system libraries is -the default behavior, you just have to use: +Under GNU/Linux, by default, Orthanc links against the shared +libraries of your system (the "STATIC_BUILD" option is set to +"OFF"). This greatly speeds up the compilation. This is also required +when building packages for GNU/Linux distributions. Because using +system libraries is the default behavior, you just have to use: # cd ~/OrthancBuild # cmake -DCMAKE_BUILD_TYPE=Debug ~/Orthanc @@ -62,13 +62,14 @@ Note that to build the documentation, you will have to install doxyen. -However, on some Linux distributions, it is still required to download -and static link against some third-party dependencies, e.g. when the -system-wide library is not shipped or is outdated. Because of -difference in the packaging of the various Linux distribution, it is -also sometimes required to fine-tune some options. +However, on some GNU/Linux distributions, it is still required to +download and static link against some third-party dependencies, +e.g. when the system-wide library is not shipped or is +outdated. Because of difference in the packaging of the various +GNU/Linux distribution, it is also sometimes required to fine-tune +some options. -You will find below build instructions for specific Linux +You will find below build instructions for specific GNU/Linux distributions. Distributions tagged by "SUPPORTED" are tested by Sébastien Jodogne. Distributions tagged by "CONTRIBUTED" come from Orthanc users. @@ -183,8 +184,8 @@ -Other Linux distributions? --------------------------- +Other GNU/Linux distributions? +------------------------------ Please send us your build instructions (by a mail to s.jodogne@gmail.com)! @@ -202,7 +203,7 @@ Using ccache ============ -Under Linux, you also have the opportunity to use "ccache" to +Under GNU/Linux, you also have the opportunity to use "ccache" to dramatically decrease the compilation time when rebuilding Orthanc. This is especially useful for developers. To this end, you would use:
--- a/NEWS Tue Sep 13 17:08:15 2016 +0200 +++ b/NEWS Fri Sep 16 09:18:35 2016 +0200 @@ -314,7 +314,7 @@ ----- * Prevent freeze on C-FIND if no DICOM tag is to be returned -* Fix slow C-STORE SCP on recent versions of Linux, if +* Fix slow C-STORE SCP on recent versions of GNU/Linux, if USE_SYSTEM_DCMTK is set to OFF (http://forum.dcmtk.org/viewtopic.php?f=1&t=4009) * Fix issue 30 (QR response missing "Query/Retrieve Level" (008,0052)) * Fix issue 32 (Cyrillic symbols): Introduction of the "Windows1251" encoding @@ -535,8 +535,8 @@ * Possibility to disable the HTTP server or the DICOM server * Automatic computation of MD5 hashes for the stored DICOM files * Maintenance tool to recover DICOM files compressed by Orthanc -* The newline characters in the configuration file are fixed for Linux -* Capture of the SIGTERM signal in Linux +* The newline characters in the configuration file are fixed for GNU/Linux +* Capture of the SIGTERM signal in GNU/Linux Version 0.7.2 (2013/11/08)
--- a/README Tue Sep 13 17:08:15 2016 +0200 +++ b/README Fri Sep 16 09:18:35 2016 +0200 @@ -16,11 +16,11 @@ Supported Platforms ------------------- -Currently, the supported platforms are: +Currently, the officially supported platforms are: -* Linux 32bit. -* Linux 64bit. +* GNU/Linux (32bit and 64bit). * Windows 32bit. +* Apple OS X (32bit and 64bit). Supported Toolchains @@ -29,9 +29,9 @@ Orthanc can currently be built using the following compiling toolchains: -* Native Linux compilation, with gcc. +* Native GNU/Linux compilation, with gcc. * Native Windows compilation, with Microsoft Visual Studio. -* Cross-compilation for Windows under Linux, with MinGW. +* Cross-compilation for Windows under GNU/Linux, with MinGW. Licensing