Installation problem on Debian. cc linker


#1

I have rust installed and is ready to rock

My file is hello_world.rs
This is what happens:

$ rustc hello_world.rs
error: could not exec the linker cc: No such file or directory (os error 2)

I have had issues all the way up to this one, and now am stumped.

Any ideas?


#2

Do you maybe need to install the build-essential package?


#3

apt-get install build-essential


#4

Thanks guys,

Still had an issue trying to get build-essential in, but seems to work now.