rpike has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to find out how I can install CGI::Session but to no avail. Can anyone point me in the right direction? I tried installing using CPAN interactive shell (without success - http://kobesearch.cpan.org/htdocs/CGI-Session/INSTALL.html). I would appreciate any info you can give. Thanks.

Replies are listed 'Best First'.
Re: CGI::Session Installation
by moritz (Cardinal) on Jul 07, 2009 at 20:05 UTC
    What operating system do you use? and what perl (if on windows: strawberry or activestate)?

    What errors do you get?

Re: CGI::Session Installation
by mzedeler (Pilgrim) on Jul 07, 2009 at 20:13 UTC

    If you post the output here (and provide your OS and perl distribution), it will be possible to help you.

Re: CGI::Session Installation
by rpike (Scribe) on Jul 07, 2009 at 20:33 UTC
    Windows NT Server. Version 5.006001. The last portion (hopefully can lend some clues) is (after trying to install Bundle::CPAN but pretty much the same when I tried installing CGI::Session): Running make test 'test' is not recognized as an internal or external command, operable program or batch file. test -- NOT OK Running make install make test had returned bad status, won't install without force CPAN.pm panic: deep recursion in color_cmd_tmps depth100 selfCPAN::Distributi on=HASH(0xc2b2310) idS/SM/SMUELLER/PathTools-3.30.tar.gz
      That is kind of old, ouch :)

      You need to escape out of cpan and try to install manually

      cpan>look CGI::Session
      That will download and extract CGI::Session to a temporary directory, and open a shell (cmd) in that directory. From there you can then run perl Makefile.PL && nmake test. If you get any errors, copy/paste them into <code></code> tags.
        What's the easiest way to update the version I have of Perl running on the server? There is a directory on the server that is 5.8 but putting a print of the version number in one of my scripts I get 5.0. Is there a good (step by step) webpage that describes installing a new version of Perl on a windows machine? Thanks in advance.
        After I try running look CGI::Session.
        CPAN: Storable loaded ok Going to read \.cpan\Metadata Database was generated on Tue, 07 Jul 2009 18:27:03 GMT Running look for module CGI::Session Your configuration does not define a value for subshells. Please define it with "o conf shell <your shell>"