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 To: cygwin AT cygwin DOT com From: Lasse Subject: Re: Problem installing CPAN module Date: Wed, 22 Jun 2005 20:17:47 +0200 Lines: 37 Message-ID: References: <55E0A3E94323974F83CFC5AAB96F68B8016245EC AT snnexc03 DOT in DOT ce DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: <55E0A3E94323974F83CFC5AAB96F68B8016245EC@snnexc03.in.ce.com.au> X-IsSubscribed: yes 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/