Installing Bassist v0.8
System Requirements
Bassist uses GNU Autoconf for installation.
This does not mean it is portable to systems other than our
local Linux boxes; it could be, but at this time we're giving no
guarantees.
We are using Debian GNU/Linux 1.3 with
kernel version 2.0.35,
GNU g++ version egcs-2.91.60 19981201 (egcs-1.1.1 release).
Non-EGCS versions of g++ won't probably work.
(If you are afraid of using a non-official compiler,
please note that EGCS
will become the next official version of GCC.)
Installation
- Select some directories. The easy way is to simply select a root
directory for the installation -- /usr/local is a popular
choice, and indeed the Autoconf default. All of the directories
mentioned below have reasonable default values under the root
directory.
- The library directory, e.g. /usr/local/lib.
This directory will hold the Bassist library
libBassist.a.
- The include directory, e.g.
/usr/local/include/bassist.
There are several include files corresponding to the
Bassist library, so we suggest having a separate directory
for them (and not mix them with other include files).
- The Bassist templates directory, e.g.
/usr/local/share/bassist.
The templates are architecture-independent data files
used by the Bassist compiler.
- The binary directory which will hold the executable
Bassist compiler, e.g. /usr/local/bin.
- The manual directory where the Bassist manual page will
be installed, e.g. /usr/local/man.
- Download and unpack the Bassist distribution
bassist-0.8.20.tar.gz.
- Run configure. Usually, you will give it one argument:
--prefix /installation/root/dir,
substituting your installation root directory for
/installation/root/dir.
Other possible arguments are
- --exec_prefix
- The prefix for executable files. This is only useful for
multi-architecture installations.
- --bindir
- The binary directory.
- --datadir
- The shared data directory. The Bassist templates will go
in a directory called bassist under the data directory.
- --libdir
- The library directory.
- --includedir
- The include files directory. The Bassist include files will
go in a directory called bassist under this one.
- --mandir
- The manual directory.
- Run make.
- Run make install. This is where you will need any
special privileges (for installing in /usr/local, for
example). Please feel free to do make -n install first
to see what's going to happen.
- You can also say make uninstall should you ever feel
unhappy about your choice of MCMC software,
or, more realistically, in preparation for installing the next version.