Re: gtk/glext help needed

Szabó Géza wrote:

Dear All,
 I would like to use glext under Perl with the gtk2-glext module.
 Unfortunately I have not found a ppm (if you know one please tell
me),  but I tried to install it from source:

 Base class package "Glib::CodeGen" is empty.
     (Perhaps you need to 'use' the module which defines that package
  at C:/Perl/site/lib/Gtk2/ line 7

The Glib perl module is not installed, cannot be found, or is too old.  Since
it *did* find Gtk2::CodeGen, and it knows that Gtk2::CodeGen depends on
Glib::CodeGen, i'd say that your Glib module is too old.

 If I try to install Glib from source:

This shouldn't be necessary -- just get the Glib PPM whose version matches the
Gtk2 one you have installed.

 *** can not find package gobject-2.0 >= 2.0.0
 *** check that it is properly installed and available in
  at Makefile.PL line 87

You need to have the corresponding C libraries and executables, and their
dependencies, installed.

There are PPM binaries of Glib and Gtk2 available at , but these packages include only the perl
extensions --- you must install glib and gtk+ separately.

The same will go for Gtk2::GLExt --- the gtk-glext C library must be installed
and functioning properly or you'll be wasting your time with the perl stuff.

muppet <scott at asofyet dot org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]