Glues is set up for building on many platforms. To facilitate cross-platform compatibility, the GNU autotools are used.
From the .tgz
distribution archive, run the file ./configure
, then make
./configure && make
You should (but you can) not install GLUES in your system, rather use the provided example scripts run*.sh
do execute glues.
-
If you downloaded the developer's version via mercurial CVS, you don't have a
./configure
script. You can create this with the./bootstrap
shell script../bootstrap libtoolize
-
Run
./configure
, you can find generic help on configure options in the fileINSTALL
../configure
-
If there are WARNING messages at the end of
./configure
, please see below, otherwise, continue to building -
Run
make
(preferably gnu make) to build the glues system, you should end up with an executable glues in the directory src.
-
WARNING: no configuration information is in
src/sisi
There is no./configure
in the subdirectory sisi; this is only needed if you don't have the sisi library installed elsewhere on your system, i.e., if you need a new build of sisiGo to
src/sisi
and issue./bootstrap
, if you get errors, runautoreconf -fvi
, then./bootstrap
again(cd src/sisi; ./bootstrap || autoreconf -fvi && ./boostrap)
Run
./configure
andmake
, and put the libraries into the lib directory(cd src/sisi; ./configure && gmake ) (cp src/sisi/lib/.libs/libSiSi* src/sisi/lib/)
-
Doxygen not found but required to build documentation There is no doxygen on this system, and the documentation will not be build. This doesn't prevent you from running GLUES. If you need the API documentation, install doxygen, and run configure again.
-
Cannot find -lSiSi You might have to copy the
libSiSi.*
files tosrc/sisi/li
(see above 1.) -
Makefile.i
not created: please upgrade your version of libtool
-
Download the sisi package from the sourceforge site
https://sourceforge.net/projects/glues/files/sisi/SiSi2.2.tgz/download
-
Unpack the .tgz file and change to sisi directory
-
run
gmake lib
to make the sisi library -
copy
lib/libsisi.*
to your systems library directory, ranlib libsisi.* and make an alias of this library under the name libSiSi.* and under the name libSiSi2.0.* -
copy include to your systems include directory
-
Go back to your glues distribution
-
Create an empty Makefile in src/sisi
echo 'all:' > src/sisi/Makefile
./configure --with-sisi=<directory where you copied sisi lib and include> in glues directory