mapserver 4.6 with oracle spatial

Fernando Simon fsimon at UNIVALI.BR
Wed Aug 3 07:50:54 EDT 2005


Hi,
    This problem occur when the configure can't locate the ORACLE_HOME, 
you can do how the Stefan suggest or define a shell variable with 
ORACLE_HOME. You can check this link how to set the variables: 
http://www.puschitz.com/InstallingOracle9i.shtml#SettingOracleEnvironments
    You need to install the OCI (Oracle Call Interfaces) to add the 
support for Oracle Spatial in Mapserv. Did you install the OCI?
    Here I installed without problems Mapserver+Oracle in Suse 9.2, 9.2 
and Slackware 10.
    Thanks.

------------------------------------------------------------------------
Fernando Simon
Mapserver and Oracle Spatial developer
G10 - Laboratorio de Computacao Aplicada - Brazil
http://g10.cttmar.univali.br - UNIVALI/CTTMAR
------------------------------------------------------------------------

Andrew Seales wrote:

> Stefan Kooman wrote:
>
> > Dear Mapservusers,
> >
> > I'm trying to compile mapserver 4.6 (on CentOS 4) with the following 
> options:
> > ./configure --with-oraclespatial --with-wmsclient --with-proj 
> --with-gdal
> > --with-ogr --with-wfs --with-wms --with-wcs --with-sfsclient 
> --without-tiff
> > --with-httpd=/usr/sbin/apachectl
> >
> > I have installed oracle client and exported the home dir of oracle so
> > mapserver knows where to look.
> >
>
> You probably need to tell mapserver where the oracle client is 
> installed  as the oci.h file probably isn't in your default include 
> folder. My oci.h file is in the /opt/oracle/OraHome_1/rdbms/public 
> directory so you will need to change the --with-oraclespatial 
> parameter to --with-oraclespatial=/path/to/oracle/OraHome_1/rdbms
>



More information about the mapserver-users mailing list