A single-line Perl command like: perl -e "use Gtk3;"
Results in the following error: cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479. Below is the relevant info: perl -V Summary of my perl5 (revision 5 version 22 subversion 0) configuration: Platform: osname=MSWin32, osvers=10.0, archname=MSWin32-x64-multi-thread On MSYS2 /MinGW64 20161025 updated via pacman -Syu Other Modules: Glib 1.327 Glib::Object::Introspection 0.045 Cairo 1.106 Cairo::GObject 1.004 Pango 1.227 Gtk2 1.24992 Commenting out these lines in Gtk3.pm: 479 Glib::Object::Introspection->_register_boxed_synonym ( 480 "cairo", "RectangleInt", "gdk_rectangle_get_type"); "fixes" the problem. In the BOOT: section of CairoGObject.xs in Cairo::GObject, this exists: gperl_register_boxed (CAIRO_GOBJECT_TYPE_RECTANGLE_INT, "Cairo::RectangleInt", &rectangle_int_wrapper_class); So, I am not sure what Gtk3 is complaining about, but BEGIN fails, and that's the end of it. For testing I use the scripts here: https://github.com/dave-theunsub/gtk3-perl-demos When I comment out the lines as above, most of thsese scripts appear to work. Thanks _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list