I would start with this and then try the JNOS build and installer
script. If there are any errors, copy and paste them into an email to
me offline and I'll give you a hand:
http://www.cyberciti.biz/faq/debian-linux-install-gnu-gcc-compiler/
--David
KI6ZHD