Re: [gtk-list] Re: Perl module Gtk-0.1.9 uploaded to CPAN
- From: Owen Taylor <owt1 cornell edu>
- To: Preben Randhol <randhol pvv ntnu no>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Perl module Gtk-0.1.9 uploaded to CPAN
- Date: 22 Oct 1997 11:53:58 -0400
Preben Randhol <randhol@pvv.ntnu.no> writes:
> I'm running perl 5.003 and I tried to install the package.
> I got this error message (se below), should I install perl 5.004 or is there
> something else I must do?
>
> make test
> /usr/local/bin/perl -I/usr/lib/perl5/i386-linux/5.003 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/ExtUtils/typemap -typemap typemap.gtk -typemap typemap Gtk.xs >Gtk.tc && mv Gtk.tc Gtk.c
> Error: 'bool' not in typemap in Gtk.xs, line 719
[ ... ]
> Error: 'bool' not in typemap in Gtk.xs, line 5593
> Please specify prototyping behavior for Gtk.xs (see perlxs manual)
> make: *** [Gtk.c] Error 18
Looks like bool was added to the global perl typemap after 5.003.
You could either upgrade to the current 5.004_04, or add the following
lines to the file 'typemap' in the Gtk-0.1.9 directory:
# near the top:
bool T_BOOL
# in the INPUT section
T_BOOL
$var = (int)SvIV($arg)
# in the OUTPUT section
T_BOOL
$arg = boolSV($var);
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]