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
make install fails (on fedora26) #629
Comments
I am looking at this currently. |
I may well close this myself soon; rustup installs the nightly version for the current user not available under sudo, which in turn is needed to install. remains the question why compile is needed during install. |
thanks @shaleh , I just did a sudo make and that didn't go as well as make so i tried sudo rustc --version showing part of the problem |
AH. yes, the annoyance of per user Rust toolchain setup. Once you are satisfied with a working solution would you mind submitting a PR for updating the documentation? |
of course, but can you shine a light as to why make install compiles even when make finished succesfully? |
No, I cannot. I was just about to look at that. |
hmmm. If I run it like this (as me):
I do not see a second compilation. However....
Now I do see a second compilation as root. |
I believe this is an issue with cargo. If you run both the build and the install as the same user the compile does not repeat. If you run the compile as a user and the install as root then cargo goes back through to ensure the dependencies are right and this can trigger a relink of the build. |
It looks like build and test as a user. Then when ready to install it build and install as root. If you are the only user on the system, consider installing it into ~/opt (or ~/local) and adding that path to your PATH. |
ok, this is still not nice but i think we should close this with a enterprisial "won't fix". |
and thanks for the trouble @shaleh |
@DaanHoogland are you still going to submit a doc update? |
Yes @shaleh , i will tonight. What I can think of now are teh readme and the install file. Any other places this needs pointing out? |
That should cover it. 👍 |
I'm a lurking user that has remacs as his standard emacs, on macos and fedora mostly. once in a while i pretend to develop and i have to re-install on my fedora, as I did last weekend. however the make install step failed with "error[E0554]: #![feature] may not be used on the stable release channel" I am using nightly but maybe not for one of the tools?
$ src/remacs -Q
starts a nice windows with a over featured editor but
$ sudo make install
gave me a very ugly
I realize the problem might be between chair and keyboard, if so please help. it seems strange to me that a compilation error occurs during install and not during normal build.
The text was updated successfully, but these errors were encountered: