When using java mapscript, I build configure,<br>
<br>
with-freetype<br>
without-tiff<br>
with-gdal<br>
with-proj<br>
without-pdf<br>
with-threads<br>
<br>
Is this still the recommended configuration? I understood that building
only what you need is the best way to troubleshoot problems.<br>
<br>
Phil<br><br><div><span class="gmail_quote">On 6/8/06, <b class="gmail_sendername">Umberto Nicoletti</b> &lt;<a href="mailto:umberto.nicoletti@gmail.com">umberto.nicoletti@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 6/8/06, Nicol Hermann &lt;<a href="mailto:mapserver@geoworld.de">mapserver@geoworld.de</a>&gt; wrote:<br>&gt; Dear Developers,<br>&gt;<br>&gt; i found two issues with the configure options in JAVA Mapscript.<br>&gt; I use the lastest cvs version of mapserver.
<br>&gt;<br>&gt; Here are the two things in found<br>&gt;<br>&gt; 1) --with-sos<br>&gt; This option causes the following error<br>&gt;<br>&gt; Exception in thread &quot;main&quot;<br>&gt; java.lang.UnsatisfiedLinkError: /usr/local/j2sdk1.4.2_08/jre/lib/i386/client/libmapscript.so: /usr/local/j2sdk1.4.2_08/jre/lib/i386/client/libmapscript.so: undefined symbol: xmlFree
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader.loadLibrary(ClassLoader.java
:1511)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Runtime.loadLibrary0(Runtime.java:788)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.System.loadLibrary(System.java:834)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at msjava.initms.main(initms.java:8)<br>&gt;<br>&gt; when i try to load the system library.
<br>&gt; I'am uncertain if i miss to include an other .so/dll library in my<br>&gt; LD_LIBRARY_PATH or if this is a problem with mapserver.<br>&gt; If i execute 'ldd libmapscript.so' on the .so file all dependencies are<br>
&gt; satisfied. Maybe Assefa can comment on this.<br>&gt;<br>&gt; 2. --enable-point-z-m<br>&gt; This flag clauses a crash outside the VM. If i compile mapserver<br>&gt; without this option everything is fine.<br>&gt; I think this is a bug.
<br>&gt;<br><br>Nicol,<br>See this bug:<br><a href="http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1695">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1695</a><br><br>The point-z-m option is rarely used (that I know of :-) ) and has a
<br>significant impact on performance so the general advice is don't use<br>it unless you need it.<br><br>Hope this helps,<br>Umberto<br><br>&gt; Any comments on how to solve this issues are very welcome.<br>&gt;<br>&gt; Greetings
<br>&gt; Nicol<br>&gt;<br></blockquote></div><br><br clear="all"><br>-- <br>Philip Donaghy<br><a href="http://donaghy.blogspot.com">donaghy.blogspot.com</a> <a href="http://del.icio.us/donaghy/philip">del.icio.us/donaghy/philip
</a><br>Skype: philipmarkdonaghy<br>Office: +33 5 56 60 88 02<br>Mobile: +33 6 20 83 22 62