delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/02/11:53:12

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: <42010550.4000105@x-ray.at>
Date: Wed, 02 Feb 2005 17:52:32 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: Jochen DOT Schwarze AT cit DOT de
CC: cygwin AT cygwin DOT com
Subject: Re: path/version mismatch between packages perl and perl-libwin32
References: <OFE549048A DOT 6DF017BA-ONC1256F9C DOT 0051DA08-C1256F9C DOT 00534978 AT cit DOT de>
In-Reply-To: <OFE549048A.6DF017BA-ONC1256F9C.0051DA08-C1256F9C.00534978@cit.de>
X-IsSubscribed: yes

Jochen DOT Schwarze AT cit DOT de schrieb:
> the packages perl and perl-libwin32 seem to use incompatible paths.

We know. perl-libwin32 cannot be used with perl-5.8.6.
You have to install it by yourself via CPAN or wait for the official 
package update.

perl-win32-gui will be seperate.
For the simple Win32 FFI module (Win32::API) I'm not sure yet, but the 
other two (FFI and C::DynaLib) do work fine with callbacks.

> perl-libwin32 v0.191-1 (current version) installs to 
> /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int
> 
> perl v5.8.6-4 (current version) searches in 
> /usr/lib/perl5/site_perl/5.8/cygwin (among others)
> 
> When you try to use the perl Win32::OLE module, eg, you will get this 
> error message:
> 
> $ perl -e "use Win32::OLE"
> Can't locate Win32/OLE.pm in @INC (@INC contains: 
> /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 
> /usr/lib/perl5/site_perl/5.8/cygwin 
> /usr/lib/perl5/site_perl/5.8/usr/lib/perl5/site_perl/5.8 
> /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 
> /usr/lib/perl5/vendor_perl/5.8 .) at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
> 
> I tried to work-around including the other path manually, but then I get 
> this error:
> 
> $ perl -I/usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int -e "use 
> Win32::OLE"
> Can't load 
> '/usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Win32/OLE/OLE.dll' 
> for module Win32::OLE: dlopen, Win32 error 126 at 
> /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230. at -e line 1
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

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