delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Wed, 5 Jul 2000 21:23:31 -0400 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: Why can't I run perl scripts after cd to /_/d i.e. d: |
Message-ID: | <20000705212331.A17495@cygnus.com> |
Reply-To: | cygwin AT sourceware DOT cygnus DOT com |
Mail-Followup-To: | cygwin AT sourceware DOT cygnus DOT com |
References: | <F614BF868E0DD411A5A700508B957E0038D074 AT MSGBOS679NTS DOT fmr DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2i |
In-Reply-To: | <F614BF868E0DD411A5A700508B957E0038D074@MSGBOS679NTS.fmr.com>; from Steve.Tolkin@fmr.com on Wed, Jul 05, 2000 at 09:18:58PM -0400 |
It certainly sounds like this is not a cygwin version of perl and so it does not understand cygwin paths. cgf On Wed, Jul 05, 2000 at 09:18:58PM -0400, Tolkin, Steve wrote: >The following shows that when I am on d: I cannot run a perl script. >I get the error message "No such file or directory". It seems like it >cannot find the perl interpreter executable. >But running a similar bash script does work. >I changed the value of cygdrive to /_ at one point using mount, and it is >remembered in my registry with >name: cygdrive prefix >data: "/_". >Is this (part of) the problem. >I changed from /cygdrive because that was so tedious to type each time I >need to work on another hard disk. > >1014/_/d/_mysetup> type bash >bash is /usr/bin/bash >1015/_/d/_mysetup> echo > /usr/home/mybin/testbash >1016/_/d/_mysetup> cat > /usr/home/mybin/testbash >#!/usr/bin/bash >echo hello from testbash >1017/_/d/_mysetup> /usr/home/mybin/testbash >hello from testbash >1018/_/d/_mysetup> cat > /usr/home/mybin/testperl >#!/usr/bin/perl >print "hello from testperl\n"; >1019/_/d/_mysetup> /usr/home/mybin/testperl >Can't open perl script "/usr/home/mybin/testperl": No such file or directory >1020/_/d/_mysetup> ls -l /usr/bin/perl >-rwxr-xr-x 1 administ Administ 20480 Mar 24 11:37 /usr/bin/perl* >1021/_/d/_mysetup> ls -l /usr/bin/perl.exe >-rwxr-xr-x 1 administ Administ 20480 Mar 24 11:37 /usr/bin/perl.exe* >1022/_/d/_mysetup> ls -l /usr/bin/bash >-rwxr-xr-x 1 administ Administ 466944 Jun 1 18:50 /usr/bin/bash* >1023/_/d/_mysetup> ls -l /usr/bin/bash.exe >-rwxr-xr-x 1 administ Administ 466944 Jun 1 18:50 /usr/bin/bash.exe* >1024/_/d/_mysetup> mount >Device Directory Type Flags >c:\bin /usr/bin user binmode >c:\lib /usr/lib user binmode >d: /d user textmode >f: /f user textmode >c: / user binmode >e: /e user textmode >1025/_/d/_mysetup> cd / >1026/> /usr/home/mybin/testperl >hello from testperl > >Thanks, >Steve >-- >Steven Tolkin steve DOT tolkin AT fmr DOT com 617-563-0516 >Fidelity Investments 82 Devonshire St. R24D Boston MA 02109 >There is nothing so practical as a good theory. Comments are by me, >not Fidelity Investments, its subsidiaries or affiliates. > >-- >Want to unsubscribe from this list? >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- cgf AT cygnus DOT com Cygnus Solutions, a Red Hat company http://sourceware.cygnus.com/ http://www.redhat.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |