lizmat / App-Rak

21st century grep / find / ack / ag / rg on steroids
https://raku.land/zef:lizmat/App::Rak
Artistic License 2.0
153 stars 8 forks source link

Can't install on windows #14

Closed coke closed 2 years ago

coke commented 2 years ago

On windows, I'm having trouble installing App::Rak because of the pinned dependency on String::Utils:

$ raku --version
Welcome to Rakudo™ v2022.04-42-ge9de06b85e.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.04.

$ sw_vers.bat
C:\dev\Main.wiki>systeminfo   | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19044 N/A Build 19044

$ zef install App::Rak
===> Searching for: App::Rak
Cannot create a Zef::Distribution from non-existent path: C:\Users\wcoleda\AppData\Local\Temp/.zef\00ce33c0aa6224e70d30fb1fcdf29162fb232529.tar.gz\String-Utils-0.0.8/META6.json
===> Searching for missing dependencies: CLI::Help:ver<0.0.4>:auth<zef:lizmat>, String::Utils:ver<0.0.8>:auth<zef:lizmat>, META::constants:ver<0.0.2>:auth<zef:lizmat>

$ zef install 'String::Utils:ver<0.0.8>'
===> Searching for: String::Utils:ver<0.0.8>
Cannot create a Zef::Distribution from non-existent path: C:\Users\wcoleda\AppData\Local\Temp/.zef\00ce33c0aa6224e70d30fb1fcdf29162fb232529.tar.gz\String-Utils-0.0.8/META6.json

$ zef info String::Utils
- Info for: String::Utils
- Identity: String::Utils:ver<0.0.12>:auth<zef:lizmat>
- Recommended By: Zef::Repository::LocalCache
- Installed: Yes
Description:     Provide some optimized string functions
License:         Artistic-2.0
Source-url:      https://github.com/lizmat/String-Utils.git
Provides: 1 modules
Depends: 0 items

I was able to install version 0.0.12 of String::Utils without issue, so if that dependency were updated, I could install App::Rak

coke commented 2 years ago

This also fails:

$ zef look 'String::Utils:ver<0.0.8>'
===> Searching for: String::Utils:ver<0.0.8>
Cannot create a Zef::Distribution from non-existent path: C:\Users\wcoleda\AppData\Local\Temp/.zef\00ce33c0aa6224e70d30fb1fcdf29162fb232529.tar.gz\String-Utils-0.0.8/META6.json

This commands works fine on a non-windows box.

coke commented 2 years ago

This particular issue is already fixed on master; the S:U dep is bumped to 0.0.10, which is sufficient.