delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/01/16:06:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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
Message-ID: <38458DA7.6819109D@ibm.net>
Date: Wed, 01 Dec 1999 16:05:43 -0500
From: John Fortin <fortinj AT ibm DOT net>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "Karl L." <kol AT lillevold DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Path trouble w. Perl using B20.1
References: <Pine DOT LNX DOT 4 DOT 10 DOT 9912011144001 DOT 2324-100000 AT drizzle DOT com>

It looks to me that your perl executable doesn't recognize cygwin mounts.  I bet it is looking for d:/kol/perl/perltest and not c:/kol/perl/perltest.  '/' is
probably in relation to the current drive 'd:'.

There is a cygwin port of perl available which should work properly..

John Fortin

"Karl L." wrote:

> Path trouble w. Perl using B20.1
> X-Mailer: VM 6.74 under Emacs 19.34.6
>
> Hi there,
>
> I am trying to start using the CygWin user tools as my new command
> line environment on Windows NT 4.0, but I am having severe trouble
> getting simple access to my perl scripts. They all work find when I
> run them from the C: drive, which is mounted on /, but whenever I try
> to run them from any other drives (mounted to /d, /e etc) it
> fails. See below for a simple test case and system data.
>
> Any advice?
>
> klillevold:~> perltest
> OK!
> klillevold:~> cd /d
> klillevold:/d> perltest
> Can't open perl script "/kol/perl/perltest": No such file or directory
> klillevold:~> ls -l /kol/perl/perltest
> -rwxr-xr-x   1 0        everyone       36 Dec  1 11:15 /kol/perl/perltest*
> klillevold:/d> perl /kol/perl/perltest
> Can't open perl script "/kol/perl/perltest": No such file or directory
> klillevold:/d> perl c:/kol/perl/perltest
> OK!
>
> /usr/bin/perl.exe is a symbolic link to /Misc/perl/bin/perl.exe
>
> klillevold:~> env
> [snip]
> HOME=/kol
> PATH=/cygnus/CYGWIN~1/H-I586~1/bin:/WINNT/system32:/WINNT:/kol/devbin:/kol/dosbin:/gnu/emacs-19.34/bin:/kol/perl:/bldtools:/Python:/bldtools/bin:/Misc/Perl/bin:
>
> perltest:
> #!/usr/bin/perl
> print "OK!\n";
>
> Mount table:
> Device           Directory           Type        Flags
> g:               /g                  native      text!=binary
> f:               /f                  native      text!=binary
> e:               /e                  native      text!=binary
> d:               /d                  native      text!=binary
> C:               /                   native      text!=binary
>
> perl version:
> Binary build 522 provided by ActiveState Tool Corp.
> http://www.ActiveState.com
> Built 09:52:28 Nov  2 1999
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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