Solved

Using PPM with a local repository...

Posted on 2004-09-09
8
530 Views
Last Modified: 2012-08-13
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
0
Comment
Question by:dfr031260
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 18

Expert Comment

by:kandura
ID: 12019055
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
 
LVL 69

Expert Comment

by:Callandor
ID: 12019184
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
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12019816
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dfr031260
ID: 12020730
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
 
LVL 18

Expert Comment

by:kandura
ID: 12021270
I found some instructions here: http://www.anaesthetist.com/mnm/perl/ppmlocal.htm
Hope that helps...
0
 

Author Comment

by:dfr031260
ID: 12021505
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
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12375804
PAQed, with points refunded (125)

Computer101
E-E Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question