我正在使用 macOS Catalina 并尝试执行一个简单的命令raku -e "use Cro::HTTP::Route"
。我将[1] 19228 abort raku
在 Zsh shell 或Abort trap: 6
Bash shell 中收到一条消息。使用 OpenSSL 模块(如raku -e "use OpenSSL::Stack"
.
> raku -v
This is Rakudo version 2019.11-268-g0e4f8351e built on MoarVM version 2019.11-92-gd7b6855d3 implementing Perl 6.d.
> zef info OpenSSL
OpenSSL:ver<0.1.22>:auth<github:sergot>
> zef info cro
cro:ver<0.8.2>
Run Code Online (Sandbox Code Playgroud) 在我包装子后,签名不会在包装之前接受Capture接受.
sub wr(:$a) {say $a};
my $sig-before = &wr.signature;
say $sig-before; # (:$a)
say %(:a(3)) ~~ $sig-before; # True
&wr.wrap(-> |c {callsame(c)});
my $sig-after = &wr.signature;
say $sig-after; # (:$a)
say %(:a(3)) ~~ $sig-after; # False
say %(:a(3)) ~~ $sig-before; # False
say $sig-before.WHICH, ' ', $sig-after.WHICH; # Signature|140466574255752 Signature|140466574255752
say $sig-before eq $sig-after; # True
say %(:a(3)).Capture ~~ $sig-after; # 'Cannot invoke object with invocation handler in this context'
say $sig-after.ACCEPTS(%(:a(3)).Capture); # 'Cannot invoke object with invocation handler in …
Run Code Online (Sandbox Code Playgroud) 我正在使用 macOS Big Sur 并尝试安装 Raku 模块,例如pakku add App::RaCoCo
. 我会收到一条消息:
Cannot locate native library 'libarchive.13.dylib': dlopen(libarchive.13.dylib, 10): image not found\n
Run Code Online (Sandbox Code Playgroud)\n环境:
\n> raku -v\nWelcome to \xe2\x84\xa2 v2021.09.\nImplementing the \xe2\x84\xa2 programming language v6.d.\nBuilt on MoarVM version 2021.09.\n\nPakku> git show --pretty=reference --no-patch\n09fb5c7 (Add missing space separator between `pakkuopt` in `help` command, 2021-04-17)\n
Run Code Online (Sandbox Code Playgroud)\n