PPM

Discuss the Perl Package Manager (PPM) and other module installation methods

error--file conflict installing modules

After updating to release 819, which has the new version 4 of PPM, with GUI interface, I attempted to install several modules. For some of these, which have identical files, I get a message:
ERROR: File conflict; package [name] already provide [path/file]. I don't recall the command-line interface preventing installation of modules due to identical/overlapping files in multiple modules. The modules I'm trying to install are MARC-Errorchecks, MARC-Lint, and MARC-Record. the MARC-Record includes an older version of the MARC::Lint module, and MARC::Errorchecks and MARC::Lint rely on the identical module MARC::Lint::CodeData. After successfully installing MARC::Record and MARC::Errorchecks, attempts to install MARC::Lint result in the error mentioned above, citing */html/site/lib/MARC/Lint/CodeData.html as the conflict.

ppm3/ppm4 API documentation

Hello,

I am looking for documentation on writing code that makes use of PPM modules. Here's why I want to know: I would like to write an installer script that will programmatically add a repository and install prerequisites and then procede on to installing the application. I would like to write code that would work on both ppm3 and ppm4 if possible.

While I could use system calls to run ppm, I think that using the modules directly will be cleaner (for instance, I can avoid adding repositories that are already in the list).

Thanks for any help,
Scott

nmake of packages resulting in Undefined UpdateHTML_blib error

I'm trying to build and install a couple packages, including Test-Class-0.19 and when I run Windows nmake I get the following error:

Undefined subroutine &main::UpdateHTML_blib called at -e line 1.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Stop.

Any ideas why this is failing?

BTW, I'm running ActivePerl-5.8.8.819

Thx!

PPM4 MSWin32-x64 404 errors.

I'm trying to access the package repository from a machine running Windows XP Pro x64 Edition using the perl v5.8.8 for MSWin32-x64-multi-thread (Binary build 819 [267479].

Unfortunately, all actions result in a 404 error. See, for example:

C:\Perl\bin>ppm search *
Downloading ActiveState Package Repository packlist...not found
*** no packages matching '*' found ***

C:\Perl\bin>ppm log
Last minute of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ppm4.log:

2006-10-17T09:08:11 <6> [ppm:66] ppm search *
2006-10-17T09:08:11 <6> [Web.pm:63] GET http://ppm4.activestate.com/MSWin32-x64/
5.8/819/ ==> 404 Not Found (303 bytes in 0.22 sec - 1 KB/s)

using ppm thru a proxy

I'm unable to install a package thru ppm because I have to go thru proxy.
How do I list my proxy server in environment variables?

Yvetteb

PPM eats much traffic and is very slow

I'm using activeperl 5.8.8.189,

after starting PPM waits for very long time and tries to download enourmously long list of packages, that make impossible to use it with dialup line.
And even with permanent internet connection I don't want to reload megebytes of lists every time.
Both GUI and command-line versions work this way.
Seems that the best way is to downgrade to one of previous versions of AP (with not hungry PPM) and never upgrade.
Is it right?

Same problem is with webpage of packages,
by default it lists all the packages for all platforms;
seems that suggesting user a form with selecting of platform and pattern for package name would be much more convenient.

PPM 5.8.8.819 Crashing Shortly After Start on Windows Server 2003

I am running on Windows Server 2003 Standard Edition SP1 with ActivePerl-5.8.8.819-MSWin32-x86-267479 installation file, and when I try to run PPM, it crashes and I get the following in the event viewer:

Faulting application wperl.exe, version 5.8.8.819, faulting module tkkit.dll, version 8.4.2.14, fault address 0x000bd7b0
and the next time:
Faulting application wperl.exe, version 5.8.8.819, faulting module TCL22.tmp, version 0.0.0.0, fault address 0x0001b76d

I believe that the problem started when I was trying to run PPM earlier and it crashed my server twice. Anybody have any ideas how to get it so that I can at least start PPM?

Using -force -nofollow, can't call getppm on undefined value

I'm trying to use 'ppm install -force -nofollow' in order to force an upgrade of an existing module.

(1)
C:\perl\bin>ppm rep
Repositories:
[1] HCM

This repository contains the correct .ppd file. If I uninstall the module in question, then use 'ppm install', it works fine. It's just 'ppm install -force -nofollow' that fails (actually ppm install -force -follow fails as well, it just doesn't barf with an error even though it should actually be attempting to do MORE than ppm install using -nofollow).

(2)
C:\perl\bin>ppm install -force -nofollow Net-SNMP
Note: Package 'Net-SNMP' is already installed.

Connection error in ppm

Hello

I am using activeperl for a while now and it works perfectly, but the PPM doesn't. When I try to search for a package or try to install one, it gives me:

ppm> install net::irc
Error: No valid repositories:
Error: 500 Can't connect to 127.0.0.1:4001 (connect: Unknown error)
Error: 500 Can't connect to 127.0.0.1:4001 (connect: Unknown error)

Also, the GUI only shows me my installed packages and no new ones. Can somebody please help me out? Thanks in advance,

Iron

EDIT: sorry, problem is already fixed, my http proxy for connection was set in register. If other users have this problem, create a .bat file containing: