Using PPM with a local repository...

I have a machine that I need to install Archinve-Zip module on.  I have created a local repositiory pointed to the directory I have placed the uncompressed files in. When I search, PPM finds nothing.  What am I doing wrong.

Peace,

David
dfr031260Asked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed, with points refunded (125)

Computer101
E-E Admin
0
 
kanduraCommented:
I don't think ppm can deal with plain zip files, or even unpacked archives.
Do you have the associated ppd file alon with the zip archive? if so, you could do

    ppm install path/to/your/Archive-Zip.ppd

I believe ppd stands for Perl Package Description, so that should make it clear why you'd need one.
0
 
CallandorCommented:
In PPM,

rep add AZRepository file://c:/mylocalrepository

Now you should be able to install.  If that doesn't work, you may need to move the repository up in the search order:

rep up n (where n = number of AZRepository)

repeat until AZRepository is at 1
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
ronan_40060Commented:
well create a something like C:\foo
and run ppm and then type
"ppm> repository set C:\foo"
put all ur packages there
Ronan
0
 
dfr031260Author Commented:
ppm install c:\Utility\Archive-Zip.ppd

is not working...

Gets the following error message:
Installing package 'c:\Utility\Archive-Zip.ppd'...
Error installing package 'c:\Utility\Archive-Zip.ppd': Could not locate a PPD file for package c:\Utility\Archive-Zip.ppd

my ppd looks like:
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Archive-Zip" VERSION="1,13,0,0">
  <IMPLEMENTATION>
    <CODEBASE HREF="sun4-solaris-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="sun4-solaris-thread-multi" />
    <OS NAME="solaris" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="PA-RISC1.1-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="PA-RISC1.1-thread-multi" />
    <OS NAME="hpux" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="MSWin32-x86-multi-thread/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
    <OS NAME="MSWin32" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="i686-linux-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="i686-linux-thread-multi" />
    <OS NAME="linux" />
  </IMPLEMENTATION>
  <ABSTRACT>Provide an interface to ZIP archive files.</ABSTRACT>
  <AUTHOR>Ned Konz (nedkonz@cpan.org)</AUTHOR>
  <TITLE>Archive-Zip</TITLE>
</SOFTPKG>

What is up with this?
0
 
kanduraCommented:
I found some instructions here: http://www.anaesthetist.com/mnm/perl/ppmlocal.htm
Hope that helps...
0
 
dfr031260Author Commented:
This worked as my ppd:

<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Archive-Zip" VERSION="1,13,0,0">
  <IMPLEMENTATION>
    <CODEBASE HREF="sun4-solaris-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="sun4-solaris-thread-multi" />
    <OS NAME="solaris" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="PA-RISC1.1-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="PA-RISC1.1-thread-multi" />
    <OS NAME="hpux" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
        <CODEBASE HREF="file:///c|/MSWin32-x86-multi-thread/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
    <OS NAME="MSWin32" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="i686-linux-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="i686-linux-thread-multi" />
    <OS NAME="linux" />
  </IMPLEMENTATION>
  <ABSTRACT>Provide an interface to ZIP archive files.</ABSTRACT>
  <AUTHOR>Ned Konz (nedkonz@cpan.org)</AUTHOR>
  <TITLE>Archive-Zip</TITLE>
</SOFTPKG>

I then loaded the module with this statement from the directory where the .ppd file was located:

ppm install Archive-Zip.ppd

What a pain in the butt, but it works.

Thanks all

Peace,

David
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.