anadem has asked for the wisdom of the Perl Monks concerning the following question:

We've been happily running ActiveState perl 5.8 under Widnows, but now I also need to use cygwin and its perl (also 5.8) on the same PC.

Each independent perl works fine, but I can't figure how to use ppm on cygwin. "which ppm" on cygwin finds the A-S one, hinting that maybe ppm is missing from cygwin's perl ("which perl" on cygwin does find the correct cygwin perl.exe binary.)

Is ppm an add-on that I might install in cygwin? If so, where would I find a copy? If ppm is an ActiveState special, what's the best alternative way to install packages?

Fwiw running the A-S ppm on cygwin gets a complaint about not finding the InstallLocation in the registry:

$ ppm Error: neither
'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation'
nor
'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation'
found in registry at /cygdrive/c/Perl/bin/ppm line 16.

Thanks

Replies are listed 'Best First'.
Re: two perls in one oyster?
by chromatic (Archbishop) on May 14, 2008 at 00:11 UTC
      thanks. Guide to Installing Modules was just what i needed. (must do better research myself, sorry)
Re: two perls in one oyster?
by Gangabass (Vicar) on May 14, 2008 at 01:20 UTC

    chromatic is right. But you can try to install ActivePerl in cygwin course Linux, Solaris and other operationg systems version are avaiable on http://www.activestate.com. Also you can try to install from sources.

      thanks. i have to use the cygwin perl because it's not my machine, but that's useful for future ref.