Solved

Using PPM with a local repository...

Posted on 2004-09-09
8
520 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now