[Mapserver-users] compile tcl mapscript

Enils Bashi EBashi at chesapeakebay.net
Thu Nov 6 09:18:10 EST 2003


Hi Nicholas,

I made the changes you suggested. That gets me passed ./configure. When I
run make 
I get more errors. Here is an error log that suggests to me that the code
has problems:

[root at nutria tcl]# make
swig -tcl8 -dhtml -namespace -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF
-DUSE_
D_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -I.
-I/usr/
ocal/include \
        mapscript.i
Making wrappers for Tcl 8.x
mapscript.i : Line 100. Syntax error in input.
mapscript.i : Line 107. Syntax error in input.
mapscript.i : Line 117. Syntax error in input.
mapscript.i : Line 125. Syntax error in input.
../../mapshape.h : Line 71. Syntax error in input.
../../mapshape.h : Line 97. Syntax error in input.
../../mapshape.h : Line 100. Syntax error in input.
../../mapshape.h : Line 132. Syntax error in input.
../../mapshape.h : Line 138. Syntax error in input.
../../mapshape.h : Line 143. Syntax error in input.
mapscript.i : Line 148. Syntax error in input.
mapscript.i : Line 149. Syntax error in input.
mapscript.i : Line 161. Syntax error in input.
mapscript.i : Line 187. Syntax error in input.
mapscript.i : Line 199. Syntax error in input.
mapscript.i : Line 203. Syntax error in input.
mapscript.i : Line 536. Syntax error in input.
mapscript.i : Line 542. Syntax error in input.
mapscript.i : Line 555. Syntax error in input.
mapscript.i : Line 744. Syntax error in input.
mapscript.i : Line 756. Syntax error in input.
mapscript.i : Line 785. Function getExpressionString multiply defined (2nd
defi
ition ignored).
mapscript.i : Line 810. Function createLegendIcon multiply defined (2nd
definit
on ignored).
mapscript.i : Line 811. Syntax error in input.
Confused by earlier errors. Bailing out
make: *** [mapscript_wrap.c] Error 1


---
Enils


Enils Bashi wrote:

>Hi,
>
>I am trying to compile tcl mapscript. When I run ./configure I get the
>following message:
>You must build MapServer first.
>--
>MapServer is already built, installed and running. There is a symolic
link
>mapscript.i to ../mapscript.i in the tcl directory provided with
mapserver
>4.0.1 tar.gz source file.
>Any ideas?
>I have mapserver 4.0.1 on Redhat 9 and ActiveTcl 8.4.4.0
>
>Enils Bashi
>Programmer - Chesapeake Bay Program
>Veridyne Incorporated
>Annapolis, Maryland: (410) 267-9833
>www.chesapeakebay.net
>
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>.
>
>  
>
Hi,

Change the first line to point to mapscriptvars instead of perlvars

if [ ! -f ../../mapscriptvars ] ; then
   echo "you must build MapServer first."
   exit
fi

it builds w/o problems....
regards,

nicolas boretos




More information about the mapserver-users mailing list