delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/27/09:53:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: "Gerrit P. Haase" <gerrit DOT haase AT gmail DOT com>
Date: Sat, 27 Nov 2010 15:52:07 +0100
Message-ID: <AANLkTin8FJbdyaNSJk4cf1J-f-zAkHewbUPakyzSKEqK@mail.gmail.com>
Subject: Perl-5.10.README: outdated information
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hello Reini,

the Perl README states:
===
- The CPAN repository and build directory *must* reside in a path
  mounted in binmode:

    mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
    mount -u -b -f c:/cygwin/home/username/.cpan /home/username/.cpan

  where username is your home path and cygwin / windows username.
  After mounting like this it should work with only few warnings or
  completely without problems, depending on your environment settings
  for the CYGWIN variable.
===

However there were changes, obviously the mount utility changed:

$ mount -s -b -f c:/cygwin/home/Gerrit/.cpan /home/Gerrit/.cpan
mount: unknown option -- s
Usage: mount [OPTION] [<win32path> <posixpath>]
       mount -a
       mount <posixpath>
Display information about mounted filesystems, or mount a filesystem

  -a, --all                     mount all filesystems mentioned in fstab
  -c, --change-cygdrive-prefix  change the cygdrive path prefix to <posixpath>
  -f, --force                   force mount, don't warn about missing mount
                                point directories
  -h, --help                    output usage information and exit
  -m, --mount-entries           write fstab entries to replicate mount points
                                and cygdrive prefixes
  -o, --options X[,X...]        specify mount options
  -p, --show-cygdrive-prefix    show user and/or system cygdrive path prefix
  -v, --version                 output version information and exit

Valid options are:
acl,auto,binary,bind,cygexec,dos,exec,ihash,noacl,nosuid,notexec,nouser
,override,posix=0,posix=1,text,user


I just noticed this, no idea if it is still needed, and which command
to issue to ensure the binmode option for the CPAN path.

regards,
Gerrit

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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