Skip to content

Add raco command#469

Closed
6cdh wants to merge 1 commit intojackfirth:masterfrom
6cdh:add-raco-command
Closed

Add raco command#469
6cdh wants to merge 1 commit intojackfirth:masterfrom
6cdh:add-raco-command

Conversation

@6cdh
Copy link

@6cdh 6cdh commented Jul 6, 2025

Currently the install command

raco pkg install --installation resyntax

gives a permission error in my environment(Windows WSL):

open-output-file: error opening file
  path: /usr/share/racket/pkgs/.LOCKpkgs.rktd
  system error: Permission denied; errno=13

It requires sudo to install.

I added raco command support so it can be installed by raco pkg install resyntax and called by raco resyntax.

@jackfirth
Copy link
Owner

I don't want to have both a raco interface and a normal CLI. Maintaining that would be irritating, and long-term it seems like it would increase user confusion.

You're on Windows though. I'm not sure you even need to use installation scope to get Racket launchers to show up in your PATH, based on my understanding of this issue. Can you try installing Resyntax without sudo in user scope and tell me if it works? I don't have a Windows machine of my own to test that out on. If it does work, I'll amend the installation instructions to point out that Windows users don't need to worry about the installation scope.

@6cdh
Copy link
Author

6cdh commented Jul 6, 2025

I tried installing Resyntax in user scope and was able to use

racket --lib resyntax/cli

to call. The resyntax executable is not in my PATH but I found it in the path ~/.local/share/racket/8.17/bin.

This issue probably not be related to Windows, but because I used sudo to install Racket using package manager.

@6cdh
Copy link
Author

6cdh commented Jul 7, 2025

I'm going to close this PR as it was refused.

@6cdh 6cdh closed this Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants