http://www.perlmonks.org?node_id=1013458


in reply to Re^3: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??
in thread Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??

Two weeks and two computer crashes later (on my other computer), here i am. My reasons for using Windows have been re-assessed, and i will simply stop and go back to Linux.

I have made a bit more effort to install Devel::Pragma though, in case it will help someone with the same problem.

First, gendef was not installed on my computer and i wasn't told during B::Hooks::OP::Annotation installation. Whose reponsibility was it to tell me? Can i/should i send a bug report somewhere?

So, i installed it and did what you said. Now the "libAnnotation.a bug" is fixed! Thank you!

But i encounter a new obstacle: chmod doesn't always work in Cygwin. It is explained here, as well as a way to fix it: http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod.

But for people like me who don't know these technicalities, there are 3-4 pages documentation that you have to read, if you want to fix chmod. I just don't have the time now, as i'm going back to Linux. I think that this kind of information should be included in this page: http://search.cpan.org/~rjbs/perl-5.16.2/README.cygwin
I have sent a draft paragraph and send it to this page's authors.

  • Comment on Re^4: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??

Replies are listed 'Best First'.
Re^5: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??
by rpetrelli (Novice) on Apr 13, 2013 at 05:57 UTC

    Thank you so much for this!! After reading your post, I finally able to install Method::Signatures (this is on cygwin's perl 5.14.2)

      Wow, i'm really really glad it helped someone, thanks for writing it here! It took my several days and i didn't even make it to the end.

      I'm back under Linux and it's so comfortable to have most CPAN modules install seamlessly :-)

        Ugh, tell me about it. After trying out Method::Signatures on my Linux partition (like you said, the installation was seamless), I just can't go back to the old way of unpacking/validating arguments, which is quite problematic since I also use Windows and OSX. Installing it on cygwin turns out to be the hardest of them all.

        Anyway, as a way of saying thanks, if you are a perltidy user you should check out Perl::Tidy::Sweetened which understands the method and func keywords exported by Method::Signatures.