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
Solved

Using PPM with a local repository...

Posted on 2004-09-09
8
525 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
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…

856 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