Just saw something, why are you using sudo ? That's not a good idea when you are building anything.