This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygpath 1.7 wrong

On Jun 13 10:41, Christopher Faylor wrote:
> On Fri, Jun 13, 2008 at 04:30:51PM +0200, Corinna Vinschen wrote:
> >On Jun 13 15:03, Reini Urban wrote:
> >> 1.5$ perl -e'print Cygwin::mount_flags("/cygdrive")'
> >> binmode,cygdrive,/cygdrive
> >> 1.7$ perl -e'print Cygwin::mount_flags("/cygdrive")'
> >> binmode,cygdrive,/cygdrive/
> >
> >Doesn't work for me:
> >
> >  1.7$ perl -e'print Cygwin::mount_flags("/cygdrive")'
> >  Undefined subroutine &Cygwin::mount_flags called at -e line 1.
> >
> >How does a standalone example look like?
> Don't you need a -MCygwin on the perl command line?

Doesn't work for me either:

  Can't locate in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin
  /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin
  /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8
  /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8
  /usr/lib/perl5/vendor_perl/5.8 .).

I noticed that is in /usr/lib/perl5/5.8/File/Spec.  I added
this path to the environment variable PERL5LIB, but it didn't help

  Undefined subroutine &Cygwin::mount_flags called at -e line 1.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]