I have a piece of software I wrote (a GUI using Perl/Tk), which has some dependencies on CPAN modules. Does anyone have any suggestions on what mechanisms I can provide for users to get CPAN modules? I currently have two simple installer scripts, one for Unix and one for Windows. The Unix one does a 'use CPAN;' and then gets the relevant stuff. The Windows one uses Active State's PPM system. I believe my users are probably split more or less evenly between Windows and Unix, or perhaps a little more on the Unix side.

With my current setup, I'm getting e-mails from Linux users who run into problems. My software is open-source, so I have no way of knowing what percentage of users are actually having problems, but I'd like to make it easier for them. For instance, I got an e-mail today from a Linux user (he didn't specify what distribution) who tried running the installer script, and had a problem because he'd never installed CPAN.pm. Of course it would be obvious to us Perl programmers how to fix that problem, but to him, it was completely mysterious. It's nice that CPAN is cross-platform, but getting CPAN set up in the first place is nontrivial for many users. (The number of configuration questions it asks is just astounding, and it's not necessarily true that you can give the default answer to every single one.)

It was interesting doing a Google search on my software, because I found that people had made Red Hat RPMs and Debian .deb files for my software. It would be great to just depend on each user community to do something like that, but what ends up happening is that, e.g., the latest .deb on the web is an older version with known bugs. I use FreeBSD myself, and it's not practical for me to create and test separate versions for every Linux distribution.

Any suggestions on a sane way to proceed?


In reply to telling users how to get CPAN modules by bcrowell2

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.