You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's best to run make install as non-root with DESTDIR and then install that globally - ideally with a package manager, but with cp -a if you must. This issue can be fixed, but the Makefile is a scary beast and this issue will keep coming back. I wouldn't trust it to be run as root, since one typo is enough to wipe the system out.
There are embedded runpaths but the ones that will be incorrect with this intermediate step are still incorrect without it. I recommend compiling with ./configure --disable-rpath if you want to install globally, as they're not required unless you're running out of the build directory. A rustc compiled with --disable-rpath will still use runpaths for the binaries it compiles, so it won't break anything.
running:
make
make check
sudo make install
leaves:
./config.tmp
./tmp/dist
owned by root in the build directory.
The text was updated successfully, but these errors were encountered: