Error making mapscript tcl

Philip Dillon-Thiselton dibblethewrecker at JIWE.ORG
Sat Jul 30 05:31:14 PDT 2005


I'm just trying to get this set up so I can use mapscript-workbench - 
any help appreciated!

looking for Tcl in /usr
                  found lib/tclConfig.sh in /usr
looking for Swig in /usr/local
can not find swig.h in /usr/local/include
using pre-built swig tcl interface
tcl version = 8.4
creating Makefile
swig -tcl8 -dhtml -namespace -DIGNORE_MISSING_DATA -DNEED_STRLCAT 
-DUSE_EPPL -DUSE_PROJ -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS 
-DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_WMS_SVR -I. -I/usr/include 
-I/usr/include -I/usr/include \
    mapscript.i
swig: Warning. -dhtml option deprecated.
gcc -pipe -c -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 
-DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DHAVE_THREE_ARG_READDIR_R=1 
-DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long long 
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 
-DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 
-DHAVE_WAITPID=1 -DHAVE_LIMITS_H=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_GMTIME_R=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 
-DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -fPIC \
-I/usr/include \
-DIGNORE_MISSING_DATA -DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_TIFF 
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL 
-DUSE_GEOS -DUSE_WMS_SVR -I. -I/usr/include -I/usr/include -I/usr/include \
-DUSE_TCL_STUBS -DITCL_NAMESPACES -DItcl_Namespace=int 
-D"spaceId=spcid;Tcl_InitStubs(interp,\"8.1\",0)" \
    mapscript_wrap.c
gcc: long: No such file or directory
mapscript_wrap.c: In function `imageObj_saveToString':
mapscript_wrap.c:3078: warning: return makes pointer from integer 
without a cast
make: *** [stublib] Error 1
mkdir /usr/lib/MapscriptTcl1.1
cp libMapscript11.so /usr/lib/MapscriptTcl1.1
cp: cannot stat `libMapscript11.so': No such file or directory
make: *** [install] Error 1

Phil



More information about the MapServer-users mailing list