Better write this down

Every once in a while for some reason, CPAN fails to work. I get these insane directory names and the whole install fails. I was installing Crypt::OpenPGP which is written by Ben Trott, the same guy who writes MoveableType (the software used to publish Advisor Bits) and this happened to me.

Hey Ben, that's a lot of prerequisites!

I had to install Digest-MD2 the old way in order to get the OpenPGP to work. It took me long enough to remember that I thought it was worth writing here so I can look it up in the future. (Good use #107 for Advisor Bits!)


Here's the generic instructions for installing Perl mods when CPAN is fussed up, for those of you lucky enough to have always used CPAN:

1) Download the file:

wget ftp://ftp.someserver.com/some/long/path/To/YourModule-1.01.tar.gz

2) unpack the stuff

tar -xvzf YourModule-1.01.tar.gz

3) change into the directory

cd YourModule-1.01/

4) Configure the module for compilation and installation

perl ./Makefile.pl

If you need to install anything first, you will find out now.

5) Make the module and test it before installation

make
make test

6) Install the module if everything worked to this point

make install

7) You're done.

About this Entry

This page contains a single entry by John published on October 15, 2003 12:10 AM.

Asterisk * Open Source PBX was the previous entry in this blog.

There's no hyphen in email is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID

Subscribe by Email

Enter your email address:

Delivered by FeedBurner