X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <46E59C5B.3040109@x-ray.at> Date: Mon, 10 Sep 2007 21:34:51 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: John Neil CC: Jan Dubois , Cygwin List Subject: Re: Win32Core module question References: <8E5ACAE05E6B9E44A2903C693A5D4E8A2B01A23E AT hqemmail02 DOT nvidia DOT com> <03f701c7f3dd$98ad6190$ca0824b0$@com> <8E5ACAE05E6B9E44A2903C693A5D4E8A2B587ED1 AT hqemmail02 DOT nvidia DOT com> In-Reply-To: <8E5ACAE05E6B9E44A2903C693A5D4E8A2B587ED1@hqemmail02.nvidia.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT activestate DOT 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 AT nvidia DOT com] > *Sent:* September 5, 2007 10:25 AM > *To:* jand AT activestate DOT 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/