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 Message-ID: <429459BF.7070803@ieee.org> Date: Wed, 25 May 2005 11:55:59 +0100 From: Jason Pearce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: Cygwin List Subject: Re: How to install perl modules? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yes, use the CPAN module as Brian suggests. Just make sure environment variable PERLIO is unset when using -MCPAN, otherwise it will fail. (You might set this to CRLF for DOS compatibility purposes). Also be aware that you may have trouble building some modules that use C code and have not been ported to Cygwin, mainly OS modules like WIN32. Straight Perl modules should just work out of the box, and CPAN will get all pre-requisites for you too. You'll never want ppm again! Regards, Jason Brian Dessent wrote: >Manuel Tejada wrote: > > > >>> Somebody can tell me from what URL I must to download >>> a perl module and how to install it in Cygwing? >> >> > >You use CPAN. "perl -MCPAN -e 'install Foo::Bar'" or "perl -MCPAN -e >shell". There is no URL to know, it takes care of all of that. >http://cpan.org/misc/cpan-faq.html > > > >>> In pure Windows is easy is you have Perl from >>> ActiveState but Perl installed in Cygwin doesnt have >>> the ppm Manager. >> >> > >To me (and perhaps others) that's a feature and not a bug. I can't >stand that ppm junk. > >Brian > > -- 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/