Re: Error read-only Heavy.pm line 45
Todd Littlefield <[email protected]> Mon, 26 Mar 2007 21:51:44 -0400
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Hi Ricardo,
I'm no expert either but both the perl version and perl/Tk are a bit
out of date.
perl itself is at 5.8.8+ I believe and Tk is 804.027 (with a update in
the works...)
Now, upgrading to these may or may not be an option, depending on the OS
you are using. According to the ad-hockey website, it appears to be
updated to
run against 800.015. There is even a FAQ item that says "... if perl
crashes when you
try to build perl/Tk400.200 try to use the newer version of ad-hockey."
Probably not what you want to hear but... Chances are no one is
working on
perl or perl/Tk versions that are several years old. The ad-hockey
website was last
modified on Nov 5th 2000...
I tried running it against ActiveState perl 5.8.8 build 819 with Tk
804.027 on Windoze.
There were a number of errors where they specified the borderwidth
option without the
leading dash. i.e.
my $frame = $MW->Frame( borderwidth => 2 );
which perl/Tk did not like. Simply adding the '-' (dash) character in
front fixed
the problem and allowed it to run. There were about a dozen of these
replacements
needed... I didn't do any extensive testing so YMMV
This is probably not what you wanted to hear but... I haven't built
those particular
versions of perl/Tk in a while. It might help the list to know what OS
this is on if
upgrading isn't an option. (and be as specific as you can with the
distro and version
if applicable...)
Good luck with it.
- Todd
super.ismiti wrote:
> Hi,
>
> I am new in Perl/Tk. I am trying to install it (Perl/Tk400.200) in my
> computer to use another tool called ad-hockey.
> So, I have perl 5.8 installed and working ok.
> I downloaded the Tk400.200 file and unpacked it.
> I am following the tutorial:
> http://w4.lns.cornell.edu/~pvhp/ptk/ptkFAQ.html#A6
> But when put the command "perl Makefile.PL" the follow error is showed:
>
> ...
> Checking if your kit is complete...
> Looks good
> ERROR from evaluation of /perl/Tk400.200/Pod/Makefile.PL: Modification
> of a
> read-only value attempted at /usr/share/perl/5.8/Carp/Heavy.pm line 45.
>
> Well, I am newbye in Perl yet, so I really need help with this. I
> don't know
> if its a complicated or simple problem...
>
> Thanks in advance,
> Ricardo.
>
> ------------------------------------------------------------------------
>
> --++**==--++**==--++**==--++**==--++**==--++**==--++**==
> ptk mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/ptk
>
>
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk