| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Gary Nielson" <gary AT garynielson DOT com> |
| To: | "Peter J. Acklam" <pjacklam AT online DOT no> |
| Cc: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Perl CPAN module help |
| Date: | Tue, 18 Nov 2003 17:13:04 -0500 |
| Message-ID: | <OPEKJLGNDDPKCJBJLEGLGECKHEAA.gary@garynielson.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| In-Reply-To: | <islhg0fk.fsf@online.no> |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Whoa! That was impressive. Thank you so much for all your time. I appreciate
it and hope I can help you and others in this group sometime.
-----Original Message-----
From: Peter J. Acklam [mailto:pjacklam AT online DOT no]
Sent: Tuesday, November 18, 2003 10:29 AM
To: Gary Nielson
Cc: Peter J. Acklam; cygwin AT cygwin DOT com
Subject: Re: Perl CPAN module help
"Gary Nielson" <gary AT garynielson DOT com> wrote:
> Thank you so much. If I wanted to start fresh with a new perl
> installation -- replacing the executables and all the modules --
> how do you recommend I do this under cygwin.
- Run setup.exe and uninstall all versions of perl.
- Manually remove the perl library directory
rm -rf /usr/lib/perl5
- Run setup.exe and install perl.
- Start the CPAN shell.
cpan
- You'll be prompted for a lot of information. I accept the
default everywhere, with the following exceptions:
- "CPAN build and cache directory? [...]" /.cpan
^^^^^^
- "What is your favorite shell?" /usr/bin/bash
^^^^^^^^^^^^^
- "Every Makefile.PL is run by perl in a separate process. Likewise we
...
Your choice: []" PREFIX=/usr/local
^^^^^^^^^^^^^^^^^
- "Now we need to know where your favorite CPAN sites are located.
Push
a few sites onto the array (just in case the first on the array
won't
...
(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America"
Here you must make a choice depending on your location.
Since I'm in Norway, I chose continent 4 (Europe),
contries 20 and 28 (Norway and Sweden) and then all the
sites that were listed.
- Now you should see something like
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled
cpan>
- Remember to set the PERL5LIB environment variable with one of
these (depending on whether you're using a C-shell or a
Bourne shell):
setenv PERL5LIB /usr/local/lib/perl5:/usr/local/lib/perl5/site_perl
PERL5LIB=/usr/local/lib/perl5:/usr/local/lib/perl5/site_perl
export PERL5LIB
- If you install the LWP module (or better yet Bundle::LWP),
don't install the HEAD alias, since you'll end up with a name
conflict with the standard head utility.
*Whew* That should be all, I think.
Peter
--
Peter J. Acklam - pjacklam AT online DOT no - http://home.online.no/~pjacklam
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |