This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Path trouble w. Perl using B20.1
- To: "Karl L." <kol at lillevold dot com>
- Subject: Re: Path trouble w. Perl using B20.1
- From: John Fortin <fortinj at ibm dot net>
- Date: Wed, 01 Dec 1999 16:05:43 -0500
- CC: cygwin at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.9912011144001.2324-100000@drizzle.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@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com