[opensuse-packaging] problem building postgres 12 for Leap 15.2
Hi, maybe one of the packaging experts can enlighten me: When building https://build.opensuse.org/package/show/home:DocB:Orthanc/orthanc-postgresql in OBS everything works. When building the package locally on my TW machine it fails finding postgres: [ 10s] -- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found version "12.2") [ 10s] -- Looking for C++ include orthanc/OrthancCDatabasePlugin.h [ 10s] -- Looking for C++ include orthanc/OrthancCDatabasePlugin.h - found [ 10s] Setting the version of the libraries to 3.2 [ 10s] -- Configuring done [ 10s] CMake Error: The following variables are used in this project, but they are set to NOTFOUND. [ 10s] Please set them or make sure they are set and tested correctly in the CMake files: [ 10s] PostgreSQL_TYPE_INCLUDE_DIR (ADVANCED) As I usually build packages locally before I send them to OBS, it burned some time..... Where does the difference come from, as local build uses the build Info from OBS? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Axel Braun