Seems to me you have a debian-repository in your sources.list. There is a package called libnss3-dev, but not in Ubuntu. Are you trying the latest sid-package on Dapper without modifications? -- build-dependancy miss package libnss3-dev https://launchpad.net/bugs/50207