X-Recipient: archive-cygwin@delorie.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:message-id:from:to:references:in-reply-to
	:subject:date:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=AmIFN7KWyfvM8S+u
	7jdSehCWoYMH+mWMYshPLO9kU/WCmJx13YdoEU2C0DD0CJ1fDw++RNbJ2f4eegzQ
	3r7X8Jt/G+PYv1ypCB9XFgbDVrFsheeTecBN54qYU05x1waIB9K0SKl/f1VCn/Bi
	rXkN0gKZgTSzOcvPmedWv+cENIc=
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:message-id:from:to:references:in-reply-to
	:subject:date:mime-version:content-type
	:content-transfer-encoding; s=default; bh=mUKHya3pvy+0Tc2MnsnC1o
	RVVjA=; b=MhCc7Ao5PCQPQMvbMOHCcWRUYjBIWSRHircZngzfapBmKZnb3hjnPD
	VLu/OQhsGzUay8ub46YlixS5NZdYlKdFUWRCHJjY+EJmm//ktjQfVwR/XfvSZtdK
	GjH0OTx++evmWGvIlIJkFIcsoVjq9h/3C0mhvBNwJV0jEciHmdtOQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail109.syd.optusnet.com.au
Message-ID: <188C904479CE4CB69A88DB0BEE6B9CC9@OwnerPC311012>
From: <sisyphus1@optusnet.com.au>
To: <Ulrich.Herbst@t-systems.com>, <cygwin@cygwin.com>
References: <634CFD657E419946BD70654E385A708F24915019A0@HE111508.emea1.cds.t-internal.com> <FC794E149BB444D28964362BC06CE2B9@OwnerPC311012> <634CFD657E419946BD70654E385A708F2491501A06@HE111508.emea1.cds.t-internal.com>
In-Reply-To: <634CFD657E419946BD70654E385A708F2491501A06@HE111508.emea1.cds.t-internal.com>
Subject: Re: AW: Win32::Eventlog: Not found after upgrade
Date: Wed, 29 Jan 2014 20:53:10 +1100
MIME-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="iso-8859-1";	reply-type=original
Content-Transfer-Encoding: 7bit
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=HZAtEE08 c=1 sm=1 tr=0	a=8e8rgZJuizJfF74+JHJpGg==:117 a=8e8rgZJuizJfF74+JHJpGg==:17	a=PO7r1zJSAAAA:8 a=0zDCMeBNGz4A:10 a=8nJEP1OIZ-IA:10 a=H2jwSeTZ24EA:10	a=SIAf1-xyAAAA:8 a=eNcD7ojaAAAA:8 a=7XRDlTEKEdtXK04b7rYA:9	a=wPNLvfGTeEIA:10 a=DoRJ_Qm76EUA:10
X-IsSubscribed: yes



-----Original Message----- 
From: Ulrich.Herbst@t-systems.com

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

