From e0a117414b9ff6f999a73a07a2ebac0c2be1ce8e Mon Sep 17 00:00:00 2001 From: Jiaji Zhou Date: Thu, 30 Jul 2015 01:21:17 -0700 Subject: [PATCH] Add missing dependency for ubuntu build I tried to follow the document to build electron on a fresh clean built Ubuntu 15.04. I encountered the following error message when trying to run ./script/bootstrap.py -v Package nss was not found in the pkg-config search path. Perhaps you should add the directory containing `nss.pc' to the PKG_CONFIG_PATH environment variable No package 'nss' found After installing libnss3-dev, the build can pass. --- docs/development/build-instructions-linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index 3fe3b53c210f..ca0f101e29aa 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -17,7 +17,7 @@ On Ubuntu, install the following libraries: $ sudo apt-get install build-essential clang libdbus-1-dev libgtk2.0-dev \ libnotify-dev libgnome-keyring-dev libgconf2-dev \ libasound2-dev libcap-dev libcups2-dev libxtst-dev \ - libxss1 gcc-multilib g++-multilib + libxss1 libnss3-dev gcc-multilib g++-multilib ``` Other distributions may offer similar packages for installation via package