Hello crusties!
I’ve recently started using Solus OS, installed Rust with rustup, and I wanted to try writing a bit of code (and hopefully eventually contribute to some open source).
However, when I went to try and run the tiny first part of the program, cargo wouldn’t build. Rustc on its own wouldn’t compile it either. The problem was cc/ld linking. Installing gcc alone didn’t help, so I checked the Solus software center. They’re still on 1.17, but it helped me find the missing piece: glibc-devel.
Would it be possible/feasible to have rustup look for such dependencies, and suggest installing them as part of the installation process, if they are missing? Perhaps this is a niche problem (I don’t think I had to manually install gcc or glibc-devel in Ubuntu), but might help some inexperienced users get started.
Thanks for reading. Sorry if this has already been addressed, but I couldn’t find anything by searching.
-ps