[Mapserver-users] Repost: Oracle Spatial: A tip and a request

Frank Warmerdam warmerdam at pobox.com
Tue Dec 9 09:52:57 EST 2003


bartvde at xs4all.nl wrote:
> Hi Frank,
> 
> 
>>The Oracle client DLLs would need to be in the path. I am not sure that
>>ORACLE_HOME is required.
> 
> 
> What you say is true for runtime, but what I meant was compile time.
> 
> The nmake.opt for GDAL has the following section:
> 
> !IFDEF ORACLE_HOME
> OCI_LIB =	$(ORACLE_HOME)\oci\lib\msvc\ociw32.lib \
> 		$(ORACLE_HOME)\oci\lib\msvc\oci.lib
> !ENDIF
> 
> So this means ORACLE_HOME needs to be set to the Oracle client path on my
> machine in order to compile in the Oracle Spatial support, i.e. for the
> Oracle OCI libraries to be found during compile time?
> 
> Or am I misinterpreting something?

Bart,

Ah yes, you are correct.  Or just edit the nmake.opt file and make OCI_LIB
point to the appropriate places.  The nmake.opt file is intended to be
edited and localized.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-users mailing list