Skip to main content.
home | support | download

Back to List Archive

Re: problems with make and SWISH::API

From: Bill Moseley <moseley(at)>
Date: Wed Dec 24 2003 - 03:08:04 GMT
On Tue, Dec 23, 2003 at 11:49:34AM -0800, Michael F Kukla wrote:
> When trying to build and install SWISH::API, 
> I keep getting this  error message when running make:  
> /usr/bin/perl /usr/perl5.6.1.633/lib/5.6.1/ExtUtils/xsubpp -noprototypes -typemap /usr/perl5.6.1.633/lib/5.6.1/ExtUtils/typemap -typemap typemap  API.xs > API.xsc && mv API.xsc API.c
> Error: 'const char *' not in typemap in API.xs, line 589

Well, maybe perl 5.6.1 doesn't have that typemap.

  moseley@bumby:~$ fgrep 'const char *' 
  const char *            T_PV

See if your installed typemap has that.  It's under the header of "# 
basic C types".  If not, try adding that line to the typemap in your 
SWISH::API build directory like so:

  const char *            T_PV

Post back to the list what you find out.

Bill Moseley
Received on Wed Dec 24 03:08:14 2003