Closed jerzybrzoska closed 4 years ago
The installation looks like it went fine, but I believe the polyglot
command was not installed in your normal user's PATH
because of the sudo
command. Are you not able to install polyglot
with normal user privileges? If so, does it work then?
Following you suggestion, I ran raco pkg remove polyglot
and sudo apt --purge remove racket
in order to have a clean slate and start anew.
Then I installled racket, a consequently ran:
raco pkg install polyglot
This time I got somewhat shorter feedback from raco - I was not asket to install any dependencies:
Resolving "polyglot" via https://download.racket-lang.org/releases/7.2/catalog/ Resolving "polyglot" via https://pkgs.racket-lang.org Using cached15992168771599216877892 for https://github.com/zyrolasting/polyglot.git?path=polyglot Resolving "polyglot-lib" via https://download.racket-lang.org/releases/7.2/catalog/ Resolving "polyglot-lib" via https://pkgs.racket-lang.org Resolving "polyglot-doc" via https://download.racket-lang.org/releases/7.2/catalog/ Resolving "polyglot-doc" via https://pkgs.racket-lang.org raco setup: version: 7.2 raco setup: platform: x86_64-linux [3m] raco setup: target machine: racket raco setup: installation name: 7.2 raco setup: variants: 3m raco setup: main collects: /usr/share/racket/collects raco setup: collects paths: raco setup: /home/jerzy/.racket/7.2/collects raco setup: /usr/share/racket/collects raco setup: main pkgs: /usr/share/racket/pkgs raco setup: pkgs paths: raco setup: /usr/share/racket/pkgs raco setup: /home/jerzy/.racket/7.2/pkgs raco setup: links files: raco setup: /usr/share/racket/links.rktd raco setup: /home/jerzy/.racket/7.2/links.rktd raco setup: main docs: /usr/share/doc/racket raco setup: --- updating info-domain tables --- raco setup: --- pre-installing collections --- raco setup: --- installing foreign libraries --- raco setup: --- installing shared files --- raco setup: --- compiling collections --- raco setup: --- parallel build using 2 jobs --- raco setup: --- creating launchers --- raco setup: --- installing man pages --- raco setup: --- building documentation --- raco setup: --- installing collections --- raco setup: --- post-installing collections ---
Yet, all this to no avail. polyglot demo
gives me
bash: polyglot: command not found
which polyglot
gives me no result.
Okay, then your PATH
might not include the directory in which launchers are created. It looks like you might have a Unix-style installation since docs are appearing in /usr/share
. Check your different binary directories (e.g. /bin
/usr/bin
usr/local/bin
) to see if polyglot
appears in one of them. If so, add that directory to your PATH
.
I was not asket to install any dependencies:
That's because the installation did not actually start from a clean slate. This line tells you that a cache was still available.
Using cached15992168771599216877892 for https://github.com/zyrolasting/polyglot.git?path=polyglot
Closing this since I haven't heard back. Please reopen if you are still having an issue
I ran the following:
sudo raco pkg install polyglot
The progress of the installation:polyglot demo
gives mewhich polyglot
gives me no result. It seems that installation failed. My environment: Debian 10.What could be the reason of this issue? How can I resolve this issue?