[lug] perl/Tk question

arnie asherman1 at uswest.net
Tue Mar 14 21:07:18 MST 2000


Hi Chip,
Well, I tried your suggestion, and instead of getting the error that it
cannot find Tk.pm in the directories pointed to by @INC, I get the
folllowing:

Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Tk/Event/Event.so'
for module Tk::Event:
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Tk/Event/Event.so: undefined
symbol: PL_stack_max at
/usr/lib/perl5/5.00502/i386-linux-thread/DynaLoader.pm line 168.

 at /usr/lib/perl5/site_perl/5.005/i386-linux/Tk.pm line 15
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.005/i386-linux/Tk.pm line 15.
BEGIN failed--compilation aborted at /home/arnie/bin/test_tk.pl line 3.


I'm guessing that my install of perl/Tk is not correct. I installed the
perl-Tk-800.015-1.i386.rpm from rpmfind.net, but I guess it doesn't like the
way Caldera is set up. I have also tried using push in a BEGIN block to get
the path into @INC, but get the same results as above.

I think I'll uninstall the rpm, and try another install with the tar file,
though my first attempt at that didn't yield much either. If there is
anything in the above that shows what the problem is, please let me know.
thanks,
arnie sherman


Chip Atkinson wrote:

> You can use perl -V to show what @inc is and you can set the enviroment
> variable PERL5LIB to add to the @inc array.  Thus you would
> export PERL5LIB=/usr/bin/perl/blahblahblah/tk/is/installed/here
> or something similar to pickup the Tk stuff.
>
> Chip
>
> On Fri, 10 Mar 2000, arnie wrote:
>
> > After installing the perl/Tk module from the Bundle-Tk-1.00-tar.gz file,
> > how do I make perl see the module in @INC, or otherwise have perl use
> > the module? I am getting an error when the script gets to
> >
> > use Tk;
> >
> > thanks,
> >
> > --
> > arnie sherman
> > frenomulax at bigfoot.com
> >
> > "Paradise is exactly like where you are right now,
> >  only much, much better."
> >         -Laurie Anderson
> >
> >
> >
> >
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

--
arnie sherman
frenomulax at bigfoot.com

"Paradise is exactly like where you are right now,
 only much, much better."
        -Laurie Anderson








More information about the LUG mailing list