[mapserver-users] mapserver 6.2.0 perl mapscript

Andy Colson andy at squeakycode.net
Thu Feb 14 06:48:49 PST 2013


On 2/14/2013 8:09 AM, Umberto Nicoletti wrote:
> It's in the 6.2 branch, please review it:
>
> https://github.com/mapserver/mapserver/commit/a4ac07d8da7d81f42090890a7e359bdc1f277dbf
>
> Umberto
>
>

Mmm.. No, that didnt seem to work.

andy at mapper:/pub/apps/mapserver$ git branch
* branch-6-2
   master



top level ./configure and make went ok, then:

andy at mapper:/pub/apps/mapserver$ cd mapscript/perl

andy at mapper:/pub/apps/mapserver/mapscript/perl$ perl Makefile.PL
-I/pub/apps/mapserver -I/usr/local/include -I/usr/include
-L/usr/lib -L/pub/apps/mapserver/.libs -lmapserver
-rpath /usr/lib -lmapserver -lfreetype -lz -lbz2 -L/usr/lib64 -lgd 
-lproj -ljpeg -lpng -lgif -L/usr/local/lib -lgdal -L/usr/local/pg92/lib 
-lpq -L/usr/lib64 -lgeos_c -lc -lm -ldl -lstdc++
6.2.0
Writing Makefile for mapscript
Writing MYMETA.yml and MYMETA.json

andy at mapper:/pub/apps/mapserver/mapscript/perl$ make
cp mapscript.pm blib/lib/mapscript.pm
cc -c  -I/pub/apps/mapserver -I/usr/local/include -I/usr/include 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 
-fPIC   -DVERSION=\"6.2.0\" -DXS_VERSION=\"6.2.0\" -fPIC 
"-I/usr/lib64/perl5/CORE"  -DHAVE_VSNPRINTF -DNEED_STRLCPY 
-DNEED_STRLCAT -DNEED_STRRSTR -DUSE_WMS_SVR -DUSE_POSTGIS 
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS 
-DHAVE_SYNC_FETCH_AND_ADD -DUSE_PROJ -DUSE_GD -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG -DUSE_GIF -DUSE_PNG -DUSE_FREETYPE 
-DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR 
-DDISABLE_CVSID mapscript_wrap.c
mapscript_wrap.c: In function '_wrap_scaleTokenEntryObj_minscale_set':
mapscript_wrap.c:21664:5: error: unknown type name 'scaleTokenEntryObj'
mapscript_wrap.c:21664:33: error: 'scaleTokenEntryObj' undeclared (first 
use in this function)
mapscript_wrap.c:21664:33: note: each undeclared identifier is reported 
only once for each function it appears in
mapscript_wrap.c:21664:53: error: expected expression before ')' token
mapscript_wrap.c:21680:33: error: expected expression before ')' token
...Lots more...





More information about the MapServer-users mailing list