From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25451 invoked by alias); 30 May 2011 13:57:23 -0000 Received: (qmail 25426 invoked by uid 22791); 30 May 2011 13:57:19 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_20,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 May 2011 13:57:04 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QR2xr-00025B-FI for cygwin@cygwin.com; Mon, 30 May 2011 15:57:03 +0200 Received: from 68.65.76.163.static-ip.telepacific.net ([68.65.76.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 15:57:03 +0200 Received: from Andrew by 68.65.76.163.static-ip.telepacific.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 15:57:03 +0200 To: cygwin@cygwin.com From: Andrew DeFaria Subject: Re: Error when Perl calling shell scipt using Cygwin >>> c:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487 Date: Mon, 30 May 2011 13:57:00 -0000 Message-ID: References: <31714033.post@talk.nabble.com> <31732007.post@talk.nabble.com> <31733309.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: <31733309.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/msg00446.txt.bz2 On 05/30/2011 06:26 AM, Gaurav Chhabra wrote: >> I have Perl separately installed at c:\Perl. I am not sure how to run this. >>>> This will not work. >>>> perlrebase works only for cygwin perls, not for strawberry or >>>> activestate perls. > That's what I was thinking. I was sure that I am doing something wrong, and > it must have something to do with Perl for Cygwin :) Thanks for the info! > >> 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: >>>> Do you really want to rebase your activestate perl 5.6.1? >>>> I told you to run perlrebase, not perlrebase 5.6.1 > As you have said below that my Perl will have a different forking mechanism, > I will/should not go for perlrebase. > >> -------------------------------------------------- >> 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? >>>> See perl -V:archlib > Thanks! > > My 5.6.1 *cygwin* perl has: > $ perl5.6.1 -V:archlib > archlib='/usr/lib/perl5/5.6.1/cygwin-debug'; > > My ActiveState perl has >> perl -V:archlib > archlib='C:\Perl\lib'; > >>>> But this should not be rebased by cygwin as it has a different fork > strategy than cygwin. > > So now the question is what should I do to resolve the issue I am facing? > Since we use a separate Perl (Active State), your perlrbase will not work. I > am stuck. :( Any suggestions? > > > Regards, > Gaurav How about contacting ActiveState, the makers of the Perl you are using? Either that or ditch the ActiveState and use Cygwin's Perl. -- Andrew DeFaria What's another word for synonym? -- 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