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

Perl-Modules are required by package "perl".

As I have the perl package installed at distribution install, I also have the perl-modules package installed at the same time.

I can't really see anything else that I need to install......

Maybe I'll have to try Perl/GTK+ or wxPerl instead, which is a shame as PerlTK (or specicially native Tk) grid layout method really gels with me. I just can't live with the Motif-esque look of Tcl/Tk 8.4 widgets.

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

Replies are listed 'Best First'.
Re^7: Using Tcl::Tk Module with Tcl/Tk 8.5
by bart (Canon) on May 29, 2008 at 08:03 UTC
    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.

      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.