in reply to How to know if a module is for windows or linux ?

well, look at the error in the cpan output to see more closely which error reports, as wisely suggested.

Anyway some module is not for every platform: when you are browsing CPAN, let's say for Win32::Daemon if you click in the distribution name you can access the Perl/Platform Version Matrix for that module. this can give you an idea before trying the install.

I use StrawberryPerl portable since years and had very few problems with the cpan client: you can try if a particular module gives same problem on both Perls just to be sure that "gcc compiler, nmake etc are just all fine"

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.