delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:date:subject:message-id:content-type | |
:content-transfer-encoding:mime-version; q=dns; s=default; b=qXF | |
ABAQj8S70fJV0Lk3fZgUq2rWQLqJXKHuqekcIWnMFFuJacWCirjmPmIxjvBWGA4Y | |
WLQ88mJ5VW7ocAjmC7pqG5WKaIhe4gwDvdeSU/Mk07t+d7k22fn6xM4uAoE4hcTt | |
gyggajgSA0OoTzGWKBvRIlxzvvdVGY/5gusBNuLo= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:date:subject:message-id:content-type | |
:content-transfer-encoding:mime-version; s=default; bh=ntUXn7vRZ | |
KqUjg+g0itqFGSDz+k=; b=YEo6mA7MSL0KKkBUV16srSQWkv89cYOYVIiqdwdir | |
4wmGoQ0/wS0wSy6Zjm1xn3IDX3J7jKBoUhXRMllwsuE87gujDYcfRG69uzofaCWm | |
rHpPdwDH/S2YhfpllqJdYNHgWRFVz6B22koEb5KGW2xnkuwpa0QVjEJk3TRXGI6R | |
4U= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 |
X-HELO: | tcmail43.telekom.de |
From: | <Ulrich DOT Herbst AT t-systems DOT com> |
To: | <cygwin AT cygwin DOT com> |
Date: | Wed, 29 Jan 2014 11:51:19 +0100 |
Subject: | WG: AW: Win32::Eventlog: Not found after upgrade |
Message-ID: | <634CFD657E419946BD70654E385A708F2491501B9A@HE111508.emea1.cds.t-internal.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id s0TApc5Q019432 |
Hi Rob, 1. I use perl 5.14. 2. I was wrong on "Win32::Eventlog from perl 5.10 is working with 5.14"... This doesn't work at all (perl just ends without any output... but that's something completely different - we haven't to discuss this) 3. I don't want to build Win32::Eventlog on my own... for these reasons: - I had to do it on many systems... - We don't have compilers and make and tools... installed on them (production environments) So - will be in the near future a libwin32-version including Win32::Eventlog running with Perl5.14 available from cygwin installer ? Uli > " Trying to "use Win32::Eventlog;" will not work - though I don't > think that's the error you're up against here." > => yes, it will work (this is my current workaround): > $ export PERL5LIB=/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/ > $ perl -MWin32::Eventlog -e print > $ Well ... which perl are you using here - 5.10 or 5.14 ? If you're using 5.14 then either: 1) The Win32::EventLog that's in /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/ was built for perl-5.14; or 2) The Win32::EventLog that you're loading is in some place other than /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/; or 3) The Win32::Eventlog that you're loading is not the http://search.cpan.org/~jdb/Win32-EventLog-0.077 that I'm assuming it is; or 4) Your persistence in not attending to the case-sensitivity of the module's name is doing something of which I'm unaware. > " Win32::EventLog is not part of libwin32 - so installing libwin32 > won't help." > Yes, I think, Eventlog is part of libwin32. I stand corrected on that. > a) Mv /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/ out of the way > b) re-install perl/libwin32 > c) => freshly installed /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/ > with Eventlog available. > > So, in summary, I think: perl/libwin32 is not freshly built againt > perl 5.14... that's my problem. That sounds a distinct possibility. So ... assuming you want it for perl-5.14, try installing Win32::EventLog using either the 'cpan -i' command or the manual method (both of which were outlined in my earlier post). Just make sure that the perl you use when you're doing that is the one that you want. I've just tried the "manual method", and it worked fine for me. (Note that you run 'perl Makefile.PL' and not the fat-fingered 'perl Maskefile.PL' that I presented earlier.) It's quite likely that 'cpan -i Bundle::libwin32' will also work if you want to install the whole lot of libwin32 - though there's no reason that you can't install *just* Win32::EvenLog if that's all you need. Cheers, Rob -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |