in reply to Re^6: how to install perlmodules in windowsXP
in thread how to install perlmodules in windowsXP
Change the code so that it is as above, and see if that fixes things. (Remove the existing Makefile and start with 'perl Makefile.PL' again.) The fact that you have '^\' leads me to believe that ActivePerl is probably finding 'nmake' - and writing a Makefile that is compatible with 'nmake', not 'dmake'. ActivePerl will accept either - it will wrtite a Makefile suited to the one that it finds first when searching the path environment variable. Both 'nmake' and 'dmake' should work fine with the MinGW compiler on ActiveState perl, so it shouldn't really matter which is found first. (As I've mentioned elsewhere, my personal preference is 'dmake' - but feel free to stick with 'nmake' if you like.) But if ActivePerl has written a Makefile to be used with 'nmake' then you can't build using 'dmake' - and if the Makefile has been written for use with 'dmake' then you can't use 'nmake'.sub init_DIRFILESEP { my($self) = shift; # The ^ makes sure its not interpreted as an escape in nmake $self->{DIRFILESEP} = $NMAKE ? '^\\' : $DMAKE ? '\\\\' : '\\'; }
That will tell you which 'make' utility you need to use.perl -V:make
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: how to install perlmodules in windowsXP
by veeruch (Sexton) on Mar 07, 2007 at 05:04 UTC | |
by syphilis (Archbishop) on Mar 07, 2007 at 05:20 UTC | |
by veeruch (Sexton) on Mar 07, 2007 at 06:43 UTC | |
by syphilis (Archbishop) on Mar 07, 2007 at 09:11 UTC | |
by veeruch (Sexton) on Mar 08, 2007 at 05:29 UTC | |
|