in reply to Re^6: Using Tcl::Tk Module with Tcl/Tk 8.5
in thread Using Tcl::Tk Module with Tcl/Tk 8.5

No matter what you think is installed, the error message clearly indicates that at least some core modules are not installed. So the problem is not with Perl/Tk. You'll have similar problems no matter whichever larger module you'll try to use.

So, please, focus in this problem first: make sure you have the necessary core modules. After that, you can do whatever you please.

  • Comment on Re^7: Using Tcl::Tk Module with Tcl/Tk 8.5

Replies are listed 'Best First'.
Re^8: Using Tcl::Tk Module with Tcl/Tk 8.5
by phillc (Novice) on May 30, 2008 at 17:55 UTC
    OK, perhaps I wasn't clear in my earlier response.

    According to Synaptic the package called "perl-modules" and described as "Architecture independent Perl modules. These modules are part of Perl and required if the `perl' package is installed." is installed. It was installed when the OS was installed, as I have not added it manually. Packages "perl" and "perl-base" are also installed.

    So, I am still not sure what to do. Do you have a suggestion?

    Thanks

      I have found the solution to this after much Googling. It doesn't make sense, but everything now works.

      Answer is on this page:

      http://search.cpan.org/src/TLINDEN/Config-General-2.31/General.pm

      Specific text is:

      # on debian with perl > 5.8.4 croak() doesn't work anymore without this.
      # There is some require statement which dies 'cause it can't find Carp::Heavy,
      # I really don't understand, what the hell they made, but the debian perl
      # installation is definetly bullshit, damn!
      use Carp::Heavy;

      Not sure why this works, but my application now launches. seems like the necessary modules were installed but something else is not right.