From: LOPEZ G. DE L. A. <al...@im...> - 2006-01-27 09:56:39
|
Hi all,=20 I'm trying to install odeSolver on my Red Hat 9.0 machine and I have = some problems at the configuration step. I have installed libSBML (with = expat, not xerces!!!) and Sundials with no apparent errors. While I = execute ./configure I get this: [root@nerium SBML_odeSolver-1.6.0]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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/local/bin/aclocal checking for make... /usr/bin/make checking for ar... /usr/bin/ar checking for swig... /usr/bin/swig checking for perl... /usr/bin/perl checking for SBML Library headers... yes checking for SBML Library... yes configure: found SBML Library Version 2.3.4 checking correct functioning of SBML... no: CFLAGS=3D-g -O2 -I/usr/local/include = -I/usr/local/include/sbml LDFLAGS=3D -Wl,-rpath,/usr/local/lib -L/usr/local/lib LIBS=3D -lxerces-c -lsbml configure: error: Can not link to SBML Library: Please, make sure to use libSBML version >=3D 2.3.2 Seems to be trying to call libSBML with LIBS=3D-lxerces-c which I do not = have. I've tried=20 ./configure LIBS=3D-lexpat instead, but the error was very similar: checking correct functioning of SBML... no: CFLAGS=3D-g -O2 -I/usr/local/include = -I/usr/local/include/sbml LDFLAGS=3D -Wl,-rpath,/usr/local/lib -L/usr/local/lib LIBS=3D-lexpat -lxerces-c -lsbml configure: error: Can not link to SBML Library: Please, make sure to use libSBML version >=3D 2.3.2 Is it mandatory to have libSBML installed with xerces or there is a way = to keep on using expat? Thanks for your time,=20 Adri=E1n. |