-
Notifications
You must be signed in to change notification settings - Fork 2
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
The build scripts should not require sudo
to install
#22
Comments
Sorry i didn't see this earlier. Can you be more specific? If you're talking about with regards to homebrew install instructions that's another package manager I don't have control over the installation destination of. Was it one of those or something else? |
It's the In 2023, it's not OK to require root access to the machine just to install a compiler and/or some source code. I'd recommend finding another way to bring the dependencies in. |
Strong agree. I hate that, but again I'm not the one requiring it. This just isn't something i really have control over without creating a new package manager + dependency checker for Chicken Scheme. ;) |
Noted. I would consider checking if there is a way to have a private installation of the runtime for a user, regardless of what the system does. I have in the past solved such issues elsewhere by making a dockerized build environment used to produce self-contained binaries. Not saying that you should endeavor any such thing, but just noting it as an option. If this is something you'd entertain I might be able to contribute a fix for #21. Deployment details aside, I think the private comments idea is brilliant, and I wonder why there are so few projects that offer this. Sadly this project is not directly usable for me in its current form due to security concerns (#23) but I may have some avenues to fix that, in which case I might try to fix, and contribute back anything I can. |
Also see #25 |
This change adds some affordances for building private_comments under Linux. Since I could not guarantee that every builder would have all the necessary tools for building, I wrapped the build process into a docker environment. This allows an almost trivial build command line: ``` ./linux/make.release.sh ``` You need to have docker installed for this to be possible, but it might not be a big concession to make for the ease of building. This still requires root access to run Docker (sigh), but doesn't require you to install a whole new runtime if you are only interested in running the binaries. I used shell scripts for this purpose to follow the style established in the repository, though I'd have prefered to use some `make` tool. Isuses: masukomi#22
This change adds some affordances for building private_comments under Linux. Since I could not guarantee that every builder would have all the necessary tools for building, I wrapped the build process into a docker environment. This allows an almost trivial build command line: ``` ./linux/make.release.sh ``` You need to have docker installed for this to be possible, but it might not be a big concession to make for the ease of building. This still requires root access to run Docker (sigh), but doesn't require you to install a whole new runtime if you are only interested in running the binaries. I used shell scripts for this purpose to follow the style established in the repository, though I'd have prefered to use some `make` tool. Issues: masukomi#22
I'm intrigued by the LSP idea. That approach hadn't occurred to me. I'd be happy to accept a PR for a docker build thing. That sounds like something that could be done without much effort by someone who's more familiar with Docker than I. I don't think the LSP idea should be attempted until this bug is fixed. It's not that it's a blocker but that it's a mildly frustrating / confusing issue that should probably be nailed down before this gets many more folks using it. |
I suppose it occurred to me because I'm lazy and don't want to develop frontend. :)
I did take some liberties there that I don't know whether you'd approve of.
Up to you. |
Following build instructions from the README.md, trying to build private_comments for 64-bit linux, I noticed that the build scripts want to install into paths that are typically not writable for a regular user.
It would be nice for that requirement to be removed, it does not seem necessary.
I could
sudo
run the install scripts, but that seems like an overreach.The text was updated successfully, but these errors were encountered: