delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/16/15:30:07

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>, <cygwin AT cygwin DOT com>
Subject: RE: Perl CPAN module help
Date: Sun, 16 Nov 2003 15:29:49 -0500
Message-ID: <OPEKJLGNDDPKCJBJLEGLMEDKHBAA.gary@garynielson.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <3FB3B2CB@epostleser.online.no>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Hi,

I am getting somewhere. I used setup and installed needed executables such
as gcc. Did a force install in cpan for LWP modules and it seemed to be go
great. All tests were successful in make test. But when running make install
I got the error:

"Cannot forceunlink /usr/bin/HEAD: No such file or directory at
/usr/lib/perl5/5.8.0/File/Find.pm line 873.
make: *** [pure_site_install] Error 255
/usr/bin/make install -- NOT OK.

The Find.pm line in question is: { $wanted_callback->() }; # protect against
wild "next"

Any idea what is going wrong, or is the question better posed to a perl
forum? Any help appreciated.


-----Original Message-----
From: Peter J. Acklam [mailto:pjacklam AT online DOT no]
Sent: Thursday, November 13, 2003 2:52 AM
To: Gary Nielson; cygwin AT cygwin DOT com
Subject: RE: Perl CPAN module help


"Gary Nielson" <gary AT garynielson DOT com> wrote:

>I tried installing several perl modules today, but make test
>failed on several in the LWP package and for HTML::Parser
>etc. Couldn't find modules I'd already installed in the INC
>path.

That's strange.  Which module is not found?  Since you have
installed it, where is it?  What is your @INC?  You can see your
@INC with

   perl -wle 'print for @INC'

>With HTML::Parser it couldn't run gcc because it was not found.

Then you must install it.  :-)  Run setup.exe and install gcc.

>How do you use CPAN under cygwin?

   perldoc cpan

To fire up the cpan shell, just type, at the cygwin shell

   cpan

>Is there a web page that outlines how to configure CPAN for
>cygwin, is that what is needed?

I found it to be quite straight forward.  Please be specific and
tell where you run into problems.

>Are others having problems and how did you fix them.

We'll take one thing at a time.  I've used the cpan shell a lot,
but I need some more information about where you run into
problems.

>I successfully install some and have force installed others and
>notice that if you do a perldoc perllocal you only get the first
>three modules listed, whereas if you do a more on the perllocal
>file, you see a lot more listed. What's up with that, can anyonw
>explain?

I have never used "perldoc perllocal" to see what modules I have
installed, so at this point I can't tell you what is wrong.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019