tadzik / rakudobrew

Perl 6 installation manager
MIT License
185 stars 42 forks source link

Windows CMD.exe installation failure #77

Open dnmfarrell opened 8 years ago

dnmfarrell commented 8 years ago

SET PATH "%USERPROFILE%\rakudobrew\bin;%PATH%" Does not set the path unless an equals sign is present: SET PATH="%USERPROFILE%\rakudobrew\bin;%PATH%"

The problem with the CMD.exe instructions is that if you manipulate the PATH in the current session, the shell still cannot see the rakudobrew binary, as the shell loads PATH into memory at process startup and it is not update-able thereafter. (even if you start a new sub shell with start cmd).

So what you need to do is this:

> SETX PATH "%PATH%;%USERPROFILE%\rakudobrew\bin"

Quit the shell, start a new cmd.exe

Now rakudobrew will work

>rakudobrew build moar

dnmfarrell commented 8 years ago

Hmm one other problem - even though rakudobrew "works" it won't install anything. It tries to run make which is not available on Windows. If the user has installed Strawberry Perl, they'll have dmake. Could rakudobrew use that instead?