[mapserver-users] Can't compile TCL Mapscript

Jim Palma jpalma at donahue.umassp.edu
Mon Nov 26 15:46:51 EST 2001


Help.

I am trying to compile the tcl interface for Mapscript so I can use
msworkbench.  This is the output that I get:

[root at donahuemaps tcl]# make
gcc -pipe -c -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1  -fPIC \
-I/usr/include \
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TTF -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_1_8 -I. -I/usr/local/src/mapserver/gdft -I/usr/include/freetype
\
-DUSE_TCL_STUBS -DITCL_NAMESPACES -DItcl_Namespace=int
-D"spaceId=spcid;Tcl_InitStubs(interp,\"8.1\",0)" \
        mapscript_wrap.c
mapscript_wrap.c: In function `_wrap_mapscript_msSaveImage':
mapscript_wrap.c:555: too few arguments to function `msSaveImage'
make: *** [stublib] Error 1

I am using Mapserver 3.4 and do not have SWIG installed.  Anyone know
what's going on?

Thanks,

Jim





More information about the mapserver-users mailing list