delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/04:33:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <4295896C.20901@familiehaase.de>
Date: Thu, 26 May 2005 10:31:40 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Jason Pearce <jason DOT pearce AT ieee DOT org>
CC: Cygwin List <cygwin AT cygwin DOT com>, Manuel Tejada <mantemu AT yahoo DOT com DOT mx>
Subject: Re: How to install perl modules?
References: <20050526041546 DOT 45034 DOT qmail AT web50410 DOT mail DOT yahoo DOT com> <42957CBD DOT 1050405 AT ieee DOT org>
In-Reply-To: <42957CBD.1050405@ieee.org>
X-IsSubscribed: yes

> Manuel Tejada wrote:
> 
>> Thanks to you and the other people for the answer.
>>
>> Unfortunatly I don't have Internet-like programs
>> installed (as lynx, wget, ncftpget, ncftp, etc) in my
>> cygwing, so I can't use the -MCPAN or just de command
>> cpan. I don't intend to install those programs to
>> avoid my cygwin get bigger.

Come on, a program like wget is so important, how do you download
stuff?  Internet Explorer?  Isn't this bloat (50 MB)?  The whole
wget package is about 1 MB!

>> I can download the modules from CPAN using the
>> Internet program from Windows and save them in the
>> hard disk.

Bloatware...

>> The correct question would be this:
>> Can I install the modules manually?

Yes, of course, however, CPAN is much more reliable.  You don't
need all the internet tools anyway, Net::Ftp is already included
in the Cygwin Perl release, so there should be no other tools
needed.  Just install some more perl modules to make it more
comfortable for you (in the CPAN shell type: `install LWP' to
install the libwww module and dependencies).


>> If yes, How, and what must I have in consideration?

make, binutils and gcc-core (besides the Cygwin base packages):

$ tar xzf Perl-Mudule-1.2.3
$ cd Perl-Mudule-1.2.3/
$ perl Makefile.PL
$ make
$ make test
$ make UNINST=1 install

Should be listed in the README:
$ cat /usr/share/doc/Cygwin/perl-5.8.6

[...snip...]

Requirements

[...snip...]

   CPAN Dependencies:
     When building modules you will need Cygwin packages like make,
     gcc, binutils, ..., (and additional libraries, depending on the
     modules you want to install).

[...snip...]


Gerrit
-- 
=^..^=

--
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