morrie.bradshaw has asked for the wisdom of the Perl Monks concerning the following question:

I guess my first question is does Chart::Clicker work on 64bit Win7 platform? If it does, is there list or bundled library that I can download so that it will include all the dependent libraries? I downloaded the Chart::Clicker from CPAN (http://search.cpan.org/~gphat/Chart-Clicker-2.65/lib/Chart/Clicker.pm), and have been manually getting the other libraries as it complains about it. But after 6-7, I knew I'm either doing something wrong or approaching it the wrong way, thus I need you perlmonks help! Thanks!
  • Comment on Help needed w/ Chart::Clicker on 64bit Win7. Missing large amt. of libraries

Replies are listed 'Best First'.
Re: Help needed w/ Chart::Clicker on 64bit Win7. Missing large amt. of libraries
by dasgar (Priest) on Aug 09, 2010 at 18:02 UTC

    The first method that I would suggest using is the Perl package management component that came with the Perl distro that you're using, such as PPM for ActiveState Perl. Those will usually pick up and install the required modules for you. Also, you'll probably get versions of the modules that have been tested on that Perl distribution.

    The second method is to install directly from CPAN directly using the CPAN module. To do this, start a command prompt and run perl -MCPAN -e shell to get into the CPAN shell. From there, use the install command to install a module by name (for examples: install Chart::Clicker). I can't remember if that method will try to grab and install any required modules first.

    (NOTE: I believe that this works primarily for modules that are pure Perl. Those that need to be compiled, such as Inline and XS based modules, might not work, especially if you don't have a compiler installed. I believe, but could be wrong, that you're more likely to hit this compiler issue on Windows than on *nix operating systems.)

    Lastly, if you really need to manually download and manually install, here's what I'd suggest to do. Download the module's tarball and extract out the contents. In a text editor, open the makefile.pl file (or meta.yml file). It will have a list of what modules are required, including the specific version numbers. If you know that you don't have some of those modules already installed, you'll know what to install first. Of course, you'll need to reiterate this process again for each required module or you'll end up working off of install error messages as you're currently doing.

    Perhaps others may know of less painful methods, but these are the methods that I have personally used.

      Thanks for the reply! This is the error I'm getting when I typed in "perl -MCPAN -e shell" It looks like you don't have a C compiler and make utility installed. Trying to install dmake and the MinGW gcc compiler using the Perl Package Manager. This may take a a few minutes... After that, I get an error saying it cannot connect. Guess I need to enter in a proxy address since we're behind a firewall at work? Any tips on that? TIA!
        Guess I need to enter in a proxy address since we're behind a firewall at work?

        For details on ppm (including how to use it with proxies and firewalls) open your Perl/html/faq/ActivePerl-faq2.html in a web browser.

        Cheers,
        Rob
Re: Help needed w/ Chart::Clicker on 64bit Win7. Missing large amt. of libraries
by Khen1950fx (Canon) on Aug 10, 2010 at 05:41 UTC
    You're in luck. I recently put together a bundle to install all the prereqs for Chart::Clickr. You'll find it here with a link to the Gtk+ Project.