From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12072 invoked by alias); 30 May 2011 09:48:03 -0000 Received: (qmail 12044 invoked by uid 22791); 30 May 2011 09:48:02 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 May 2011 09:47:42 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QQz4Y-0003bk-0S for cygwin@cygwin.com; Mon, 30 May 2011 02:47:42 -0700 Message-ID: <31732007.post@talk.nabble.com> Date: Mon, 30 May 2011 09:48:00 -0000 From: Gaurav Chhabra To: cygwin@cygwin.com Subject: Re: Error when Perl calling shell scipt using Cygwin >>> c:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <31714033.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00442.txt.bz2 Thanks for your reply Reini! I got hold of perlrebase from here: http://cygwin.com/ml/cygwin/2010-02/txt00017.txt Not sure whether this is the latest one. I have Perl separately installed at c:\Perl. I am not sure how to run this. I just copied the prelrebase script and kept it in the Cygwin's bin directory. Then I had to set the 'perl' variable in prelrebase script to 'perl=../../Perl/bin/perl$suff.exe' because my Cygwin is at c:\Cygwin. Now when I ran the script with argument '5.6.1', I get the following error: -------------------------------------------------- user@machine: /cygdrive/c/cygwin/bin $ ./perlrebase.sh 5.6.1 no archlib found for ../../Perl/bin/perl5.6.1.exe -------------------------------------------------- I am not sure what this archlib is? I could not find it defined anywhere in the perlrebase script. Can you please help me with this? Regards, Gaurav -- View this message in context: http://old.nabble.com/Error-when-Perl-calling-shell-scipt-using-Cygwin-%3E%3E%3E-c%3A%5Ccygwin%5Cbin%5Csh.exe%3A-***-fatal-error---couldn%27t-allocate-heap%2C-Win32-error-487-tp31714033p31732007.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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