Bill,
I did as you suggested and added the additional type definition you specify
below to the typemap file in the perl subdir.
It seems to have worked. "make" worked the first time through. "make test" replied that all
tests were successful.
Thank you for your help.
By the way, sorry it took me so long to reply, but I have been on a holiday break; otherwise,
I would have replied sooner.
--
Mike Kukla,
Web Applications Developer
University of Buffalo,
College of Arts and Sciences,
Educational Technology Node (CASet),
414 Clemens Hall
Phone: 645-6000, ext.1156
Email: kukla@buffalo.edu
On Tue, 23 Dec 2003, Bill Moseley wrote:
> 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 *'
> /usr/share/perl/5.8.2/ExtUtils/typemap
> 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:
>
> SW_FUZZYWORD O_OBJECT
> const char * T_PV
>
> Post back to the list what you find out.
>
>
> --
> Bill Moseley
> moseley@hank.org
>
>
>
Received on Mon Jan 5 18:55:42 2004