[mapserver-users] Error with Perl/Mapscript build

Scott Carr scarr at progbits.com
Thu May 9 10:30:44 PDT 2002


I have been trying to compile Perl Mapscript on Linux.  Here is the error I am
getting.  Any ideas?

I have downloaded SWIG 1.1-883 as suggested and rebuild the mapscript_wrap.c
file using the command from the README.  

I have also tried building the dev-nightly to see if it was fixed there.

Thanks in advance.

[]:~/mapserver/mapserver_dev/mapscript/perl$ make                   Skip
blib/lib/mapscript.pm (unchanged)
cc -c -I/home/scarr/mapserver/mapserver_dev -I/usr/include -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fpic
-I/usr/lib/perl5/5.6.1/i686-linux-thread-multi/CORE -DIGNORE_MISSING_DATA
-DUSE_EPPL -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
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:16358: conflicting types for `boot_mapscript'
mapscript_wrap.c:431: previous declaration of `boot_mapscript'
make: *** [mapscript_wrap.o] Error 1

-- 
Scott Carr
OpenOffice.org
Whiteboard-Doc Maintainer
http://whiteboard.openoffice.org/doc/





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the MapServer-users mailing list