comparison Sphinx/source/faq/compiling-old.rst @ 358:011b01ccf52d

fixing external hyperlinks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Mar 2020 18:47:35 +0200
parents a52f1dc48ebc
children d217af5e6cb3
comparison
equal deleted inserted replaced
357:6b432ce3a56e 358:011b01ccf52d
59 :: 59 ::
60 60
61 $ cmake -DSTATIC_BUILD:BOOL=OFF -DSTANDALONE_BUILD:BOOL=ON -DUSE_DYNAMIC_JSONCPP:BOOL=ON -DDEBIAN_USE_GTEST_SOURCE_PACKAGE:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DDCMTK_LIBRARIES="wrap;oflog" 61 $ cmake -DSTATIC_BUILD:BOOL=OFF -DSTANDALONE_BUILD:BOOL=ON -DUSE_DYNAMIC_JSONCPP:BOOL=ON -DDEBIAN_USE_GTEST_SOURCE_PACKAGE:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DDCMTK_LIBRARIES="wrap;oflog"
62 62
63 This is the configuration from the `official Debian package 63 This is the configuration from the `official Debian package
64 <http://anonscm.debian.org/cgit/debian-med/orthanc.git/tree/debian/orthanc.init>`_. 64 <https://salsa.debian.org/med-team/orthanc/-/blob/master/debian/orthanc.init>`_.
65 65
66 Dynamic Linking on Fedora 18 and 19 66 Dynamic Linking on Fedora 18 and 19
67 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 67 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68 68
69 :: 69 ::
70 70
71 $ cmake -DSTATIC_BUILD:BOOL=OFF -DSTANDALONE_BUILD:BOOL=ON -DUSE_DYNAMIC_GOOGLE_LOG:BOOL=ON -DUSE_DYNAMIC_JSONCPP:BOOL=ON -DCMAKE_BUILD_TYPE=Debug 71 $ cmake -DSTATIC_BUILD:BOOL=OFF -DSTANDALONE_BUILD:BOOL=ON -DUSE_DYNAMIC_GOOGLE_LOG:BOOL=ON -DUSE_DYNAMIC_JSONCPP:BOOL=ON -DCMAKE_BUILD_TYPE=Debug
72 72
73 This is the configuration from the `official Fedora package 73 This is the configuration from the `official Fedora package
74 <http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/orthanc.spec?h=f18>`_. 74 <https://src.fedoraproject.org/rpms/orthanc/blob/master/f/orthanc.spec>`_.
75 75
76 Static Linking on CentOS 6.3 and 6.4 76 Static Linking on CentOS 6.3 and 6.4
77 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78 78
79 You have to build and install `CMake 2.8 from source 79 You have to build and install `CMake 2.8 from source
80 <https://cmake.org/download/>`_, or you can use 80 <https://cmake.org/download/>`_, or you can use the cmake28 package
81 the cmake28 package from `EPEL 81 from `EPEL <https://src.fedoraproject.org/rpms/cmake28>`_. The
82 <https://admin.fedoraproject.org/pkgdb/package/rpms/cmake28/>`_. The
83 ``STATIC_BUILD=ON`` option will then work:: 82 ``STATIC_BUILD=ON`` option will then work::
84 83
85 $ /usr/local/bin/cmake -DSTATIC_BUILD:BOOL=ON -DCMAKE_BUILD_TYPE=Debug 84 $ /usr/local/bin/cmake -DSTATIC_BUILD:BOOL=ON -DCMAKE_BUILD_TYPE=Debug
86 85
87 *Thanks to Will Ryder.* 86 *Thanks to Will Ryder.*