I forgot to mention... I am not using the x86-64 Apple emulation of arm64 and I am unwilling to do so.
The apps, languages and packages I wish to install (or build from source) must be arm64, not x86-64 emulation mode. The emulation is SO .....SLOW..... and the arm64 platform has been out in the field for quite some time, shortly x86-64 Apple will be unsupported, just like RISC and m68k and 6502. Thanks, Ken Wolcott On Thu, Oct 9, 2025 at 3:10 PM Kenneth Wolcott <[email protected]> wrote: > Hi; > > This is my first posting to this mailing list. > > Do Raku modules work under arm64 MacOS? I have some strange issues... > > It's a long story, but I have an arm64 Mac Mini (Tahoe now) where I have > been having problems with most Raku modules that I've tried to install. > > This also happens on a Docker container (arm64, various flavors of > Linux). > > Some packages (very few) install without errors when using zef. > > Most packages fail to install using zef, definitely ones cross-listed > with cpan (perl5 modules). > > I think that many of these packages fail to install due to the fact that > it is non-native Raku code (C libs or C++ libs) which I do have installed > but zef cannot find them. > > I'm using MacPorts as the source of almost everything that Apple doesn't > directly supply with MacOS, but I do sometimes install packages directly > from app web sites and sometimes build from source. > > I did use the Raku IRC once to discuss a problem that I had with > installing the Primesieve Raku binding. The person I was chatting with > agreed that there was problem with versioning of a dependency (another Raku > module) or vice-versa. > > Speaking specifically about Primesieve, I successfully am using the > Perl5 Primesieve binding, so I now that the C/C++ lib is installed so that > the Perl5 binding can see it, but the Raku binding cannot. > > I have tried using Raku from MacPorts, Raku direct install, Raku install > by building from source, Raku via rakubrew and Raku via Docker containers > (several methods) and all of them fail for Primesieve. > > I'm having similar problems with other Raku modules. > > Is it possible that some of the Raku library contributors have never > tested on arm64 MacOS or even considered that arm64 MacOS might be a valid > target arch? > > It's indeed possilbe that I'm doing something stupid or stupidly not > doing something, but it it works for some Raku modules, why doesn't work > for all of them? > > Most of the Raku experimentation (other than REPL tasks such as summing > numbers, trivial stuff) that I'm doing so far is via the Rosetta Code web > site. > > One of the most prolific authors of Raku-based Rosetta Code tasks > scoffed at my request for help regarding Primesieve on Rosetta Code, > thinking, apparently, that I was a numbskull. I probably am a numbskull > :-) > > So, sorry about a very long-winded request for help. I've tried a lot > of things, my results are bewildering/mystifying/baffling. > > At this point, I am temporarily abandoning my move from Perl5 to Raku, > because, at least Perl5 works for me... > > Thanks, > Ken Wolcott >
