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


in reply to Win32API under Cygwin not installing

Well first look at this and I would say did you try and installed using the -force option? That will install the module and ignore the failed tests. In many cases this will work.

I have seen this error a lot and forced the install and the module has worked fine.

I am confused? You put Cygwin on your box just to do Perl developement. If that is true is there a reason that you just didn't install Activestate Perl for Win32. Its very slick and the module updates flow like butter at a chik-fil-a store.

ActiveState Perl

Is there is some other reason you are using Cygwin?

Cheers -

Jeffery
  • Comment on Re: Win32API under Cygwin not installing

Replies are listed 'Best First'.
Re^2: Win32API under Cygwin not installing
by Xenofur (Monk) on Nov 12, 2006 at 14:32 UTC
    I usually don't use force options, unless i am fully aware of the implications. Will try this though and see what happens. My thanks. :)

    Also, yes, i did try ActiveState Perl, but got turned away from it for two reasons:
    1. I can't use CPAN::Mini with it, as it relies on the pre-compiled PPM packages. This is a distinct disadvantage, as i am often without internet.
    2. The development i do will be used on linux-based web-servers, as such i would rather execute the scripts in a similar environment, instead of having something bite me in the backside later on.
      The development i do will be used on linux-based web-servers, as such i would rather execute the scripts in a similar environment, instead of having something bite me in the backside later on.

      If you have the disk space to spare I would have thought you'd be better off installing Linux and dual-booting your PC or perhaps try a live distro like Knoppix to develop under.

      Just a thought.

      JohnGG

      I can't use CPAN::Mini with it, as it relies on the pre-compiled PPM packages

      With either a Microsoft compiler, or the freely available MinGW compiler (and the freely available dmake) you can build modules the same way on ActiveState perl as you do on Linux. Although PPM is the probably the more common route taken, it's not true that ActiveState perl is reliant upon PPM.

      Not saying you shouldn't use Cygwin's perl (though, generally, I wouldn't recommend it) ... just having a bit of a nitpick over that first reason you gave :-)

      Cheers,
      Rob