[Mapserver-users] Can't compile tcl mapscript
Jose Mendez
jmendez at captiveweb.net
Wed Feb 12 09:20:21 PST 2003
Hi all,
I've been trying to compile tcl mapscript from the
Mapserver 3.6.3 source and have not had any luck. I've
browsed the mail list archives for some help but
haven't found anything. If anyone knows how I can
resolve this problem I'd really appreciate it if they
let me know, thanks.
#./configure --with-tcl=/usr/local --with-swig=/usr
looking for Tcl in /usr/local
found lib/tclConfig.sh in /usr/local
looking for Swig in /usr
found include/swig.h in /usr
tcl version = 8.4
creating Makefile
# make
gcc -pipe -c -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_\
READDIR_R=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_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 -DH\
AVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1
-fPIC \
-I/usr/local/include \
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
-DUSE_PROJ_API_H -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT \
-I. -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
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:417:
/usr/include/regex.h:535:1: warning: "__restrict_arr"
redefined
In file included from /usr/include/features.h:283,
from /usr/include/stdio.h:28,
from /usr/local/include/tcl.h:159,
from mapscript_wrap.c:21:
/usr/include/sys/cdefs.h:212:1: warning: this is the
location of the previous definition
make: *** [stublib] Error 1
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
More information about the MapServer-users
mailing list