Problem with ActivePerl build 626, RedHat 7.1, and Ximian Gnome
- From: ISO-8859-1 <cowens intercall com>
- To: gtk-perl-list gnome org
- Subject: Problem with ActivePerl build 626, RedHat 7.1, and Ximian Gnome
- Date: 04 Jun 2001 13:38:48 -0400
I had trouble compiling both Gtk-Perl-0.7006 and Gtk-Perl-0.7007 with
ActivePerl (v5.6.1). I also had problems with Mandrake 8.0. Stock
RedHat 7.1 perl (v5.6.0)did not have any issues.
I had to change
static void
call_line_handler(SV *handler, GnomePrintContext *context, int line, SV
*data) { dSP ;
ENTER;
SAVETMPS;
PUSHMARK(SP);
XPUSHs(sv_2mortal(newSVGtkObjectRef(context, NULL)));
XPUSHs(sv_2mortal(newSViv(line)));
XPUSHs(sv_2mortal(newSVsv(data)));
PUTBACK;
Perl_call_sv(handler, G_DISCARD);
FREETMPS;
LEAVE;
}
to
static void
call_line_handler(SV *handler, GnomePrintContext *context, int line, SV
*data) { dSP ;
ENTER;
SAVETMPS;
PUSHMARK(SP);
XPUSHs(sv_2mortal(newSVGtkObjectRef(context, NULL)));
XPUSHs(sv_2mortal(newSViv(line)));
XPUSHs(sv_2mortal(newSVsv(data)));
PUTBACK;
call_sv(handler, G_DISCARD);
FREETMPS;
LEAVE;
}
in file Gtk-Perl-0.7007/GnomePrint/xs/GnomePrintContext.xs. Is this a
change in Perl 5.6.1 or something specific to Mandrake 8.0 and
ActivePerl?
--
Today is Setting Orange, the 9th day of Confusion in the YOLD 3167
Wibble.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]