G'day hakim-djz,

Welcome to the monastery.

Many Perl modules (especially those that are pure Perl) install without incident; however, when you do have problems installing a module (particularly those that require 3rd-party libraries), your first port of call should be the README file.

The layout in CPAN is pretty much the same for all modules: you'll find README, as well as other files and resources, in the same places. I'll show how to do it for Tkx (the steps are the same for other modules):

  1. Find the module you want on CPAN, in this case Tkx.
  2. In the top-left corner you'll see: author_link > distribution_link > module_name. Follow the distribution_link, in this case Tkx-1.09. [Note for future reference: 1.09 is a version number which will change if the module is updated.]
  3. Now you'll see a lot of information in various sections including testing results, other modules in the distribution, documentation and so on. The link to the README file is in the "Special Files" section.

For installation of Tcl/Tk, I suggest you go to TkDocs - Tk Tutorial. Read the short Introduction then you can probably skip straight to Installing Tk on Linux.

Once you installed Tcl/Tk, try to install Tkx again.

I haven't done this specifically for Linux; however, the steps I've shown here worked fine for Mac OS X which is also a Unix-like OS.

[Depending on your expertise with Tkx, you may find other sections of TkDocs - Tk Tutorial as well as Tkx::Tutorial useful when you start to write your GUIs.]

-- Ken


In reply to Re: No Tcl dll found by kcott
in thread No Tcl dll found by hakim-djz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.