Building MesoRD from Source on Unix

Make sure you have libSBML installed. Recent versions of libsbml allow for replacing Xerces-C++ with expat or xml2 so you can choose the one that fits your setup best.

For MesoRD to correctly identify the presence or absence of libsbml you need to have pkg-config installed. Also make sure that your environment variable PKG_CONFIG_PATH includes the libsbml.pc package config file. (By default libsbml installes it in /usr/local/lib/pkgconfig/)

To build MesoRD move into the unpacked source file directory (e.g. mesord-0.3) and type:

      % ./configure
      % make
      % make install

Should any required components remain un-found, you may need to adjust the compiler's include and library search paths using the CFLAGS and CXXFLAGS environment variables.

Working the GNU AutoTools

If you are compiling a Unix binary from SVN sources, you may need to reconfigure the sources and regenerate the make files. This is done using the GNU AutoTools. Note that, in addition to autoconf, you will need the The GNU Autoconf Macro Archive, which is available for download from the GNU Autoconf web site:, and the autoconf macros supplied with CppUnit. The following steps assume that the current directory is the root directory of the distribution.

  1. Place yourself in the root of the MesoRD source tree.

  2. Make sure the source tree is clean. Do this by running make clean. If command fails because there are no make files, then you may safely assume that the source tree is clean.

  3. Generate the configure-script and makefiles by running the ./bootstrap script. If you have installed The GNU Autoconf Macro Archive and autoconf macro for CppUnit in non-standard locations, you also have to supplied the path to these ./bootstrap -I path_to_autoconf_archive -I path_to_cppunit_package

Now you may resume with configuring and compiling the source using the generated files. This process was detailed the section called “ Building MesoRD from Source on Unix ” previously.