Menu

#20 Prolem Installing SBML Ode Solver on Mac

open
nobody
None
9
2007-10-03
2007-10-03
Eva
No

Hi all,

I am trying to install SBML_odeSolver-1.6.0 on a Mac OSX 10.4.10.

I already installed the libraries:

Sundials 2.1.1 in:

/Users/eva/Desktop/Code/sundials/lib

and libSBML 2.3.5 in:

/Users/eva/Desktop/LibSBML

I tried to configure the SBML ODE Solver by:

./configure --with-libsbml="/Users/eva/Desktop/LibSBML"
--with-sundials="/Users/eva/Desktop/Code/sundials/lib"

But it does not find my SBML Library. Here is the output:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin8.10.0
checking host system type... powerpc-apple-darwin8.10.0
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for autoconf... /usr/bin/autoconf
checking for aclocal... /usr/bin/aclocal
checking for make... /usr/bin/make
checking for ar... /usr/bin/ar
checking for swig... swig
checking for perl... /usr/bin/perl
checking for SBML Library Version... expr: syntax error
expr: syntax error
expr: syntax error
./configure: line 4175: test: -eq: unary operator expected
configure: found SBML Library Version
checking correct functioning of SBML... no:
CFLAGS=-g -O2 -I/Users/eva/Desktop/LibSBML/include -I/Users/eva/Desktop/LibSBML/include/sbml
LDFLAGS= -L/Users/eva/Desktop/LibSBML/lib
LIBS= -lxerces-c -lsbml
configure: error: Can not link to SBML Library:
Please, make sure to use libSBML version >= 2.3.2

Someone can please help me?

Thanks,

Eva.

Discussion

  • Eva

    Eva - 2007-10-03
    • summary: Prolem Installing on Mac --> Prolem Installing SBML Ode Solver on Mac
     
  • Eva

    Eva - 2007-10-03
    • priority: 5 --> 9
     
  • Michael Hopkins

    Michael Hopkins - 2012-02-15

    I believe the error message is misinformation here; it probably can't continue because it can't find the other required library i.e. libxerces-c. This appears to still be the case on OS X 10.6.8 in Feb 2012, even when libexpat is installed and requested at the configure stage.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.