delorie.com/archives/browse.cgi | search |
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 |
X-Originating-IP: | [69.3.137.58] |
Reply-To: | <caelum AT debian DOT org> |
From: | "Rafael Kitover" <caelum AT debian DOT org> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Installing the Win32:: modules for Cygwin Perl |
Date: | Sat, 11 Jan 2003 23:20:13 -0800 |
Message-ID: | <000601c2ba09$cde00d80$0201a8c0@ISIS> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Originating-IP: | [69.3.137.58] |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
X-OriginalArrivalTime: | 12 Jan 2003 07:20:09.0407 (UTC) FILETIME=[09F234F0:01C2BA0B] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h0C7KYp24456 |
I have a patch for libwin32-0.191 to build under Cygwin Perl, both 5.6 and 5.8. This is based on the work of Clive Nicolson a while back. This will give you the core Win32 methods, as well libraries like Win32::APIFile, Win32::Sound, Win32::Clipboard etc. There is still quite a bit of work to be done to cleanly integrate these into Cygwin Perl so that no patching is necessary That aside, from a user perspective these _should_ work fine (no guarantees.) Just remember that while ActivePerl will not require you to “use Win32” for core methods like Win32::GetOsVersion(), this version does. Also Win32 Perl code may use Win32 commands and paths, in which case you may have to do some porting. You are better off using the newer Cygwin packages, especially gcc and w32api, but I’m curious to see if older configurations will also work. Instructions, from the Cygwin shell: wget http://search.cpan.org/CPAN/authors/id/G/GS/GSAR/libwin32-0.191.zip unzip libwin32-0.191.zip wget http://www.io.com/~rkitover/libwin32-0.191-port.diff patch –p0 < libwin32-0.191-port.diff cd libwin32-0.191 perl Makefile.PL && make && make test && make install Do NOT download the patch using a browser such as IE, the line ends will get converted and the patch will fail. Everything should work. If something fails, please send me an error report using this method: make test &> makelog gzip -9 makelog and mail makelog.gz to caelum AT debian DOT org so I can figure out what went wrong. Enjoy. -- Rafael Kitover -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |