Mail Archives: cygwin/2007/07/05/06:31:58
Hi,
I'm trying to build a very small (and simplistic) perl module that I've
created (Foo-0.01):
--------------------------------------------
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
$ perl Makefile.PL
Writing Makefile for Foo
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
$ make test
cp Foo.pm blib/lib/Foo.pm
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/test....t/test.t is not readable
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
--------------------------------------------
Sure enough, when I look at the permissions associated with t/test.t I find:
--------------------------------------------
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01/t
$ ls -l
total 1
----------+ 1 Rob None 46 Jul 5 13:37 test.t
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01/t
--------------------------------------------
But the permissions associated with these files is *not* something with
which I have had to concern myself on previous Cygwin installations. I'm
wondering why it's suddenly an issue.
And I find the following behaviour:
--------------------------------------------
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
$ /usr/bin/perl.exe -Mblib t/test.t
1..1
ok 1
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
--------------------------------------------
All of a sudden, the permissions (or lack thereof) are no longer an issue !!
So let's just check that command that failed before, by running a
copy'n'paste of it:
--------------------------------------------
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
$ /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/test....t/test.t is not readable
FAILED--1 test script could be run, alas--no output ever seen
Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01
--------------------------------------------
Bah!!! ... it has become a problem again. For one perl command there's a
problem, but for another perl command there's no problem. Is it something
that ExtUtils::Command::MM is doing ?
Any help appreciated.
Cheers,
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -