delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/16/11:24:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 16 Dec 2002 11:24:37 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dmitry Epstein <mitia AT northwestern DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems downloading and installing the basic package
In-Reply-To: <5.1.0.14.2.20021215171114.02692180@casbah.it.northwestern.edu>
Message-ID: <Pine.GSO.4.44.0212161114470.22125-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sun, 15 Dec 2002, Dmitry Epstein wrote:

> [CDROM installation part snipped]
>
> >This is discouraged, although im not quite sure why, but it can be a
> >pain if you need to un-install.  About the cygdrive prefix this is just
> >default and you can change where and how you access your windows drives
> >by using the `mount' command.  For example typeing this at the bash
> >shell you can mount your C: drive as /sys:
> >
> >   $ mkdir /sys
> >   $ mount -s C:\\ /sys
>
> OK, suppose I installed Cygwin in D:\cygwin.  Can I somehow make D:\ the
> root directory?

The "root directory" is usually the one you installed Cygwin into.  You
could probably play games with mounts, making D:\ your /, and mounting
D:\cygwin\{bin|lib|usr|etc|something else I may have forgotten} under
/{bin|lib|usr|etc|et al}, but it might not be worth the trouble, and if
you keep any perl scripts in those directories, you'd still not see the
correct paths in ActivePerl.

> >Not quite sure what the problem you've got with ActivePerl so you'll
> >need to give the people on the list an insight.
>
> The problem is this: suppose I have a Perl script in a directory somewhere,
> and that directory is in my search path.  If I just type the name of the
> script, the shell will find it, read the shebang line, and try to pass the
> script to Perl.  When it does that it gives Perl the full path to the file,
> which in Cygwin parlance starts with /cygdrive/...  Active Perl, being a
> Windows application, doesn't understand that and says that it can't open
> the file.  I have asked about this before, but no one could suggest
> anything other than installing Cygwin in the root directory of a drive.

Why not use Cygwin perl?  Cygwin comes with a perfectly nice perl 5.8,
which works at least as well as ActiveState's perl.  You could even
associate Cygwin's perl with .pl files in Explorer, to completely replace
ActivePerl.
	Igor

> Thanks,
> Dmitry

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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