You are having trouble installing (from sources) ONE particular software, can you tell us which one? Have you read about its dependencies, usually stated in README, INSTALL or similar files inside the source root? Guessing from the error you must install nss-devel, nss or both.