[mapserver-users] [Q] Compile Perl MapScript

Kyoung Jae Lim kjlim at ecn.purdue.edu
Fri Oct 4 08:25:22 PDT 2002



Does any of you know how to compile perl mapscript ?
I am using a mapserver 3.5 now.

It seems 'perl Makefile.PL' generates Makefile properly.
However, when I try to compile it, it gives me these error message.

-----  errro message ---------

"mapscript_wrap.c", line 416: warning: assignment type mismatch:
        pointer to function(pointer to struct perl_thread {pointer to
struct interpreter {..} interp, pointer to pointer to struct sv {..}
Tstack_sp, pointer to struct op {..} Top, pointer to pointe  ......
.......

"mapscript_wrap.c", line 417: warning: assignment type mismatch:
        pointer to function(pointer to struct perl_thread {pointer to
struct interpreter {..} interp, pointer to pointer to struct sv {..}
Tstack_sp, pointer to struct op {..} Top, pointer to pointer to struct sv
{..} Tcurpad, pointer to pointer to struct sv {..} Tstack_base, pointer to
pointer to struct sv {..} Tstack_max, pointer to long Tscopestack, long
Tscopestack_ix, long Tscopestack_max, pointer to union any {..}
Tsavestack, long Tsavestack_ix, long Tsavestack_max, pointer to pointer to
struct sv {..} Ttmps_stack, long Tt

...
...

"./../../mapprimitive.h", line 24: syntax error before or at: /
"./../../mapprimitive.h", line 26: cannot recover from previous errors
cc: acomp failed for mapscript_wrap.c
*** Error code 2
make: Fatal error: Command failed for target `mapscript_wrap.o'

-------------

Do I have to modifiy 'Makefile' if I didn't compile mapserver with
FreeType, TIFF, and EPPL7 ?


Any help would be appreciated !!

KJ









More information about the MapServer-users mailing list