Gideon, I met some similar problem installing nam before. The easiest way to solve it is to install a binary version of nam. You can find the link to it on the ns webpage. Actually that's what I did. Good luck! Wei Sun