Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)

Journal of jplindstrom (594)

Wednesday July 13, 2005
04:43 AM

Fiddling with PPM

[ #25675 ]

I'm trying to install Template toolkit and a few other modules on a Windows production machine (no VC++).

But, no luck, the PPM at ActiveState isn't built because of a dependency on AppConfig, and when I try to install it from the OpenInteract repository, the install fails for the same reason. And when I try to ppm install AppConfig, that doesn't work... hmmm.

What to do?

I'll make my own PPM with PPM::Make.

perl -MCPAN -e "get AppConfig"

cd to /.cpan/build/AppConfig-1.56

make_ppm -z

Copy the files to the machine and

ppm install AppConfig.ppd

Now the Template-Toolkit installation wants to install File-Spec (for some reason) and fails. Ok, so I'll just make a PPM for the entire Template module and install that.

It works.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • When I needed it, I used OpenInteract's install:
            ppm> set repository oi http://openinteract.sourceforge.net/ppmpackages
            ppm> install AppConfig
            ppm> set repository oi http://openinteract.sourceforge.net/ppmpackages
            ppm> install Template-Toolkit
    --
    rjbs
    • I tried to add the repository, didn't work.

      Can't remember the exact error message, but it complained about not finding File::Spec or something, which is weird since it's core, but I think maybe ppm.activestate.com isn't in tip top shape at the moment which may complicate things.
  • I'm pretty sure that the much larger (and better-maintained) theoryx repository now has both AppConfig and Template-Toolkit. If not let me know and I'll see about the File-Spec message.