# HG changeset patch # User Sebastien Jodogne # Date 1514989964 -3600 # Node ID f2abbac22d5c0d18e801ee0ec3f6db8111c74acb # Parent 57de03213fba8fa02e4bd12c49043570caab0557 postgresql diff -r 57de03213fba -r f2abbac22d5c Sphinx/source/plugins/postgresql.rst --- a/Sphinx/source/plugins/postgresql.rst Tue Jan 02 10:03:42 2018 +0100 +++ b/Sphinx/source/plugins/postgresql.rst Wed Jan 03 15:32:44 2018 +0100 @@ -18,6 +18,9 @@ Compilation ----------- +Static linking +^^^^^^^^^^^^^^ + .. highlight:: text The procedure to compile these plugins is similar of that for the @@ -34,13 +37,34 @@ * ``OrthancPostgreSQLIndex`` replaces the default SQLite index of Orthanc by PostgreSQL. * ``OrthancPostgreSQLStorage`` makes Orthanc store the DICOM files it receives into PostgreSQL. + +Microsoft Windows and Apple OS X +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + Pre-compiled binaries for Microsoft Windows `are also available `__. A package for `Apple's Mac OS X `__ -are available courtesy of `Osimis `__. +is available courtesy of `Osimis `__. +Dynamic linking on Ubuntu 16.04 +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. highlight:: text + +If static linking is not desired, here are build instructions for +Ubuntu 16.04 (provided build dependencies for the :ref:`core of +Orthanc ` have already been installed):: + + $ sudo apt-get install libpq-dev postgresql-server-dev-all + $ cmake .. -DCMAKE_BUILD_TYPE=Debug \ + -DALLOW_DOWNLOADS=ON \ + -DUSE_SYSTEM_GOOGLE_TEST=OFF \ + -DUSE_SYSTEM_ORTHANC_SDK=OFF + $ make + + Usage -----