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 Date: Thu, 26 May 2005 21:50:32 -0700 From: George To: Cygwin List Subject: Re: How to install perl modules? Message-ID: <20050527045032.GA460@home> Reply-To: George Mail-Followup-To: Cygwin List References: <429459BF DOT 7070803 AT ieee DOT org> <20050526065141 DOT GB988 AT home> <42962D86 DOT 1030409 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42962D86.1030409@familiehaase.de> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes On Thu, May 26, 2005 at 10:11:50PM +0200, Gerrit P. Haase wrote: > George wrote: > > >On Wed, May 25, 2005 at 11:55:59AM +0100, Jason Pearce wrote: > > >>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! > > >Sorry to go off on a slight tangent here, but is there any > >documentation anywhere that describe which Win32 modules are > >problematic, as it's most likely that for Cygwin users the Win32 > >modules are of particular interest, no? And installing both Cygwin's > >Perl and ActiveState's distribution can offer a less than > >satisfactory solution as it presents its own set of problems. > > There is an up to date version of libwin32 as well as Win32CORE > included in the perl distributed, it *should* be possible to build > some (not all) of the Win32 modules, though I have not tried to build > much of them. Just try one or another if it is not already included > with libwin32. I guess I'll see how it goes, then. The triumph of optimism over experience. To get this thread a bit back to topic, I do distinctly remember having problems building several modules and encountered a mess of problems that seemed as attributable to cpan as anything else, so I wrote off the whole approach and went back to using ActiveState's Perl. Now that I'm relying solely on the Cygwin distribution, I'm finding everything thus far going swimmingly well, and cpan indeed works as described above. Again, thanks for the reply. -- George -- 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/