delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/01/14:46:42

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
X-Authentication-Warning: drizzle.com: kol owned process doing -bs
Date: Wed, 1 Dec 1999 11:45:22 -0800 (PST)
From: "Karl L." <kol AT lillevold DOT com>
X-Sender: kol AT drizzle DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Path trouble w. Perl using B20.1
Message-ID: <Pine.LNX.4.10.9912011144001.2324-100000@drizzle.com>
MIME-Version: 1.0

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

- Raw text -


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