Re: [gtk-list] Gtk and Perl on solaris



On Thu, Oct 21, 1999 at 10:31:05AM +0200, Cyril Picard wrote:
> I'm trying to use the Perl interface for Gtk on sun4 - solaris 2.5.1
> I'm not root on this system, so I wish to install it in my home
> directory, using a new perl interpreter called PerlGtk.
> 
> Here's the way I followed :
> 
> perl Makefile.PL MAP_TARGET=PerlGtk
> make LINKTYPE=static
> make install PREFIX=/home/sa/local/perl5
> 
> When I try to use the new PerlGtk executable, the following error raises
>:
> 
> "Can't load module Gtk, dynamic loading not available in this perl.
>   (You may need to build a new perl executable which either supports
>   dynamic loading or has the Gtk module statically linked into it.)
>  at /home/sa/local/src/Gtk-Perl-0.6123/test.pl line 6
> BEGIN failed--compilation aborted at
> /home/sa/local/src/Gtk-Perl-0.6123/test.pl line 6."

According to the MakeMaker manpage you should use:

perl Makefile.PL MAP_TARGET=PerlGtk
make PerlGtk

I think you just created a static perl without extensions compiled in.

lupus

-- 
"You guys are definitely worth a wedding party." The Debian folks at ALS99



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