Max Cortiana wrote:
> Hi guys,
> 
> I got a problem using makemaker on a windows machine. Makemaker gor
> confused while looking for perl. I have a space in the full path:
> c:\program files\perl\bin\perl.exe
> 
> I solved the problem modifing the "sub find_perl" function.
> The line involved is:
> my $version_check = qq{$abs -le "require $ver; print qq{VER_OK}"};
> which now looks like
> my $version_check = qq{"$abs" -le "require $ver; print qq{VER_OK}"};
> 
> Quotes solved my problem, but I don't know if there could be any issue
> on other platforms.
> Btw that's strange, since I've read a similar bug was solved years ago!!

Having a space in the path to Perl, and anything else, is likely to cause
problems all over MakeMaker.  I'm surprised it worked with just that
modification.  Have you tried compiling anything?

I'd recommend just moving Perl to C:\Perl or something.  ActiveState did that
long ago.

Reply via email to