[mapserver-users] Perl/Mapscript - CVS Version

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Thu Aug 23 18:41:54 EDT 2001


Hello,

I'm getting this on RedHat 7.1:

[root at www-gad2 perl]# perl Makefile.PL 
-I/usr/src/mapserver -I/usr/local/include
-L/usr/src/mapserver -lmap -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype
-lpng -lz -ltiff -ljpeg -lfreetype -lpng -lz -lproj -ljpeg -L/usr/lib -lmd5
-lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit -lwwwapp -lwwwhtml
-lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile
-lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils
-ldl -lz -lm
Writing Makefile for mapscript
[root at www-gad2 perl]# make
cp mapscript.pm blib/lib/mapscript.pm
cc -c -I/usr/src/mapserver -I/usr/local/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/local/lib/perl5/5.6.1/i686-linux-thread-multi/CORE
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF
-DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR 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:15941: conflicting types for `boot_mapscript'
mapscript_wrap.c:431: previous declaration of `boot_mapscript'
make: *** [mapscript_wrap.o] Error 1
[root at www-gad2 perl]# 

I was using the CVS version and SWIG 1.3.6 and getting the exact same
prolblem, so I got the nightly build instead, same thing ...

Any ideas ?

Thanks!

Jean-François Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410




More information about the mapserver-users mailing list