Menu

Installing Missing Modules

Help
AJR
2007-08-14
2013-04-26
  • AJR

    AJR - 2007-08-14

    Hi,
        I am running windows XP and have Apache running on my localhost.  I am trying to install Docperl and I received the following messages when
    running the checksetup.pl script via windows command prompt:

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>
    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>checksetup.pl
    Ignoring '!' modifier for short option p
    Ignoring '!' modifier for short option s
    Ignoring '!' modifier for short option v
    Config::Std             Missing
    File::Path              OK    1.0404
    File::stat              Use of uninitialized value in concatenation (.) or str
    g at C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl\checksetup
    l line 88.
    OK
    Pod::POM                Missing
    Readonly                Missing
    Template                Missing
    version                 Missing

    To install all missing modules try the following commands:

    $ cpan Config::Std Pod::POM Readonly Template version
    or
    $ perl -MCPAN -e 'install Config::Std'
    $ perl -MCPAN -e 'install Pod::POM'
    $ perl -MCPAN -e 'install Readonly'
    $ perl -MCPAN -e 'install Template'
    $ perl -MCPAN -e 'install version'

    Windows/ActivePerl users try useing ppm

    Config Exists

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>

    I tried issuing the commands to install the missing modules and the commands returned with the following
    output:

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>cpan Config::Std
    Pod::POM Readonly Template version
    'cpan' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>perl -MCPAN -e 'i
    nstall Config::Std'
    Can't find string terminator "'" anywhere before EOF at -e line 1.

    C:\Documents and Settings\radmaa\My Documents\Perl_Doc\docperl>

    Any advice would be appreciated

    Thanks

     
    • Ivan Wills

      Ivan Wills - 2007-08-15

      Hi,

      Are you using Active Perl? If so you can use PPM which comes with Active Perl and is usually found in the bin directory. Run in from the command line and it will open up a ppm prompt where you should be able to install the modules something like

      PPM> install Config::Std

      I'm not sure about the syntax as at the moment I don't have access to a Windows computer. Although I beleve PPM has a help command which you can run for more information on how to use it, also there does exist GUI interfaces to PPM the Windows Apache + Perl package comes with a Tk PPM installer but I don't know where to find it out side that package.

      Ivan

      PS If you still have problems I will have access to a windows computer in a day or two and will find out the exact commands to use.

       
    • AJR

      AJR - 2007-08-16

      Hi Ivan,

            Thanks for responding.  As it turns out, I was able to use PPM to install the modules  POD::POM,
      Readonly, and Version.  However, when I attempt to use PPM to install Config::Std and Template, I get the
      following messages:

      PPM interactive shell (2.1.5) - type 'help' for available commands.
      PPM> install Config::Std
      Install package 'Config-Std?' (y/N): y
      Installing package 'Config-Std'...
      Error installing package 'Config-Std': Could not locate a PPD file for package C
      onfig-Std
      PPM>

      PPM> install Template
      Install package 'Template?' (y/N): y
      Installing package 'Template'...
      Error installing package 'Template': Could not locate a PPD file for package Tem
      plate
      PPM>

      I was able to install the other modules by issuing the same commands, but for some reason I cannot install the two listed above.

      In trying to brainstorm why this will not work, the only possibility I could think of is the fact that I am running Perl v5.6.1   

      I'm not sure if this makes a difference or if DocPerl needs some later version of Perl.   I was looking through the documenation on the website which states that DocPerl requires Perl 5.6 or higher, so I didn't think that would be an issue.

      Any light you can shed on this issue would be very helpful

           Thank you!

        -Arian

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.