[mapserver-users] how does swig work?
   
    Administrator
     
    jnovak@novacell.com
       
    Thu, 14 Nov 2002 00:41:00 -0800
    
    
  
SWIG is an open source software package www.swig.org that automagically
generates PERL interfaces for the c structures mapserver uses.  I think
that map.h is one of the places to look, as I recall a bunch of SWIG
related defines in that header in particular.
I have not yet poked at the scripting support, but I'd wager that the
3.6.3 distribution comes with the PERL SWIG output included.
John Novak
Novacell Technologies
-----Original Message-----
From: Puneet Kishor [mailto:pkishor@geoanalytics.com] 
Sent: Wednesday, November 13, 2002 6:54 PM
To: Mapserver
Subject: [mapserver-users] how does swig work?
Perl gurus,
I am trying to understand where swig comes into the picture. When I 
configure/make mapserver, a bunch of perlvars get generated. The 
Makefile.PL uses these perlvars to generate the make file. Where does 
swig come in the picture? I don't have swig on my machine. Is mapserver 
already swigged?
I want to understand this because -- (1) for the heck of it; (2) 
experiment with new versions of swig (well, I really don't know what I 
am talking about -- I really would like to experiment with the new 
version of perl 5.8.0, if possible.
Tia,
pk/