Win32Core module question

Reini Urban rurban@x-ray.at
Mon Sep 10 19:34:00 GMT 2007


John Neil schrieb:
> Thanks.  For now I installed the previous version of the Cygwin 
> perl-libwin32 package, but I agree there should be some way to access 
> the non-core Win32 routines that were previously available without 
> having to install the Win32 module yourself.

Oops, I seem to have forgot my promise to add Win32.pm to CORE,
when Jan removed it from libwin32.

perl-libwin32-0.26 has it. perl-libwin32-0.27 not anymore.
perl-5.8.8 needs another update, sorry.

Our quality process is really bad.

> I'm happy to beta test any changes.
>  
> Regards,
>  
> John
> 
> ------------------------------------------------------------------------
> *From:* Jan Dubois [mailto:jand@activestate.com]
> *Sent:* Monday, September 10, 2007 12:06 PM
> *To:* John Neil
> *Cc:* 'Reini Urban'
> *Subject:* RE: Win32Core module question
> 
> Hi John,
> 
>  
> 
> Sorry for the slow response; I was extremely busy the whole last week 
> and didnÂ’t reply to most non-work email.
> 
> I have CCÂ’ed this message to Reini, who is the Cygwin maintainer for the 
> Perl packages and might have a better idea what is going on.
> 
>  From my point of view it looks like this: The perl-libwin32 package was 
> updated to version 0.27, which no longer contains the Win32 module, but 
> there is no separate perl-win32 package.
> 
> IÂ’m somewhat surprised that this hasnÂ’t come up earlier.  The best way 
> forward from my point of view would be to build a new 
> perl-libwin32-0.27-2 package that includes Win32.  This will then need 
> to be removed again once Cygwin updates to Perl 5.8.9 or 5.10.
> 
> Cheers,
> -Jan
>  
> 
> *From:* John Neil [mailto:JNeil@nvidia.com]
> *Sent:* September 5, 2007 10:25 AM
> *To:* jand@activestate.com
> *Subject:* Win32Core module question
> 
>  
> 
> Jan,
> 
>   You're listed at the owner of the CPAN Perl module Win32, so I'm 
> hoping you can answer a Cygwin-related question about it.
> 
>   I'm working on updating a release of Cygwin we use internally at 
> NVIDIA.  I've written a Perl script to auto-configure Cygwin after 
> installation that uses these non-core Win32 module functions:
> 
>   Win32::IsAdminUser()
>   Win32::LookupAccountName()
> 
>   In our current version of Cygwin (1.5.21-2) one gains access to these 
> functions with:
> 
>   use Win32;
> 
>   However, in the latest version of Cygwin (1.5.24-2), the Win32.pm 
> module does not exist.  The Win32 CORE functions can now be accessed 
> directly without loading the module, but the non-core functions don't 
> appear to exist anywhere.  I grepped the entire Perl install for the 
> routines that they don't show up.  I installed the complete Cygwin 
> 1.5.24-2 package list and they still don't appear.  How does one access 
> them?   I can't install Win32 from CPAN on the fly because the system 
> may not have network access when it is configured by my script.  Does my 
> script have to include it's own local copy of the Win32 module?
> 
> Thanks,
> John


-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/

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



More information about the Cygwin mailing list