Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Welcome to the Monastery
 
PerlMonks  

Problems with ppm install

by s_m_b (Acolyte)
on Sep 16, 2005 at 05:04 UTC ( [id://492558]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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

Greetings most knowledgable monks!
I'm trying to install dbi.pm on w2k server/(Active)PERL 5.6 but no matter which repository I try, get
C:\ ppm install http://............./DBI.ppd
installing.......
error.... : could not locate a PPD file for package.....
I have tried to download and copy the current DBI tar.gz, but it hits :
Can't locate loadable object for module DBI in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/lib/DBI.pm line 254
on being run

Replies are listed 'Best First'.
Re: Problems with ppm install
by marto (Cardinal) on Sep 16, 2005 at 05:13 UTC
      many thanks!
      your wisdom saved the day! I think I misunderstood the way to run the ppm install command.
      I had read all the docs, but failed to spot ( blush) that 1) you don't need to specify the repository, 2) you don't look for the xxx.ppd file its-self, just the 'name'.
      'install dbi' worked instantly!!!

      NB: yes - I'm relatively new to PERL, having (mis)spent years with VBscript and ASP..... I'm learning ;)

        oops! didn't intend to reply anon. Please read the 'anon' reply as mine!
        I think you probably understood the way to run the command but had chosen the wrong URL. PPM can install modules from a specific URL in the way that you described its just that the URL has to be valid. You can also download zipped versions and install them locally.
Re: Problems with ppm install
by reneeb (Chaplain) on Sep 16, 2005 at 05:14 UTC
    try this way:
    C:>ppm ppm> search DBI [... list of DBI-packages ...] ppm> install <nr_of_package>
Re: Problems with ppm install
by sh1tn (Priest) on Sep 16, 2005 at 05:39 UTC
    Just add another repository (commands):
    rep add http://www.bribes.org/perl/ppm search DBI [1] ... [2] ... [3] ... install 1,2 # for example quit


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://492558]
Approved by marto
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.