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

Installed perl-tk-400.202-2; now perl-tk is broken



I am a longtime Linux (Slackware) user who has recently switched
to Debian.  I had been using the versions of Perl and Perl-Tk
which are in the 1.3 Debian release, and all was working OK.  Then
I decided that I wanted to upgrade to Perl 5.004 and Perl-Tk 400.202, so
I grabbed the four perl*.deb files out of hamm and 
installed them using "dpkg -i perl*.deb" (since I have never yet
had any success using dselect!).  The installation went fine, as 
usual with Debian, and my Perl scripts continued to work as
expected.  But *none* of my Perl-Tk programs work at all!  Even
the simplest program  --  the Hello-World example in the UsersGuide  -- 
ends with an error.

The error is always the same: it occurs during the parsing of
"use Tk", and the complete error messages (obtained by adding the
line "use diagnostics" to the program) are as shown below.

Any help figuring out what is wrong will be much appreciated.

			Sherm Ostrowsky
Uncaught exception from user code:
	Uncaught exception from user code:
	Uncaught exception from user code:
	Can't find loadable object for module Tk in @INC (/usr/lib/perl5/i386-linux/5.004 /usr/lib/perl5 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl .) at ././hello.ptk line 5
	Carp::croak('Can\'t find loadable object for module Tk in @INC (/usr/lib/perl...') called at /usr/lib/perl5/i386-linux/5.004/DynaLoader.pm line 130
	DynaLoader::bootstrap('Tk', 400.202) called at /usr/lib/perl5/Tk.pm line 40
	require Tk.pm called at ././hello.ptk line 5
	main::BEGIN() called at /usr/lib/perl5/Tk.pm line 0
	eval {...} called at /usr/lib/perl5/Tk.pm line 0
	main::BEGIN() called at /usr/lib/perl5/Tk.pm line 0
	eval {...} called at /usr/lib/perl5/Tk.pm line 0
BEGIN failed--compilation aborted at ././hello.ptk line 5.

Reply to: