This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
disbot3 | <stu002> Can anyone advise on using Rakudo with a current macOS: > rakudo Welcome to Rakudo™ Star v2025.05. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2025.05. I ran into a problem while trying to set up Readline: On macOS Raku::Readline requires installing Readline via " ~ "Homebrew or MacPorts Falling back to Linenoise (if present) No line editor found. You may want to exit | 01:05 | |
first and zef install Readline, zef install Linenoise, or zef install Terminal::LineEditor or install rlwrap for a line editor before entering the REPL again. To exit type 'exit' or '^D' [0] > ⏎ > brew list -1 | grep read readline > zef install Readline ===> Searching for: Readline ===> Staging Readline:ver<0.1.8>:auth<zef:clarkema> ===SORRY!=== On macOS Raku::Readline requires installing Readline via " ~ | |||
"Homebrew or MacPorts > zef install Linenoise ===> Searching for: Linenoise ===> Building: Linenoise:ver<0.1.2>:auth<zef:raku-community-modules> [Linenoise] ld: warning: search path '/opt/homebrew/Cellar/mimalloc/3.0.3/lib' not found [Linenoise] ld: library 'mimalloc' not found [Linenoise] clang: error: linker command failed with exit code 1 (use -v to see invocation) [Linenoise] make: *** | |||
[/var/folders/hb/l7hw72rs3c7862_h260b9mtr0000gn/T/.zef.1752627840.73111/182028fca2d81184bf6c6858d76c21be90e794b4.tar.gz/Linenoise-0.1.2/resources/libraries/liblinenoise.dylib] Error 1 ===> Building [FAIL]: Linenoise:ver<0.1.2>:auth<zef:raku-community-modules> Aborting due to build failure: Linenoise:ver<0.1.2>:auth<zef:raku-community-modules> (use --force-build to override) Is using rlwrap the best way to go on macOS? | |||
<stu002> rlwrap rakudo Welcome to Rakudo™ Star v2025.05. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2025.05. No line editor found. You may want to exit first and zef install Readline, zef install Linenoise, or zef install Terminal::LineEditor or install rlwrap for a line editor before entering the REPL again. To exit type 'exit' or '^D' [0] > | 01:06 | ||
08:10
dakkar joined
|
|||
disbot3 | <holmdunc> IIRC, if you install rakudo-star instead of rakudo from Homebrew, this stuff gets taken care of. So no I don't think rlwrap is the best option | 08:19 | |
<stu002> I did install that: ❭ brew list -1 | grep rakudo rakudo-star | 08:34 | ||
<librasteve> @stu002 sorry to hear you are having this issue, I use rakubrew on macOS (Apple silicon) all the time and it works for me rakubrew.org/?platform=macos | 10:10 | ||
<librasteve> IIRC I usually need to go zef install Linenoise also on a clean mac account which may need brew install mimalloc to fix the issue you note | 10:12 | ||
<jubilatious1_98524> Maybe try brew install mimalloc first? formulae.brew.sh/formula/mimalloc | 10:22 | ||
<jubilatious1_98524> I've opted for Linenoise on MacOS. Historically, there were problems with rakudo seeing the correct Readline dylib (hopefully fixed by now). You could try installing Linenoise from source: github.com/antirez/linenoise | 10:37 | ||
15:12
swaggboi left
15:59
deoac joined
16:09
human-blip left
16:11
human-blip joined
16:36
dakkar left
16:54
human-blip left
16:56
human-blip joined
17:08
human-blip left
17:10
human-blip joined
17:18
human-blip left
17:21
human-blip joined
18:40
habere-et-disper joined
19:10
habere-et-disper left,
habere-et-disper joined
19:23
habere-et-disper left
19:35
swaggboi joined
|
|||
disbot3 | <stu002> Thanks all will try those suggestions | 23:33 |