<div dir="ltr">Tamas, <div style>If the user wants the oracle plugin, do I have this correct:</div><div style>- libmapserver should be compiled without oracle support at all</div><div style>- a module should be built containing just the code from maporaclespatial.c, compiled with USE_ORACLE=1 and USE_ORACLE_PLUGIN=1</div>
<div style><br></div><div style>--</div><div style>thomas</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 March 2013 15:22, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I also think both USE_ORACLESPATIAL  and USE_ORACLE_PLUGIN should be set to 1 but it should be set only when compiling the oraclespatial plugin component, not the core mapserver. In the core mapserver compilation when the user sets USE_ORACLE_PLUGIN=1 we should implicitly set USE_ORACLESPATIAL=0 to avoid the inclusion of the oci code. However in the plugin module we should keep both settings to 1. Since I'm not a cmake guru, do we have a simple solution to achieve this result?<div>

<br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div class="HOEnZb"><div class="h5"><div><br></div><div><br><br><div class="gmail_quote">2013/3/31 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Tamas,<div>From the code in maporaclespatial.c both USE_ORACLESPATIAL and USE_ORACLE_PLUGIN need to be defined in order for some of the needed code to be activated. As there's no reference to the oracle_plugin stuff in the unix makefiles, I'll infer that this is a windows only feature and suppose that you can handle the dependencies in the cmake files as you wish.</div>


<div><br></div><div>regards,</div><div>thomas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On 31 March 2013 12:26, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I wanted to build mapserver with oraclespatial support to compile oraclespatial as a plugin, but that doesn't seem to work.<div>


<br></div><div>Actually when setting WITH_ORACLE_PLUGIN=1, I also require to set  WITH_ORACLESPATIAL=1 which causes that oracle is being built in mapserver directly. However, I don't want to build oracle in mapserver directly, just compile the oracle plugin (dll).</div>



<div><br></div><div>IMHO we should be able to set the combination: WITH_ORACLESPATIAL=0 and WITH_ORACLE_PLUGIN=1. In this case we should get an additional module generated by cmake to compile the oracle plugin separately.</div>



<div><br></div><div>The same should apply to the SDE and MSSQL plugins too.</div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div>
<br></div></div>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>