Re: Newbie trying to access local repository with ppm on win2k

From: ko (kuujinbo_at_hotmail.com)
Date: 10/09/03


Date: Thu, 09 Oct 2003 21:18:50 +0900

Piet wrote:

> Hi there.
> I have a problem with the ppm. THe ppm itself is working fine, but
> aspparently I cannot access a local repository. ppm has two
> repositories predefined on startup which both access the internet.
> When I use the search command while connected to the net, everything
> is fine, though the number of returned modules is quite large.
> I have thus created a subdirectory ""rep" in my perl installation
> "c:\programme\perl580" and defined a local repository via "rep add
> Local c:\programme\perl580\rep". I copied some perl modules in form of
> their *.tar and *.gz files in this directory, deactivated the
> predefined repositories and performed a complete search via "search *"
> but the ppm just returned "No matches for “*“; see “help search“."
> I tried slashes instead of backslashes and adding (back)slashes at the
> end of the pathname, but nothing worked. The repository itself seems
> to be ok; when I rename the directory "rep" to "repo" I get the
> expected error message"Error: No valid repositories: Error: Can't
> initialize repository at 'c:/programme/perl580/rep/': No such file or
> directory". So the problem seems to be that the modules are not
> recognized. What is wrong or missing?
> I would really like to keep my perl installation clean and working...
> please help!
> Piet

1. Extract the files.
2. Try moving extracted the files/directories *themselves* in your
c:\programme\perl580 directory, if they aren't already there.
3. I've had problems using 'rep rename ...' too. You could try deleting
the local repository you created, and then starting over.
4. Read the docs => ActivePerl Components => PPM

'ppm install PATH2/MOD_NAME.ppd' will also allow you to install locally.
(use the absolute path to where the *.ppd file is located)

HTH - keith



Relevant Pages

  • Re: Query on databases
    ... Regards, ... > Install the package by specifying the ppd file directly: ... >> ppm> search mysql ... >> Gayatri. ...
    (perl.beginners)
  • Re: Query on databases
    ... Hey Gayatri, ... You shall use PPM to set a local repository. ... Searching in Active Repositories ... > If you are using ActiveState Perl, then install the module via PPM. ...
    (perl.beginners)
  • RE: Query on databases
    ... Unzip the package to a temporary directory. ... Install the package by specifying the ppd file directly: ... > ppm> search mysql ... > Searching in Active Repositories ...
    (perl.beginners)
  • Re: modules for nntp client
    ... If it is a Pure Perl module, you can install it ... Those are repositories to add to ppm. ... Unpacking Win32-Console-ANSI-1.00...done ...
    (comp.lang.perl.misc)
  • Re: perl DBI,DBD::ODBC installation help
    ... downloaded the ppm modules and even Activestate Perl from the links ... Save the downloaded file on your hard disk in the C:\usr folder. ... Download the required PPMPackages ... directory and typed ' PPM install DBI'. ...
    (comp.lang.perl.modules)