Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`make` succeeds, but `sudo make install` fails: `make: cargo: Command not found` #378
Comments
This comment has been minimized.
This comment has been minimized.
avh-on1
commented
Dec 2, 2018
•
|
It appears that |
This comment has been minimized.
This comment has been minimized.
coder543
commented
Dec 2, 2018
•
|
As an example, This one enumerates the source files at I see a few people recommending It's been awhile since I've had to write a |
This comment has been minimized.
This comment has been minimized.
|
Hi! Yeah, the intention was to push rebuild logic off to cargo, but I failed to consider how this will affect Thanks for raising the issue, @avh-on1, and thank you for good pointers, @coder543. I'll go add that |
avh-on1 commentedDec 2, 2018
•
edited
Steps to reproduce the issue:
Run
rustupto get latest version of cargo and rustc (1.30.1).git clone https://github.com/newsboat/newsboat.gitcd newsboat/makesudo make installThe last line fails with:
cargo build --verbose --release
make: cargo: Command not found
Makefile:99: recipe for target 'target/release/libnewsboat.a' failed
make: *** [target/release/libnewsboat.a] Error 127
Other info you think is relevant:
I'm on Debian 9 Stable.
I could probably get the Makefile to run by configuring rust/cargo to run with sudo, but I was advised on reddit that
make installshouldn't invokecargoif immediately preceded by a successfulmake.