Obtain Gecode tarball
$ curl -O http://www.gecode.org/download/gecode-3.7.3.tar.gz
$ tar zxvf gecode-3.7.3.tar.gz
Configure, make and install
$ cd gecode-3.7.3
$ CC=g++ ./configure --disable-doc-dot --disable-doc-search --disable-doc-tagfile --disable-doc-chm --disable-doc-docset --disable-qt --disable-examples
$ make
$ make install
Copy libraries and source code
$ cp libgecode* /lib/
$ cp -r gecode/* /usr/include/
Cleanup
$ cd ../
rm -rf gecode-3.7.3 gecode-3.7.3.tar.gz
USE_SYSTEM_GECODE=1 gem install berkshelf -v 4.0.1
This gist in inspired by How to Install Berkshelf version3 on Cygwin 64bit. I've decided not to fork it because I wanted to:
- split up Ruby and Berkshelf installation processes;
- provide the instructions for updated Ruby 2.2.4 and Berkshelf 4.0.1.