Re: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread Michael Smith
Thanks Jeff!

M

On 7/16/19, 1:17 PM, "mapserver-users on behalf of Jeff McKenna" 
 wrote:

I also took the time to update the OracleSpatial docs 
(https://mapserver.org/input/vector/oracle.html).   If you have any 
enhancements please be sure to file your new issue or pull request to 
the "docs" instance at https://github.com/mapserver/docs

thanks!

-jeff




On 2019-07-16 7:24 AM, Kai Behncke wrote:
> Allright, finally I got it.
> 
> 
> I declared:
> export ORACLE_HOME=/usr/lib/oracle/12.2/client64
> export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib
> 
> and in my case I got a problem with the ORACLE_INCLUDE_DIR.
> 
> I changed in the cmake-directory cmake/FindOracle.cmake:
> 
>   if(DEFINED ENV{ORACLE_HOME})
>   27
>   28   set(ORACLE_HOME $ENV{ORACLE_HOME})
>   29   message("ORACLE_HOME=${ORACLE_HOME}")
>   30
>   31   find_path(ORACLE_INCLUDE_DIR
>   32 NAMES oci.h
>   33 PATHS
>   34
>   35 /usr/include/oracle/12.2/client64)
> 
> 
> And I configured mapserver by:
> 
> cmake .. -DCMAKE_BUILD_TYPE='debug' 
> -DCMAKE_INSTALL_PREFIX=/opt/mapserver 
> 
-DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64:
> /usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1 
> -DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1
> 
> and then I got it:
> 
> 
> --   * LIBXML2: /usr/lib64/libxml2.so
> --   * POSTGIS: /usr/lib64/libpq.so
> --   * GEOS: /usr/lib64/libgeos_c.so
> --   * FastCGI: disabled
> --   * PROTOBUFC: disabled
> --   * Oracle Spatial: 
> 
/usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so
> --   * Exempi XMP: disabled
> --  * Optional features
> --   * WMS SERVER: ENABLED
> --   * WFS SERVER: ENABLED
> --   * WCS SERVER: ENABLED
> 
> 
> Thank you very much, Kai
> 
> Mit freundlichen Grüßen
> Im Auftrag
> 
> Kai Behncke
> Geoinformation
> Tel.: +49 5451 931-7125
> 
> E-Mail: kai.behn...@ibbenbueren.de 
> 
> Rathaus II
> Roncallistraße 3-5
> 1. Stock, Raum 105
> 49477 Ibbenbüren
> 
> 
 Jeff McKenna  15.07.2019 18:42 >>>
> Oh and I always use the "Basic" package, but I guess "lite" will work as
> Mike said.   -jeff
> 
> 
> 
> On 2019-07-15 1:40 PM, Jeff McKenna wrote:
>  > Further to what Mike said, I usually grab the instant client from this
>  > page (it is often hard to find):
>  > 
> https://www.oracle.com/database/technologies/instant-client/downloads.html
> 
>  >
>  > -jeff
>  >
>  >
>  >
> 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread Jeff McKenna
I also took the time to update the OracleSpatial docs 
(https://mapserver.org/input/vector/oracle.html).   If you have any 
enhancements please be sure to file your new issue or pull request to 
the "docs" instance at https://github.com/mapserver/docs


thanks!

-jeff




On 2019-07-16 7:24 AM, Kai Behncke wrote:

Allright, finally I got it.


I declared:
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib

and in my case I got a problem with the ORACLE_INCLUDE_DIR.

I changed in the cmake-directory cmake/FindOracle.cmake:

  if(DEFINED ENV{ORACLE_HOME})
  27
  28   set(ORACLE_HOME $ENV{ORACLE_HOME})
  29   message("ORACLE_HOME=${ORACLE_HOME}")
  30
  31   find_path(ORACLE_INCLUDE_DIR
  32 NAMES oci.h
  33 PATHS
  34
  35 /usr/include/oracle/12.2/client64)


And I configured mapserver by:

cmake .. -DCMAKE_BUILD_TYPE='debug' 
-DCMAKE_INSTALL_PREFIX=/opt/mapserver 
-DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64:
/usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1 
-DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1


and then I got it:


--   * LIBXML2: /usr/lib64/libxml2.so
--   * POSTGIS: /usr/lib64/libpq.so
--   * GEOS: /usr/lib64/libgeos_c.so
--   * FastCGI: disabled
--   * PROTOBUFC: disabled
--   * Oracle Spatial: 
/usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so

--   * Exempi XMP: disabled
--  * Optional features
--   * WMS SERVER: ENABLED
--   * WFS SERVER: ENABLED
--   * WCS SERVER: ENABLED


Thank you very much, Kai

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



Jeff McKenna  15.07.2019 18:42 >>>

Oh and I always use the "Basic" package, but I guess "lite" will work as
Mike said.   -jeff



On 2019-07-15 1:40 PM, Jeff McKenna wrote:
 > Further to what Mike said, I usually grab the instant client from this
 > page (it is often hard to find):
 > 
https://www.oracle.com/database/technologies/instant-client/downloads.html


 >
 > -jeff
 >
 >
 >


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] A suggestion to improve error messages:

2019-07-16 Thread David McKelvie

Thanks. OK, so you dont want to leak potentially "secret" information. That is 
fair
enough.

If the visible error message had said 'map parameter does not match the 
MS_MAP_PATTERN
regular expression' then that would I think not leak useful information to
malicious parties but would have helped me track down what was misconfigured in
my setup.

David

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] A suggestion to improve error messages:

2019-07-16 Thread Ian Turton
On Tue, 16 Jul 2019 at 16:03, David McKelvie  wrote:

>
> A suggestion to improve error messages:
>
> Trying to get a maptile I got the error page
>
> msCGILoadMap(): Web application error. Parameter 'map' value fails to
> validate.
>
> It would be really helpful if this could have said
>
> msCGILoadMap(): Web application error. Parameter 'map' value
> '/var/opt/mapserver/mymap.map' fails to match the MS_MAP_PATTERN value
> '/home/data'.
>
>
That would leak potentially "secret" information that I might not want
"hackers" to see. But if it went into the log file that would be helpful.

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] A suggestion to improve error messages:

2019-07-16 Thread David McKelvie

A suggestion to improve error messages:

Trying to get a maptile I got the error page

msCGILoadMap(): Web application error. Parameter 'map' value fails to validate.

It would be really helpful if this could have said

msCGILoadMap(): Web application error. Parameter 'map' value
'/var/opt/mapserver/mymap.map' fails to match the MS_MAP_PATTERN value
'/home/data'.

Or something similar, with more details about what went wrong.

This should not be a large and complicated change to
mapserver-7.2.2/mapservutil.c
to update the error message.

./mapserver-7.2.2/mapservutil.c:

if(getenv("MS_MAP_PATTERN") && msEvalRegex(getenv("MS_MAP_PATTERN"), 
mapserv->request->ParamValues[i]) != MS_TRUE) {
   msSetError(MS_WEBERR, "Parameter 'map' value fails to validate.", 
"msCGILoadMap()");
   return NULL;
}

David McKelvie
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread Mikael Grønfeldt

Hi Kai

On a Oracle Linux 7 I have compiled Mapserver 7.0.6 with Oraclespatial 
using these parameters

Note the path to Oracle at the DWITH_ORACLESPATIAL parameter.

%cmake -DWITH_CLIENT_WFS=ON \
   -DWITH_CLIENT_WMS=ON \
   -DWITH_CURL=ON \
   -DWITH_SOS=ON \
   -DWITH_PHP=OFF \
   -DWITH_PYTHON=OFF \
   -DWITH_PERL=OFF \
   -DWITH_JAVA=OFF \
   -DWITH_POSTGIS=OFF \
   -DWITH_OGR=ON \
   -DWITH_PROJ=ON \
   -DWITH_RSVG=ON \
   -DWITH_KML=ON \
   -DWITH_SOS=ON \
   -DWITH_FRIBIDI=ON \
   -DWITH_ICONV=ON \
   -DWITH_CAIRO=ON \
   -DWITH_FCGI=ON \
   -DWITH_GEOS=ON \
   -DWITH_GDAL=ON \
   -DWITH_WFS=ON \
   -DWITH_WCS=ON \
   -DWITH_LIBXML2=ON \
   -DWITH_THREAD_SAFETY=ON \
   -DWITH_GIF=ON \
   -DWITH_HARFBUZZ=ON \
   -DWITH_ORACLESPATIAL=/u01/app/oracle/product/12.1.0/client_1 ..


Best regards, / Med venlig hilsen


Mikael Grønfeldt
Business Manager
Mobile +45 23 72 31 81 | Switchboard +45 72 18 30 00

Visma Consulting A/S
Nørgaardsvej 32, DK-2800 Kongens Lyngby 
 
| www.visma.dk


Stay ahead with leading cloud software
This communication is intended for the person(s) named above only. It 
contains information that is confidential and legally privileged. If 
received in error, please delete this e-mail and notify the sender.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread michael . smith . erdc
Kai,
Check the cmake build log too. You also need the libaio library. 

I also set the following ENV variables
ORACLE_HOME - set to the path to the instantclient location
LD_LIBRARY_PATH - set to the path to the instantclient location

Michael Smith

> On Jul 16, 2019, at 2:59 AM, Kai Behncke  wrote:
> 
> Hi Michael, Hi Jeff,
> 
> First of all thank you very much for your responses.
> 
> Meanwhile I have installed from that page:
> https://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
> 
> a) in version 11.2: Instant Client Package - Basic: All files required to run 
> OCI, OCCI, and JDBC-OCI applications
> b) Instant Client Package - SDK: Additional header files and an example 
> makefile for developing Oracle applications with Instant Client
> 
> by "rpm -i".
> 
> But (so far) nevertheless I don`t get mapserver configured with oracle 
> spatial.
> 
> For me it`s not clear with path I have to set. I have (e.g.) tried:
> 
> cmake ..  
> -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/share/oracle/11.2/client64
>  -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0 
> -DWITH_FCGI=0
> 
> 
> ...without success.
> 
> On SUSE SLES 15 I have "oracle-entires" at:
> 
> 
> /usr/share/oracle/11.2/client64
> /usr/lib/oracle/11.2/client64/
> /usr/include/oracle/11.2/client64/
> 
> I there any other step I have to do?
> 
> Thank you very much, Kai
> 
> 
> 
> 
> 
> Mit freundlichen Grüßen
> Im Auftrag
> 
> Kai Behncke
> Geoinformation
> Tel.: +49 5451 931-7125
> 
> E-Mail: kai.behn...@ibbenbueren.de 
> 
> Rathaus II
> Roncallistraße 3-5
> 1. Stock, Raum 105
> 49477 Ibbenbüren
> 
> 
> >>> Michael Smith  15.07.2019 18:19 >>>
> Kai,
>  
> To compile mapserver with oracle support, you need the sdk and the oracle 
> client library. The instant client library and sdk files are fine for this. 
> You do not need a local install of the database or the full client.
>  
> You need Instant Client Package – SDK and the Basic (or Basic Light) Package.
>  
> Mike
>  
>  
> --
> Michael Smith
> Remote Sensing/GIS Center
> US Army Corps of Engineers
>  
>  
> From: mapserver-users  on behalf of 
> Kai Behncke 
> Date: Monday, July 15, 2019 at 11:49 AM
> To: "mapserver-users@lists.osgeo.org" 
> Subject: [mapserver-users] MapServer with oracle-spatial on a linuxsystem
>  
> Dear users,
>  
> on a SUSE System (SLES 15) I try to configure mapserver 7.4. with 
> Oracle-spatial support.
>  
> Important: The Oracle Database is installed on another server.
>  
> I wonder if I need also the oracle-installation on the SLES 15-server or if 
> the oracle client is enough? So far I installed the client at 
> /usr/lib64/oracle/11.2.0.4.0/client/lib/
>  
> I try to configure with:
>  
> cmake .. 
> -DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib
>  -DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0 -DWITH_FRIBIDI=0
>  
> ...but in the output I always get: CMake Error at CMakeLists.txt:73 
> (message): ORACLESPATIAL library/component/dependency could not be found.
>  
> Does that mean I definetely need an oracle installation?
>  
> Thank you very much, Kai
> Mit freundlichen Grüßen
> Im Auftrag
> Kai Behncke
> Geoinformation
> Tel.: +49 5451 931-7125
> E-Mail: kai.behn...@ibbenbueren.de
> Rathaus II
> Roncallistraße 3-5
> 1. Stock, Raum 105
> 49477 Ibbenbüren
>  
> ___ mapserver-users mailing list 
> mapserver-users@lists.osgeo.org 
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread Kai Behncke
Allright, finally I got it.


I declared:
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export LD_LIBRARY_PATH=${ORACLE_HOME}:/usr/lib

and in my case I got a problem with the ORACLE_INCLUDE_DIR.

I changed in the cmake-directory cmake/FindOracle.cmake:

 if(DEFINED ENV{ORACLE_HOME})
 27
 28   set(ORACLE_HOME $ENV{ORACLE_HOME})
 29   message("ORACLE_HOME=${ORACLE_HOME}")
 30
 31   find_path(ORACLE_INCLUDE_DIR
 32 NAMES oci.h
 33 PATHS
 34
 35 /usr/include/oracle/12.2/client64)


And I configured mapserver by:

cmake .. -DCMAKE_BUILD_TYPE='debug'
-DCMAKE_INSTALL_PREFIX=/opt/mapserver
-DCMAKE_PREFIX_PATH=/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64:
/usr/lib:/usr/lib64:/usr/share/gdal -DWITH_ORACLESPATIAL=1
-DWITH_PROTOBUFC=0 -DWITH_FCGI=0 -DWITH_CURL=1

and then I got it:


--   * LIBXML2: /usr/lib64/libxml2.so
--   * POSTGIS: /usr/lib64/libpq.so
--   * GEOS: /usr/lib64/libgeos_c.so
--   * FastCGI: disabled
--   * PROTOBUFC: disabled
--   * Oracle Spatial:
/usr/lib/oracle/12.2/client64/lib/libclntsh.so;/usr/lib/oracle/12.2/client64/lib/libocci.so;/usr/lib/oracle/12.2/client64/lib/libnnz12.so
--   * Exempi XMP: disabled
--  * Optional features
--   * WMS SERVER: ENABLED
--   * WFS SERVER: ENABLED
--   * WCS SERVER: ENABLED


Thank you very much, Kai

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



>>> Jeff McKenna  15.07.2019 18:42 >>>
Oh and I always use the "Basic" package, but I guess "lite" will work
as 
Mike said.   -jeff



On 2019-07-15 1:40 PM, Jeff McKenna wrote:
> Further to what Mike said, I usually grab the instant client from
this 
> page (it is often hard to find): 
>
https://www.oracle.com/database/technologies/instant-client/downloads.html

> 
> -jeff
> 
> 
> 


-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapcache seeder question

2019-07-16 Thread Matej Mailing
Yes, it works and the cache directory size is increasing.

V V pon., 8. jul. 2019 ob 17:29 je oseba Lime, Steve D (MNIT)
 napisala:
>
> And regular tile generation (no seeding) works ok?
>
> -Original Message-
> From: Matej Mailing [mailto:mail...@tam.si]
> Sent: Monday, July 08, 2019 12:26 AM
> To: Lime, Steve D (MNIT) ; 
> mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] Mapcache seeder question
>
> This message may be from an external email source.
> Do not select links or open attachments unless verified. Report all 
> suspicious emails to Minnesota IT Services Security Operations Center.
>
>
>
> Hello Steve,
>
> thanks for answering. I have changed the extent definition in grid
> declaration, but I still get the "0 tiles needed to be seeded,
> exiting" message back from mapcache_seed.
>
> Any ideas will be appreciated.
>
> Thanks,
> Matej
>
> V V pet., 5. jul. 2019 ob 23:00 je oseba Lime, Steve D (MNIT)
>  napisala:
> >
> > I believe the  in your grid should be space delimited - no 
> > commas. At least that's how I have things setup, for example...
> >
> > 
> > 
> >   Standard Minnesota UTM Grid
> > 
> > 105000 4785000 809000 5489000
> > epsg:26915
> > 256 256
> > 5500 2750 1375 687.5 343.75 171.875 85.9375 42.96875 
> > 21.484375 10.7421875 5.37109375 2.685546875 1.3427734375
> >   
> >
> > --Steve
> >
> > -Original Message-
> > From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
> > Behalf Of Matej Mailing
> > Sent: Thursday, July 04, 2019 10:35 AM
> > To: mapserver-users@lists.osgeo.org
> > Subject: [mapserver-users] Mapcache seeder question
> >
> > This message may be from an external email source.
> > Do not select links or open attachments unless verified. Report all 
> > suspicious emails to Minnesota IT Services Security Operations Center.
> >
> >
> >
> > Hello,
> > I am having issues with running Mapcache Seeder with extent options.
> > My grid is defined like:
> >   
> > 256 256
> > 373233,31868 625985,194134
> > EPSG:3912
> > m
> > 18 9 45000 22500 11250 5000 2500 1250 600 300
> > 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06
> >
> >
> > and when I try to run seeder with:
> > mapcache_seed -c mapcache.xml -t dof025 -g SLOGRID -z 3,10 -n 6 -e
> > 533124,86639,544462,103589
> >
> > I get an output 0 tiles needed to be seeded, exiting, which is
> > certainly not true since plenty of those do not exist in the cache
> > directory.
> >
> > What am I missing?
> >
> > Thanks,
> > Matej
> > ___
> > mapserver-users mailing list
> > mapserver-users@lists.osgeo.org
> > https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-usersdata=02%7C01%7Csteve.lime%40state.mn.us%7C202cd663129445fe4f3908d70364db3a%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636981604044024635sdata=H7Hfyb9kyJueMQ%2Bh9puMB4C1WyTzrI3I8RzeFqvLXVI%3Dreserved=0
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Antw: Re: MapServer with oracle-spatial on a linuxsystem

2019-07-16 Thread Kai Behncke
Hi Michael, Hi Jeff,

First of all thank you very much for your responses.

Meanwhile I have installed from that page:
https://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

a) in version 11.2: Instant Client Package - Basic: All files required
to run OCI, OCCI, and JDBC-OCI applications
b) Instant Client Package - SDK: Additional header files and an example
makefile for developing Oracle applications with Instant Client

by "rpm -i".

But (so far) nevertheless I don`t get mapserver configured with oracle
spatial.

For me it`s not clear with path I have to set. I have (e.g.) tried:

cmake .. 
-DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/share/oracle/11.2/client64
-DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0
-DWITH_FRIBIDI=0 -DWITH_FCGI=0


...without success.

On SUSE SLES 15 I have "oracle-entires" at:


/usr/share/oracle/11.2/client64
/usr/lib/oracle/11.2/client64/
/usr/include/oracle/11.2/client64/

I there any other step I have to do?

Thank you very much, Kai





Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



>>> Michael Smith  15.07.2019 18:19 >>>
Kai,
 
To compile mapserver with oracle support, you need the sdk and the
oracle client library. The instant client library and sdk files are fine
for this. You do not need a local install of the database or the full
client.
 
You need Instant Client Package – SDK and the Basic (or Basic Light)
Package.
 
Mike
 
 
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
 
 
From: mapserver-users  on
behalf of Kai Behncke 
Date: Monday, July 15, 2019 at 11:49 AM
To: "mapserver-users@lists.osgeo.org"

Subject: [mapserver-users] MapServer with oracle-spatial on a
linuxsystem
 
Dear users,
 
on a SUSE System (SLES 15) I try to configure mapserver 7.4. with
Oracle-spatial support.
 
Important: The Oracle Database is installed on another server.
 
I wonder if I need also the oracle-installation on the SLES 15-server
or if the oracle client is enough? So far I installed the client at
/usr/lib64/oracle/11.2.0.4.0/client/lib/
 
I try to configure with:
 
cmake ..
-DCMAKE_PREFIX_PATH=/usr/lib64:/usr/share/gdal:/usr/lib64/oracle/11.2.0.4.0/client/lib
-DWITH_ORACLESPATIAL=1 -DWITH_HARFBUZZ=0 -DWITH_PROTOBUFC=0
-DWITH_FRIBIDI=0
 
...but in the output I always get: CMake Error at CMakeLists.txt:73
(message): ORACLESPATIAL library/component/dependency could not be
found.
 
Does that mean I definetely need an oracle installation?
 
Thank you very much, Kai
Mit freundlichen Grüßen
Im Auftrag
Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125
E-Mail: kai.behn...@ibbenbueren.de 
Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren
 
___ mapserver-users mailing
list mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users