Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 732008

Summary: sci-geosciences/mapserver-7.6.0[oracle]: CMake Error at CMakeLists.txt:91 (message): ORACLESPATIAL library/component/dependency could not be found
Product: Gentoo Linux Reporter: Marco Genasci <fedeliallalinea>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mapserver-7.6.0-find-oracle-19.patch

Description Marco Genasci 2020-07-10 05:56:03 UTC
mapserver[oracle] (with >=dev-db/oracle-instantclient-19.x.x) fails compilation phase with error:

ORACLE_HOME=/usr/lib64/oracle/client
-- Could NOT find ORACLE (missing: ORACLE_LIBRARY) 
CMake Error at CMakeLists.txt:91 (message):
  ORACLESPATIAL library/component/dependency could not be found.

    HINTS:
    - disable ORACLESPATIAL support by adding -DWITH_ORACLESPATIAL=0
    - add the ORACLESPATIAL install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/ORACLESPATIAL-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:528 (report_optional_not_found)


Reproducible: Always
Comment 1 Marco Genasci 2020-07-10 05:56:36 UTC
Created attachment 648702 [details, diff]
mapserver-7.6.0-find-oracle-19.patch

Patch to solve problem
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-02 06:09:45 UTC
https://github.com/mapserver/mapserver/commit/5235489fa322f187cb7fb7c63c47f52995ab0f79

Thank you, sorry I didn't get to this.