comparison Sphinx/source/plugins/postgresql.rst @ 263:39609c9a2c41

note about includes for postgresql
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 12 Aug 2019 10:19:04 +0200
parents c7551e19ae95
children f29d75bc5c25
comparison
equal deleted inserted replaced
262:3391edf37359 263:39609c9a2c41
45 <http://www.orthanc-server.com/browse.php?path=/plugin-postgresql>`__. 45 <http://www.orthanc-server.com/browse.php?path=/plugin-postgresql>`__.
46 A package for `Apple's Mac OS X 46 A package for `Apple's Mac OS X
47 <http://www.osimis.io/en/download.html>`__ 47 <http://www.osimis.io/en/download.html>`__
48 is available courtesy of `Osimis <http://osimis.io/>`__. 48 is available courtesy of `Osimis <http://osimis.io/>`__.
49 49
50
51 .. _postgresql-ubuntu1604:
50 52
51 Dynamic linking on Ubuntu 16.04 53 Dynamic linking on Ubuntu 16.04
52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
53 55
54 .. highlight:: text 56 .. highlight:: text
64 -DALLOW_DOWNLOADS=ON \ 66 -DALLOW_DOWNLOADS=ON \
65 -DUSE_SYSTEM_GOOGLE_TEST=OFF \ 67 -DUSE_SYSTEM_GOOGLE_TEST=OFF \
66 -DUSE_SYSTEM_ORTHANC_SDK=OFF 68 -DUSE_SYSTEM_ORTHANC_SDK=OFF
67 $ make 69 $ make
68 70
71
72 .. _postgresql-cmake:
73
74 Dynamic linking on other GNU/Linux distributions
75 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76
77 .. highlight:: text
78
79 The build instructions should always be very similar to those for
80 :ref:`Ubuntu 16.04 <postgresql-ubuntu1604>`. One difficulty that could
81 however arise is that it is possible that the CMake environment that
82 is shipped with the GNU/Linux distribution cannot locate a recent
83 version of the development headers for PostgreSQL. This leads to an
84 error while invoking CMake that looks like::
85
86 -- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR)
87
88 In such a situation, please add your version of PostgreSQL to the
89 macro ``PostgreSQL_ADDITIONAL_VERSIONS`` that is defined at the end of
90 the `Resources/CMake/PostgreSQLConfiguration.cmake file
91 <https://bitbucket.org/sjodogne/orthanc-databases/src/default/Resources/CMake/PostgreSQLConfiguration.cmake>`__ in the sources of the project.
92
69 93
70 Usage 94 Usage
71 ----- 95 -----
72 96
73 .. highlight:: json 97 .. highlight:: json