Skip to content

Building: Debian 8.0

Craig Minihan edited this page Dec 9, 2016 · 13 revisions

To build on Debian 8.0 you should run the following script to install the required packages:

sudo apt-get install curl wget unzip bzip2
sudo apt-get install g++ make autoconf autoconf2.13 libtool git
sudo apt-get install ruby 
sudo apt-get install lcov
sudo apt-get install valgrind
sudo apt-get install python-dev

If you want to build the GTK+ example then you should also install gtkmm:

sudo apt-get install gtkmm-3.0-dev

Once you have the correct packages you can clone the repository and build the library:

git clone https://github.com/RipcordSoftware/libjsapi.git
cd libjsapi
make

The make process will download SpiderMonkey 31, autoconf 2.13 and gtest 1.7. These projects will be built before libjsapi and are installed into the externals/installed directory under the source root directory.

To run tests and generate a coverage report execute:

make test && ./coverage.sh

The coverage output will appear in the coverage sub-directory.