in reply to Re^5: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"
in thread Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"
Next I open up lib/ExtUtils/MM_Win32.pm and I find in it:DIRFILESEP = \\ DFSEP = $(DIRFILESEP)
So I change the dmake setting (from 4 backslashes to 2) so that the sub now reads: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') ? '\\\\' : '\\'; }
Now ... have another go at building IO-React-1.03 (having first run 'dmake realclean'):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') ? '\\' : '\\'; }
Sure enough, when I look at the generated Makefile, I now find it's the same as yours wrt DIRFILESEP:C:\sisyphusion\IO-React-1.03>perl makefile.PL Checking if your kit is complete... Looks good Writing Makefile for IO::React Writing MYMETA.yml and MYMETA.json C:\sisyphusion\IO-React-1.03>dmake dmake: Error: -- `C:\_32\strawberry514\perl\libConfig.pm' not found, +and can't be made
Your generated Makefile is wrong ... plain and simple ... you need to remedy whatever it is that keeps generating this fucked Makefile.DIRFILESEP = \ DFSEP = $(DIRFILESEP)
That should do it.sub init_DIRFILESEP { return '\\\\'; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"
by jffry (Hermit) on Feb 17, 2012 at 17:43 UTC | |
by Anonymous Monk on Feb 17, 2012 at 20:03 UTC | |
by jffry (Hermit) on Feb 17, 2012 at 20:59 UTC | |
by Eliya (Vicar) on Feb 17, 2012 at 23:39 UTC |