-
Notifications
You must be signed in to change notification settings - Fork 3
Building: CentOS 7
Craig Minihan edited this page May 6, 2015
·
6 revisions
To build on CentOS 7 you should run the following script to install the required packages:
sudo yum -y install curl
sudo yum -y install gcc-c++ make autoconf git
sudo yum -y install ruby
sudo yum -y install lcov
sudo yum -y install valgrind
sudo yum -y install python-develIf you want to build the GTK+ example then you should also install gtkmm:
sudo yum -y install gtkmm30-develOnce you have the correct packages you can clone the repository and build the library:
git clone https://github.com/RipcordSoftware/libjsapi.git
cd libjsapi
makeThe 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.shThe coverage output will appear in the coverage sub-directory.