delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/25/03:02:19

X-Spam-Check-By: sourceware.org
Message-ID: <1167033681.458f8551e4871@easymail-old.hol.gr>
Date: Mon, 25 Dec 2006 10:01:21 +0200
From: moka AT hol DOT gr
To: cygwin AT cygwin DOT com
Subject: Re: perl script dies with The instruction at
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Virus-Status: Clean
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

>How are you starting your script?  Can you put: print "$^O: $]\n"
From the DOS prompt in the directory the script is in
This says MSWIN32 Perl 5.008007
>or something at the beginning and verify for sure which perl you are using?
Well, I unistalled all of cygwin and still got the same problem, so it appears
not
 to be a cygwin issue, though I did not ru inti it the first time
I was running the scripts without cygwin installed.
So I wonder if that could be a memory issue, though it does not look like it
and
 I thought I should have a different diagnostic. Other than that I do not know
ehere to look

>If you are accidentally running cygwin's perl and it's loading activestate
>modules, uninstalling the perl packages should help.

If you are running activestate's perl and it is finding some cygwin perl
modules, that would cause a problem also.  Adding something like:
  BEGIN { unshift @INC, sub {
    print join ":", "loading", @_, caller, "\n";
    return;
  }; }
at the beginning of your script, that may help isolate the problem.

This reports that it is loading abunch of modules, like strict etc
 and they are all where they should be  c:\perl\....




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

- Raw text -


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