I am trying to install SBML-SAT on a Ubuntu 10.10 64bit system.
I have tried several different combinations of libsbml and SBML Toolbox with varying degrees of... failure (if those failures are of any interest, I can list them)
I've been advised to use libsbml 2.3.4 and SBML Toolbox 2.0.2, as SBML-SAT has not yet been updated for the latest libsbml/SBML Toolbox.
On my latest attempt:
./configure --with-matlab=Application/Programming/MATLABR2010b
succeeds, and spits out:
Build Settings for libsbml v2.3.4:
----------------------------------
host type = linux
install dir = /usr/local
XML library = Xerces-C++
CC = gcc
CXX = g++
CFLAGS = -g -O2
CXXFLAGS = -g -O2
CPPFLAGS = -DLINUX
LDFLAGS =
LIBS = -lm
enable memory tracing? = no
use libcheck? = no
use SWIG? = no
use Python? = no
use Perl? = no
use Java? = no
use Matlab? = Application/Programming/MATLABR2010b
use Lisp = no
(Which I think it is successful?) Then, 'build' seems to be unsuccessful with the following errors:
make[2]: Entering directory `/home/celine/Downloads/libsbml-2.3.4/src/math'
g++ -I.. -I. -DLINUX -g -O2 -fPIC -MT MathMLHandler.o -MD -MP -MF ".deps/MathMLHandler.Po" -c -o MathMLHandler.o MathMLHandler.cpp
MathMLHandler.cpp: In member function ‘void MathMLHandler::characters(const XMLCh*, unsigned int)’:
MathMLHandler.cpp:381: error: ‘isAllWhiteSpace’ is not a member of ‘xercesc_3_1::XMLString’
make[2]: *** [MathMLHandler.o] Error 1
make[2]: Leaving directory `/home/celine/Downloads/libsbml-2.3.4/src/math'
make[1]: *** [math-recurse] Error 2
make[1]: Leaving directory `/home/celine/Downloads/libsbml-2.3.4/src'
make: *** [src-recurse] Error 2
First off, is it necessary to use libSBML 2.3.4? Initially I had installed (successfully) libSBML 4.2.0 before I read the dependencies statements of SBMLToolbox 3.0 and SBML-SAT. However, I can imagine that SBML toolbox 3.0 would not necessarily update the dependencies list, especially since there are newer editions already available.
If it is necessary to use libSBML 2.3.4, how can I fix the above errors?