Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Citrus Perl: problems trying to load additional modules

by Anneq (Vicar)
on May 18, 2013 at 13:40 UTC ( #1034096=note: print w/replies, xml ) Need Help??

in reply to Citrus Perl: problems trying to load additional modules

Try this:

$ cpan cpan>look DateTime [/path/to/the/cpan/Module-build-directory]#

Copy the path to the Module build directory (the text between the square brackets). Then:

[/path/to/the/cpan/Module-build-directory]# exit cpan> exit $ cd /path/to/the/cpan/Module-build-directory $ perl Makefile.PL $ make $ make test $ make install

Are you running CPANPLUS as Administrator or as a regular user?


Replies are listed 'Best First'.
Re^2: Citrus Perl: problems trying to load additional modules
by HelenCr (Monk) on May 18, 2013 at 15:18 UTC
    stefbv, syphilis, Anne and AM: Thank you for you time and interest. Your posts helped a lot.

    Here is how I got it solved: although CPANPLUS version was not that far back-dated, I decided to try to update it to the latest (0.9136). It's not simple to update it, so I used this incantation:

    cpan -fi BINGOS/CPANPLUS-0.9136.tar.gz

    as Khen1950fx suggested here:
    This got installed with no problems; I then went: cpanp (invoked CPANPLUS) and entered: i DateTime. It asked me about required dependencies, I answered [3] (Yes to all).

    Turned out that wasn't such a good decision, since it got stuck for more than an hour in trying to install DateTime::TimeZone.
    I noticed it was eating up 13% of joint cpu power ( which is quite a lot - the PC is quite powerful, 8-core i7 processor).

    I Googled a bit and realized it got into a "required dependency loop". I killed the perl.exe process (had to, since it ignored Ctrl-C), and installed the required dependencies manually.

    So all looks fine right now.

    Many thanks to all who chipped-in for help - Helen

    NB for the benefit of the PerlMonks community: some "lessons learned":

    1. It is possible (and documented) to run several Perl installations on your system. You have to manage the PATH carefully though (either manually or, if you have Citrus Perl, using the citrusvars.bat utility)
    2. CPANPLUS works fine in a multi-installation environment - in fact, it's by design. It creates a "module archive tree" with entries for each Perl version it finds.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1034096]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-01-22 18:58 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (63 votes). Check out past polls.