5

Been having major problems today trying to get https://github.com/finanalyst/raku-pod-render installed.

One of the big problems is tests failing that use ssl encryption. See:

https://github.com/grondilu/libdigest-raku/issues/25

https://github.com/jnthn/p6-io-socket-async-ssl/issues/69

And then there's this older issue I submitted back in March: https://github.com/jnthn/p6-ssh-libssh/issues/18

So that's three different modules so far I've had trouble installing on the mac. I've got openssl@1.1 and openssl@3 brew packages installed on my machine.

Any suggestions from other mac users for how I might get this straightened out for good?

StevieD
  • 6,925
  • 2
  • 25
  • 45
  • 3
    Are you aware of [CAVEATS](https://github.com/rakudo/rakudo/blob/master/CAVEATS.md#dynamic-libraries) ? – Elizabeth Mattijsen Jun 28 '22 at 19:54
  • No. Interesting. I'll check it out. – StevieD Jun 28 '22 at 20:42
  • I don't think it really needs it. Seem to remember there was an issue raised. Why would a Pod rendering library need SSL? – jjmerelo Jun 29 '22 at 05:57
  • Anything that needs to open a arbitrary URL needs SSL, so it's very easy for any deps to pull in this requirement. – Coke Jun 29 '22 at 14:58
  • Are you subscribed to the mailing list? https://www.nntp.perl.org/group/perl.perl6.users/2022/06/msg10567.html – jubilatious1 Jun 29 '22 at 15:37
  • There have been a few tickets opened here for raku/ssl/macos problems: https://github.com/jnthn/p6-io-socket-async-ssl/issues?q=is%3Aissue+is%3Aopen+macos – Coke Jun 29 '22 at 15:42
  • @jjmerelo MacOS issue with SSL and Raku's LWP-Simple community module: https://github.com/raku-community-modules/LWP-Simple. – jubilatious1 Jun 29 '22 at 16:09

1 Answers1

0

While I love macOS for many reasons, I think that it has wondered off the "true north" it used to point for *nix development.

This is true for Intel CPUs and even more so for ARM M CPUs.

So I recommend Docker on ubuntu on vftools on mac:

https://medium.com/carvago-development/my-docker-on-macos-part-1-setup-ubuntu-virtual-machine-both-intel-and-apple-silicon-cpu-5d886af0ebba

So now I can start my ubuntu-vm with docker in the morning and reach for something like:

docker pull --platform linux/arm64 rakudo-star

docker run -it --entrypoint sh -l -c rakudo-star

raku
librasteve
  • 6,832
  • 8
  • 30
  • I think the problem is just a lot of hard core developers doing low level stuff are going to be using Linux, not macs. – StevieD Jun 30 '22 at 22:33
  • yep - so my solution is to just run ubuntu in a vftools vm on my mac YMMV – librasteve Jul 01 '22 at 19:12
  • 2
    However, most people expect a programming language to be cross-platform out of the box. Some effort should be placed into making it so. – StevieD Jul 01 '22 at 23:01