delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/30/05:48:09

X-Recipient: archive-cygwin AT delorie DOT com
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
Message-ID: <31732007.post@talk.nabble.com>
Date: Mon, 30 May 2011 02:47:42 -0700 (PDT)
From: Gaurav Chhabra <messagegc AT gmail DOT com>
To: cygwin AT cygwin DOT 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: <BANLkTikNzga1gX6JGKfwwTYGYu9tgsxaUg@mail.gmail.com>
MIME-Version: 1.0
References: <31714033 DOT post AT talk DOT nabble DOT com> <BANLkTikNzga1gX6JGKfwwTYGYu9tgsxaUg AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019