]> khamidou — GitHub mirrors - electron.git/commitdiff
Add missing dependency for ubuntu build
authorJiaji Zhou <jiaji.zh@gmail.com>
Thu, 30 Jul 2015 08:21:17 +0000 (01:21 -0700)
committerJiaji Zhou <jiaji.zh@gmail.com>
Thu, 30 Jul 2015 08:21:17 +0000 (01:21 -0700)
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

index 3fe3b53c210fa7941be0b0397165f8397161976b..ca0f101e29aa305ebc53d676aef19a6a85fc70dd 100644 (file)
@@ -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