[Mapserver-users] Can't compile TCL Mapscript
Philipp Jacob
philipp.jacob at geosysnet.de
Fri Jan 10 06:34:06 PST 2003
Help.
I am trying to compile the tcl interface for Mapscript so I can use
msworkbench. This is the output that I get from 'make':
gcc -pipe -c -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long long -DHAVE_STRUCT_STAT64=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_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -fPIC \
-I/usr/include \
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_OGR -DUSE_GDAL -I. -I/usr/local/include -I/usr/local/include -I/usr/local/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
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from ../../map.h:41,
from mapscript_wrap.c:1049:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/string.h:26,
from mapscript_wrap.c:26:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
make: *** [stublib] Error 1
I am using Mapserver 3.6.4 on Suse 8.1. Anyone know
what's going on?
Thanks,
Philipp
More information about the MapServer-users
mailing list