For those newbies having trouble compiling the sources.
I'm a newbie also and was having all the same error messages.
I spent hours on it.
Then I re-booted and went through all the steps again...