[mapserver-users] Announcing 3.6.3 -- PERL 5.8
Joe Bussell
joe at otsys.com
Thu Oct 10 21:06:31 PDT 2002
So, the world of computing is still a moving target. With the latest
rev of PERL comes changes to the C++ interface. If you hope to compile
mapscript under PERL 5.8 you must make a hand hack to the generated SWIG
code in mapscript_wrap.c
Specifically, the macro XS(boot_mapscript) must be declared if the PERL
object is not declared. In my world line 431 which reads
SWIGEXPORT(void) boot_mapscript(CV* cv); should be replaced with
XS(boot_mapscript);
Maybe I need to update my SWIG, I will look into this. For anyone else
who is using PERL5.8 under Debian Linux I hope this circumvents any
headaches you may encounter.
Cordially,
Joe Bussell
On Time Systems
www.trafficdodger.com
PS: Dan Keith caught this one, I'm just passing on the info...
On Tue, Oct 08, 2002 at 03:59:19PM -0700, Joe Bussell wrote:
> What are the dependencies for PERL mapscript? Seems this all worked
> before...
>
>
> .../mapserver-3.6.3/mapscript/perl$ make
> cp mapscript.pm blib/lib/mapscript.pm
> cc -c -I/mnt/data/td/mapserver-3.6.3 -I/usr/include -I/home/joe/gdal/port -I/home/joe/gdal/core -I/home/joe/gdal/ogr -I/home/joe/gdal/ogr/ogrsf_frmts -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl/5.8.0/CORE" -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL mapscript_wrap.c
> mapscript_wrap.c: In function `_swig_create_magic':
> mapscript_wrap.c:416: warning: assignment from incompatible pointer type
> mapscript_wrap.c:417: warning: assignment from incompatible pointer type
> mapscript_wrap.c: At top level:
> mapscript_wrap.c:16349: conflicting types for `boot_mapscript'
> mapscript_wrap.c:431: previous declaration of `boot_mapscript'
> make: *** [mapscript_wrap.o] Error 1
>
>
>
>
>
>
>
>
>
>
>
> On Tue, Oct 08, 2002 at 03:00:14PM -0500, Steve Lime wrote:
> > Greetings folks: The MapServer development team is pleased to announce
> > the release of version 3.6.3. It contains a a number of bug fixes and if
> > possible users are encouraged to upgrade now. The new version is
> > available at the usual place on the MapServer website.
> >
> > Pre-compiled binary versions are available for download at:
> >
> > http://www2.dmsolutions.ca/mapserv/dl/mapserver-3.6.3-win32-php4.2.2-libwww.zip
> >
> > http://www2.dmsolutions.ca/mapserv/dl/mapserver-3.6.3-win32-php4.2.3-libwww.zip
> >
> > Enjoy- Steve
> >
> > A summary of changes from HISTORY.TXT:
> >
> > Version 3.6.3 (2002-10-07)
> > --------------------------
> >
> > - Fixed problem with numeric labels with OGR's STYLEITEM AUTO (bug
> > 185)
> >
> > - PHP MapScript: fixed set() method on all object types for parameters
> > of type float and string. The param value was not forced to the
> > right
> > type and this could lead to unexpected values being set or crashes.
> >
> > - Fixed bug 174 - improperly terminated string buffer in
> > msWMSException()
> >
> > - Fixed problem with 'gcc undef' appearing in the
> > mapscript/php3/Makefile
> > on FreeBSD. Also added --enable-internal-ld-detect configure switch
> > to
> > force use of an internal configure macro to detect ld command and
> > args
> > in case the default doesn't work (this is for mapscript/php3/Makefile
> > only)
> >
> > - Fixed potential crash with WMS GML query output (missing
> > msInitSHape() in
> > msGMLWriteQuery())
> >
> > - Fixed Windows-specific problem where WMS capabilities were always
> > returned
> > as 1.0.0 even if 1.1.0 was requested
> >
> > Version 3.6.2 (2002-07-08)
> > --------------------------
> >
> > - Added msTokenizeMap() in MapScript (and via 'mapserv -t test.map')
> >
> > - Added map->setFontSet()
> >
> > - Fixed Windows-specific problem with PHP MapScript ms_newMapObj("")
> > called with empty filename.
> >
> > - Fixed problem with double 'gcc' appearing in mapscript/php3/Makefile
> > on
> > some systems.
> >
> >
www.TrafficDodger.com
More information about the MapServer-users
mailing list