Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difficulties installing Cro: "Failed to find dependencies: CBOR::Simple"

Tags:

raku

cro

I'm hoping to try out the Cro library in Raku: https://cro.services/docs

However, when I try to install it using zef, I get this output:

zef install Cro::HTTP                                                                                                                                      1 ⨯
===> Searching for: Cro::HTTP
===> Searching for missing dependencies: IO::Socket::Async::SSL, OO::Monitors, IO::Path::ChildSecure, Base64, HTTP::HPACK, Cro::Core:ver<0.8.6>, Cro::TLS:ver<0.8.6>, JSON::Fast, Crypt::Random, JSON::JWT, DateTime::Parse, Log::Timeline
===> Searching for missing dependencies: MIME::Base64, OpenSSL, Digest::HMAC, if, CBOR::Simple
===> Failed to find dependencies: CBOR::Simple
Failed to resolve some missing dependencies

Same results on Ubuntu (WSL2) and Kali linux.

like image 464
jsaigle Avatar asked Nov 04 '21 15:11

jsaigle


1 Answers

I asked around on GitHub and IRC. The solution was to download and use rakudo-pkg to get a newer version of zef. The one that can be installed via apt is too old.

like image 55
jsaigle Avatar answered Nov 15 '22 13:11

jsaigle