Re: Frame Buffer Support
- From: Raul Dias <chaos swi com br>
- To: muppet <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Frame Buffer Support
- Date: Thu, 03 Feb 2005 21:53:06 -0200
On Thu, 2005-02-03 at 16:43 -0500, muppet wrote:
Torsten Schoenfeld said:
On Thu, 2005-02-03 at 18:41 -0200, Raul Dias wrote:
If so, can I use the same Modules (Gtk2.pm) from X11 or do I need a
separate module compile only for FB?
No, I think the same Gtk2.pm installation will work.
Actually, i don't think so. Gtk2.pm is going to load Gtk2.so, and Gtk2.so
will be linked against the gtk+ library by soname (for x11, that's
libgtk-x11-2.0 and libgdk-x11-2.0), and includes X11-specific code if you're
building against the X11 backend. The linkage issue makes the target-specific
code issue moot.
The easiest solution is to install Gtk2 for X11 and FB in different prefixes,
and use the PERL5LIB env var to switch between them. (Sandboxes, essentially;
see the README with Gtk2.)
AFAIU, there is an issue when playing with PERL5LIB.
If Gtk2 is a system module (as it is with Mandrake), changing PERL5LIB
wouldn't make perl not find other system/vendor modules?
Raul Dias
--
Raul Dias <chaos swi com br>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]