delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/29/06:58:39

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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=bctjhHo4tMQWbtBR
exznR99hPB8m5Y4sa5tS3CFIDcvoVhERFvLhbLVJEG7u50MSIZSaJqkk9IQj3sX1
07xdtlW1XHfQHA+eJClOFhItSvKz4fzNBeM0cdGEyTasrewDMyqDYYd9ov4xMoDj
cjJWbuEo7eGrGA81BU1etHltcN0=
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=ua8xikT+wesZvX1kWMK8B+
eZuAU=; b=Trw2U0cOz/amcrMsBdXBZnRpObWmsK3EweUBvCToJQjTtl+J8hXb05
GOAFvm+aL/hU3Sz13w2xtlcjlAiUvDqDDVTxjxvaL8StrhOdC0gwkOKXff3MPlpV
2+NyULyO8wto1hNWzocEzvdzCzw2B/VNhP5mAwv4k9wT5sihsP78I=
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.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail110.syd.optusnet.com.au
Message-ID: <D944D92855DC4144B4371A3109255C01@OwnerPC311012>
From: <sisyphus1 AT optusnet DOT com DOT au>
To: <Ulrich DOT Herbst AT t-systems DOT com>, <cygwin AT cygwin DOT com>
References: <634CFD657E419946BD70654E385A708F2491501B9A AT HE111508 DOT emea1 DOT cds DOT t-internal DOT com>
In-Reply-To: <634CFD657E419946BD70654E385A708F2491501B9A@HE111508.emea1.cds.t-internal.com>
Subject: Re: WG: AW: Win32::Eventlog: Not found after upgrade
Date: Wed, 29 Jan 2014 22:57:45 +1100
MIME-Version: 1.0
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=n4VqiBxxPQ4A:10 a=8nJEP1OIZ-IA:10 a=wuDGkHKqH2wA:10 a=OOWAkpKua8nMjHcO53QA:9 a=wPNLvfGTeEIA:10
X-IsSubscribed: yes


-----Original Message----- 
From: Ulrich.Herbst

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

Ok - alternatively it's only *2* files that need to be installed - 
Win32/EventLog.pm and auto/Win32/EventLog/EventLog.dll.
After you've manually built the module on your local machine, you'll find 
the former in blib/lib and the latter in blib/arch.
Assuming you're running the same version of perl across all systems, it's 
just a matter of installing those files into one of the @INC directories on 
all machines.
By convention, I think you'd install them into 
/usr/lib/perl5/site_perl/5.14 - so you'd end up with
/usr/lib/perl5/site_perl/5.14/Win32/EventLog.pm
and
/usr/lib/perl5/site_perl/5.14/auto/Win32/EventLog/EventLog.dll

If it's simple for you to effect that across the various systems, then you 
could go with that.

> So - will be in the near future a libwin32-version including 
> Win32::Eventlog running with Perl5.14 available from cygwin installer ?

I'm sort of thinking it should already be there. I'm running perl-5.14.2 on 
Cygwin-1.7.17, so I figured I'd test for myself ... alas, I can't find a 
mirror that can provide setup.ini, and setup.exe aborts at that point.
So I guess we wait for someone who *knows* to come along.

Btw, it would really help if, in your testing, you'd try to load 
Win32::EventLog instead of Win32::Eventlog. In some situations it probably 
doesn't matter, but testing the loading of "Win32::Eventlog" introduces an 
(unnecessary) uncertainty with which it would be better to go without.
The thing is that, although Windows is not case-sensitive, perl is - and 
failing to attend to case-sensitivity can lead to strange failures.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019