Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Peter J. Acklam" , Subject: RE: Perl CPAN module help Date: Sun, 16 Nov 2003 15:29:49 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" 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/