While trying to build the package for CentOS 5.6, I stumble on Java support:
+ cd ../java
+ JAVA_HOME=/usr/lib/jvm/java-1.6.0
+ make interface
mkdir -p edu/umn/gis/mapscript
swig -java -package edu.umn.gis.mapscript -outdir edu/umn/gis/mapscript -o
mapscript_wrap.c ../mapscript.i
+ JAVA_HOME=/usr/lib/jvm/java-1.6.0
+ make
javac edu/umn/gis/mapscript/*.java
gcc -fpic -c -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall
-DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR -DUSE_PROJ
-DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR
-DUSE_SOS_SVR -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
-DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL @AGG_ENABLED@
@PDF_ENABLED@ -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_MYGIS -DUSE_THREAD -I/usr/include
-Irenderers/agg/include @PDF_INC@ -I/usr/include/php/ext/ereg/
-I/usr/include/gdal -I/usr/include -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include
-I/usr/include/libxml2 -I/usr/lib/jvm/java-1.6.0/include
-I/usr/lib/jvm/java-1.6.0/include/linux -fno-strict-aliasing mapscript_wrap.c
gcc: @AGG_ENABLED@: No such file or directory
gcc: @PDF_ENABLED@: No such file or directory
gcc: @PDF_INC@: No such file or directory
mapscript_wrap.c: In function 'new_imageObj':
mapscript_wrap.c:2746: warning: passing argument 1 of
'renderer->loadImageFromFile' discards qualifiers from pointer target type
mapscript_wrap.c: In function
'Java_edu_umn_gis_mapscript_mapscriptJNI_imageObj_1getBytes':
mapscript_wrap.c:29157: warning: pointer targets in passing argument 2 of
'SWIG_JavaArrayOutSchar' differ in signedness
mapscript_wrap.c: In function
'Java_edu_umn_gis_mapscript_mapscriptJNI_msIO_1getStdoutBufferBytes':
mapscript_wrap.c:43772: warning: pointer targets in passing argument 2 of
'SWIG_JavaArrayOutSchar' differ in signedness
make: *** [mapscript_so] Error 1
error: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 (%build)
RPM build errors:
Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 (%build)
[rpmbuild@rpm-devel ~]$
Regards,
Peter
R3 GIS Srl - GmbH
http://www.r3-gis.com
--------Daniel Morissette <[email protected]> wrote--------
Subject: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!
Date: 10.03.2011 03:48
>The MapServer Team is pleased to announce the release of MapServer
>6.0.0-beta1. This is the first beta on our way to a final 6.0 release.
>
>This new release introduces important changes in key components of the
>MapServer core (rendering, query and expressions), and for this reason
>we count on you, MapServer power users, to help test the release in your
>respective environments and provide feedback (through the users list or
>Trac tickets).
(...)
>
>Thanks! - The MapServer Team
>_______________________________________________
>mapserver-users mailing list
>[email protected]
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users