Closed Lucretia closed 4 years ago
Can you give some details about how did you install it and on which platform?
I did what is on the main readme:
curl https://raw.githubusercontent.com/alire-project/alr/master/install/alr-bootstrap.sh -o ./alr-bootstrap.sh
bash ./alr-bootstrap.sh
I broke it up because I wanted to look at the script first.
alr get hello
alr get hangman
alr get -c hello
All give the same error.
Also, why do you installed alr to another directory when there is a bin dir in $HOME/.config/alire
? Surely setting the PATH to that would just be better?
That's because I prefer not to touch users' paths, so I delegated to them where to place the final executable. There are other technical reasons related with how in the past alr
recompiled itself, which it no longer does.
Back to your problem, alr and the index are undergoing many breaking changes at present and the stable branch is quite old. If you want to test something more recent, I would suggest to clone it from master (with subrepos), compile manually using the alr_dev.gpr
, and use the built binary.
Meanwhile I will check the installer, that should have worked for you anyway. Still, what's your platform?
Also, forgot:
Linux rogue 5.2.11-gentoo+ #3 SMP PREEMPT Sat Sep 7 15:09:07 BST 2019 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
Being on gentoo you will for sure experience problems with any crate that relies on native packages. This is known and in the pipeline. But for pure Ada things, like hello, hangman and many others you should find no problems.
Ok, changed your script to grab master, works this time. Lots of:
Warning: Unable to detect distribution
messages.
Why are you naming packages like rust?
Why are you naming packages like rust?
Because package
is already used in the Ada vocabulary.
I'll say more: package is used in Ada and project is used in GNAT.
I would say package is an all encompassing word which explains what the whole is.
These issues were fixed by #204
Just installed alire to try it out, any attempt to
alr get hello
or any other package results in the above error.