Martin DiViaio on 23 Mar 2004 14:43:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] screwed up perl


[...]

On the 23rd day of March in the year 2004 you wrote:

> Date: Tue, 23 Mar 2004 08:17:42 -0500
> From: Arthur S. Alexion <arthur@alexion.com>
> To: plug@lists.phillylinux.org
> X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS 
> 	autolearn=no version=2.63
> Subject: [PLUG] screwed up perl
> 
> --[GPG Wrapper 0.1]--------------------------------------------[begin]--
> gpg: Signature made Tue 23 Mar 2004 08:17:53 AM EST using DSA key ID ACC5BA7A
> gpg: Can't check signature: public key not found
> -----------------------------------------------------------------[end]--
> Disclaimer:  I don't really know or understand perl.  However, I used to
> successfully use cpan to get modules that other apps needed.  That was on
> another machine.
> 
> The machine I am currently using didn't seem to have cpan installed.  I wanted
> to install spamassassin which needed Digest::SHA1.  I went to the cpan.org
> website to get the cpan module so that I could get Digest::SHA1 (and whatever
> else I might need in the future).  I downloaded Bundle-Everything.tar.gz but
> there were no install instructions.  Stupidly, I executed the included
> update-bundle.pl (as a regular user, not root) and now cpan is on the system
> but refuses to work.  Here is the message I get:
> 

It looks like CPAN/Config.pm has some bad information in it.

You can edit it by hand (not recommended) or:

As root:

perl -MCPAN -e shell

cpan> o conf init

::Answer all of the questions::

Just make sure that the cache area is writable by non-root users if you 
plan to allow users other than root to install packages.

If you don't wish to use CPAN, most perl packages have a Makefile.PL file 
in them. You would run that file with perl like:

perl Makefile.PL

Then you would follow the standard:

make
make test
make install

If you don't find a Makefile.PL then the package should have a README or 
INSTALL file with instructions.



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug