Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <55E0A3E94323974F83CFC5AAB96F68B8016249B0@snnexc03.in.ce.com.au> From: Sonam Chauhan To: cygwin AT cygwin DOT com Subject: RE: Problem installing CPAN module Date: Fri, 24 Jun 2005 11:49:35 +1000 MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes Thanks a lot Lasse - your PID_ZOMBIE -> PID_UNUSED rename trick worked a treat. > > At that time, cygcheck showed the core 'cygwin' version as 1.5.16-1. The > > 'cygwin' version is now 1.5.17-1. The versions of Cygwin Perl (5.8.6-4) > > and CPAN Proc::ProcessTable version (0.39) have not changed. > > > > Any thought on what the problem might be? > > It seems the problem with Proc::ProcessTable picking up the wrong PID > (i.e. Win PID instead of Cygwin PID) is still around... I'm not really > familiar with cygwin's internals so I'm not sure what to do about that... Actually I put down those versions numbers attempting to narrow down the cause of PID_ZOMBIE problem. Chris suggested a workaround to the Win PID/Cygwin PID problem - I recorded this in the bugs I logged in both the CPAN and SourceForge bug lists (not sure where the maintenance for this module is taking place): http://rt.cpan.org/NoAuth/Bug.html?id=12840 http://sourceforge.net/tracker/index.php?func=detail&aid=1222359&group_id=81 217&atid=562305 In case someone else finds it useful, I had hit a problem with calling Proc::Killfam in Perl - it died with a "can't stat /dev" error on Cygwin. The following script by Igor Pechtchanski fixed the problem. > http://www.cygwin.com/ml/cygwin/2004-03/msg01421.html Thanks Igor! Cheers, Sonam -----Original Message----- From: Lasse [mailto:lasse AT yrk DOT dk] Sent: Thursday, 23 June 2005 4:18 AM To: cygwin AT cygwin DOT com Subject: Re: Problem installing CPAN module Sonam Chauhan wrote: > Hi - While doing a fresh install of Cygwin, I have run into errors > installing a CPAN Perl module that worked last month. The module is > Proc::ProcessTable. It now reports a "`PID_ZOMBIE' undeclared" error message > during compilation. The relevant snippet is below. Hmm... This rings a bell... *digging through old CPAN build cache* Yup, here it is... Appearantly the cygwin.h include file changed at some point and the PID_ZOMBIE definition disappeared. Seems like the PID_UNUSED definition replaced it though. At least it has the same value. So, I just replaced PID_ZOMBIE with PID_UNUSED in Proc::ProcessTable's os/cygwin.c and voila! It builds... Whether that's the correct definition to be used there, I have no idea but it seems to work fine... I actually thought I had submitted a patch for this but I must have forgotten... > Back in May, I reported a different problem with this module: > http://www.mail-archive.com/cygwin AT cygwin DOT com/msg54579.html > At that time, cygcheck showed the core 'cygwin' version as 1.5.16-1. The > 'cygwin' version is now 1.5.17-1. The versions of Cygwin Perl (5.8.6-4) and > CPAN Proc::ProcessTable version (0.39) have not changed. > > Any thought on what the problem might be? It seems the problem with Proc::ProcessTable picking up the wrong PID (i.e. Win PID instead of Cygwin PID) is still around... I'm not really familiar with cygwin's internals so I'm not sure what to do about that... But at least it builds now.. ;-) -- /Lasse -- 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/ -- 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/