New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zef broken by Rakudo removing "backwards compatibility" in Distribution #254
Comments
Great. This means zef is stuck using this same janky faux distribution classes for the foreseeable future that have to dance around the rakudo code in question. |
I'm still getting this error when I attempt to install Raku using the instructions found here: https://www.raku.org/downloads Was this issue closed because a fix was made in Zef and/or Perl? When a potential user gets errors building the official package using instructions from the official site, he's likely to conclude the language isn't ready for prime time, and probably isn't going to invest much time trying to figure it out. Perl 6 is an exciting language, but it has a serious problem with market share right now, and stuff like this is likely to exacerbate the problem. I can't imagine I'm the only potential user who has encountered this issue... Here's the error I get attempting to install zef...
And when I attempt to run zef...
|
Sadly (for you) this is user error. That error is only possible if the rakudo running zef is prior to 2019. Note the different paths in the two code blocks you posted:
In other words -- you seemingly have an old version of perl6 installed or an old version of zef. |
I removed all other versions of perl6 from my system before attempting to install. As you can see from the following find command, all the "perl6" regular files on my system were placed there by the failed installation (for which install --prefix was set to ~/rakudo.)
|
First, lets note 8a3536a which is 2 years old. So a zef older than 2 years old must be running on a rakudo 2019+. Thing is, whats in your PATH doesn't matter in quite the way you think. Yes, it uses the
I would guess In my code block above this might happen with the first entry, which isn't specific to the current rakudo installation. |
Retried after removing ~/.perl6. This time, I seem to have a working perl6 and zef. So yes, I had an old installation of perl6 on my system. But I think the larger point remains... Most programmers considering giving perl6 a look won't know anything about special variables like $*REPO and weird looking paths like inst#..., ap#..., etc. They're used to doing At any rate, I appreciate your help... |
Zef isn't the place for FAQs for how the Raku spec works -- we might as well instruct every module in existence to add the mentioned "caveat" for example. The problems mentioned exist with or without zef. Even so -- when you create a new issue in zef one of the things it asks is the output of |
rakudo/rakudo#1820 removed things supposedly "only needed for panda compatability", but broke installing zef on my machine:
The text was updated successfully, but these errors were encountered: