[mapserver-users] Mapscript java 6.2

Umberto Nicoletti umberto.nicoletti at gmail.com
Wed Nov 21 06:08:00 PST 2012


So what was different between the two?

(adding mapserver-users back that got lost in the prev reply)

On Wed, Nov 21, 2012 at 3:06 PM, Gaston Lucero <gaston.lucerom at gmail.com>wrote:

> Umberto it's work.
>
> Thanks you very much!!
>
>
>
> 2012/11/21 Umberto Nicoletti <umberto.nicoletti at gmail.com>
>
>> Gaston,
>> could you please try and follow these steps to build it:
>>
>> cd mapserver-6.2.0
>> ./configure [add your options here]
>> make
>> sudo make install
>> cd mapscript/java
>> make
>> make test
>>
>> Umberto
>>
>>
>> On Fri, Nov 16, 2012 at 4:12 PM, Gaston Lucero <gaston.lucerom at gmail.com>wrote:
>>
>>> Hi thanks for the answer, yes i run it, after make mapserver on the top
>>> level directory
>>>
>>> This is  the mapserv file
>>> MapServer version 6.2.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ
>>> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV
>>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=THREADS SUPPORTS=GEOS
>>> INPUT=JPEG INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
>>>
>>> Inside mapscript/java
>>>
>>> I run make, make test and  make threadtests , without errors
>>>
>>>
>>> My java  version  is 1.7.0_09, under Ubuntu 12.10 64-bit
>>>
>>>
>>>
>>>
>>>
>>> 2012/11/16 Umberto Nicoletti <umberto.nicoletti at gmail.com>
>>>
>>>> Did you run make install after make in the mapserver top-level
>>>> directory?
>>>>
>>>>
>>>> On Fri, Nov 16, 2012 at 3:56 PM, Gaston Lucero <
>>>> gaston.lucerom at gmail.com> wrote:
>>>>
>>>>> I get this error
>>>>>
>>>>> root at Gaston:/home/gaston/mapserver-6.2.0/mapscript/java# make install
>>>>> /bin/bash ../../libtool --mode=install /usr/bin/install -c
>>>>> libjavamapscript.la /usr/local/lib
>>>>> libtool: install: warning: relinking `libjavamapscript.la'
>>>>> libtool: install: (cd /home/gaston/mapserver-6.2.0/mapscript/java;
>>>>> /bin/bash /home/gaston/mapserver-6.2.0/libtool  --tag CXX --mode=relink g++
>>>>> -rpath /usr/local/lib -module -release 6.2.0 -o libjavamapscript.lajavamapscript_wrap.lo ../../
>>>>> libmapserver.la )
>>>>> libtool: relink: g++  -fPIC -DPIC -shared -nostdlib
>>>>> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o
>>>>> /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o  .libs/javamapscript_wrap.o
>>>>> -L/usr/local/lib -lmapserver -L/usr/lib -lproj -ljpeg -lpng
>>>>> -L/usr/lib/x86_64-linux-gnu -lgif -lgdal -lpq -lcurl -lgeos_c -lpthread
>>>>> -lxml2 -ldl -lfreetype -lz -lcairo -lpng12
>>>>> -L/usr/lib/gcc/x86_64-linux-gnu/4.7
>>>>> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu
>>>>> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu
>>>>> -L/lib/../lib -L/usr/lib/../lib
>>>>> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -lstdc++ -lm -lc -lgcc_s
>>>>> /usr/lib/gcc/x86_64-linux-gnu/4.7/crtendS.o
>>>>> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
>>>>>  -Wl,-soname -Wl,libjavamapscript-6.2.0.so -o .libs/
>>>>> libjavamapscript-6.2.0.so
>>>>> /usr/bin/ld: cannot find -lmapserver
>>>>> collect2: error: ld returned 1 exit status
>>>>> libtool: install: error: relink `libjavamapscript.la' with the above
>>>>> command before installing it
>>>>> make: *** [install] Error 1
>>>>>
>>>>>
>>>>> Any idea?
>>>>>
>>>>> _______________________________________________
>>>>> mapserver-users mailing list
>>>>> mapserver-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121121/b2a28c1d/attachment.html>


More information about the mapserver-users mailing list