[Debian-med-packaging] Bug#818757: Bug#818757: orthanc-postgresql: does not start

Andreas Tille andreas at an3as.eu
Wed Jun 29 14:09:56 UTC 2016


Hi Sebastien,

On Wed, Jun 29, 2016 at 03:28:53PM +0200, Sebastien Jodogne wrote:
> 
> > Any chance a -dbgsyms package can be provided ?
> 
> I have no idea of how this can be done in Debian together with CMake; I am
> unable to understand the wiki [1]. Furthermore, besides keeping the symbols,
> it would be really important to compile in Debug mode, otherwise the trace
> would be very hard to understand.

That's usually created automatically since a certain point of time if
you build the package.  I intended to verify this for
orthanc-postgresql_2.0 but get a build error. :-(

...
JsonCpp include dir: /usr/include/jsoncpp
-- Looking for C++ include /usr/include/jsoncpp/json/reader.h
-- Looking for C++ include /usr/include/jsoncpp/json/reader.h - found
-- Could NOT find PostgreSQL (missing:  PostgreSQL_TYPE_INCLUDE_DIR) (found version "9.5.3")
-- Looking for C++ include orthanc/OrthancCppDatabasePlugin.h
-- Looking for C++ include orthanc/OrthancCppDatabasePlugin.h - found
Setting the version of the libraries to 2.0
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PostgreSQL_TYPE_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0
   used as include directory in directory /build/orthanc-postgresql-2.0

-- Configuring incomplete, errors occurred!
See also "/build/orthanc-postgresql-2.0/Build/CMakeFiles/CMakeOutput.log".
See also "/build/orthanc-postgresql-2.0/Build/CMakeFiles/CMakeError.log".
        "tail -v -n +0 CMakeCache.txt"
==> CMakeCache.txt <==
# This is the CMakeCache file.
# For build in directory: /build/orthanc-postgresql-2.0/Build
...

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list