in reply to Re^3: Problem installing packages from cpan on windows 7
in thread Problem installing packages from cpan on windows 7

I have tried it using Strawberry perl (includes dmake) and with Active state perl with no luck. Actually on my system i am having MKSNT kit installed. So i removed it from my path variable and tried following setup: 1. kept only Strawberry perl in my PATH, So it included dmake in it. Now when i build Makefile, issue is PERL and FULLPERL are having perl path with single "\". So it gave error on building it using dmake. So i modified makefile to modify its path to have "\\". Now when i tried to run dmake, it appeared to be in hanging state. Can some please point me on how to fix this backslash issue.
sub init_DIRFILESEP { my($self) = shift; # The ^ makes sure its not interpreted as an escape in nmake $self->{DIRFILESEP} = $self->is_make_type('nmake') ? '^\\' : $self->is_make_type('dmake') ? '\\\\' : '\\'; }
perl -V:make dmake

Replies are listed 'Best First'.
Re^5: Problem installing packages from cpan on windows 7
by Anonymous Monk on Mar 01, 2012 at 10:35 UTC

    I have tried it using Strawberry perl ...

    ??? Stop editing makefiles and deal with one thing at a time. You're calling the wrong make, ActiveState with mingw uses dmake. call dmake. forget about DFSEP