error in make mapscript/tcl

Philip Dillon-Thiselton dibblethewrecker at JIWE.ORG
Sun Jun 26 07:31:13 PDT 2005


Hello,

I am developing a GIS live CD for Arch Linux but I am having trouble
making the tcl mapscript modules.  Here is the output:

[root] tcl: make
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

Would be very grateful for any help as we would like to include
mapserver workbench.

Cheers Phil



More information about the MapServer-users mailing list