Skip to content
Stefan Vigerske edited this page Feb 28, 2020 · 3 revisions

METSlib 0.4 was succesfully compiled and tested on OpenSolaris 2009.06.

You'll need some packages installed subversion, aconf, libtool, automake-1.10, gcc-4.3.2 and gnome-common-devel for a sufficient build environment (aclocal-1.10, libtolize, automake-1.10, autoconf, make gcc-4.3.2 and so on).

git clone --branch=stable/0.4 https://github.com/coin-or/metslib.git metslib-0.4
git clone --branch=0.4 https://github.com/coin-or/metslib-examples.git metslib-samples-0.4

The sequence to generate the configure script for the library is:

cd metslib-0.4
libtoolize --force
aclocal-1.10
autoconf
automake-1.10 --add-missing --gnu
CXX=g++-4.3.2 ./configure
make
su
make install

You can compile the tutorial code (or your own project) using:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
cd ../metslib-samples-0.4/tutorial
libtoolize --force
aclocal-1.10
autoconf
automake-1.10 --add-missing --gnu
CXX=g++-4.3.2 ./configure
make
./tut1