[mapserver-users] Compiling Mapserver with Oracle Spatial support issue
Marcin Grudzień
mgrudzien7 at gmail.com
Tue Aug 18 22:55:14 PDT 2020
Hi,
I am new to Mapserver. I am trying to compile MapServer 7.6.1 with Oracle
Spatial support on Ubuntu 20.04.
I basically follow the instruction on
https://www.mapserver.org/installation/unix.html#.
To configure my environment I use
cmake .. -DINSTALL_LIB_DIR:PATH=/usr/lib
-DCMAKE_PREFIX_PATH="/usr/local;/opt;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/lib/oracle/11.2/client64/bin;/usr/lib/oracle/11.2/client64/lib"
-DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DWITH_SOS=1
-DWITH_PHP=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0
-DWITH_PYTHON=1 -DWITH_SVGCAIRO=0 *-DWITH_ORACLESPATIAL=1* -DWITH_MSSQL2008=0
-DWITH_CURL=1 -DWITH_LIBXML2=1 ../ >../configure.out.txt
The cmake output shows:
* Summary of configured options for this build
-- * Mandatory components
-- * GDAL: /usr/local/lib/libgdal.so
-- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so
-- * png: /usr/lib/x86_64-linux-gnu/libpng.so
-- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
-- * Optional components
-- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so
-- * MYSQL: disabled
-- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so
-- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so
-- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so
-- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so
-- * SVGCAIRO: disabled
-- * RSVG: disabled
-- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so
-- * PIXMAN: disabled
-- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so
-- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so
-- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so
-- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so
-- * PROTOBUFC: /usr/local/lib/libprotobuf-c.so
*-- * Oracle Spatial:
/usr/lib/oracle/11.2/client64/lib/libclntsh.so;/usr/lib/oracle/11.2/client64/lib/libocci.so;/usr/lib/oracle/11.2/client64/lib/libnnz11.so*
-- * Exempi XMP: disabled
-- * Optional features
-- * WMS SERVER: ENABLED
-- * WFS SERVER: ENABLED
-- * WCS SERVER: ENABLED
-- * SOS SERVER: ENABLED
-- * WMS CLIENT: ENABLED
-- * WFS CLIENT: ENABLED
-- * ICONV: ENABLED
-- * Thread-safety support: disabled
-- * KML output: disabled
-- * Z+M point coordinate support: ENABLED
-- * XML Mapfile support: disabled
-- * Mapscripts
-- * Python: ENABLED
-- * PHP: ENABLED
-- * PHPNG: disabled
-- * PERL: ENABLED
-- * RUBY: disabled
-- * JAVA: ENABLED
-- * C#: disabled
-- * V8 Javascript: disabled
-- * Apache Module (Experimental): disabled
--
-- PROJECT_BINARY_DIR is set to /home/mgrudzien/mapserver-7.6.1/build
-- Will install files to /usr/local
-- Will install libraries to /usr/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mgrudzien/mapserver-7.6.1/build
Then I compile and install MapServer. However, when I execute mapserv -v I
get
MapServer version 7.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS
SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS
SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
The Oracle Spatial is not supported. What am I doing wrong? How this can
be solved?
Best regards,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200819/aabd178d/attachment.htm>
More information about the MapServer-users
mailing list