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

Reply via email to