From: Rainer M. <ra...@tb...> - 2006-01-31 11:45:09
|
Hi Adri, this is quite an embarassing bug. We once thought of it, and wanted to=20 include libSBML/expat in the configure process, but then seem to have=20 forgotten about it. Sorry! Maybe you can try to replace each occurence of `-lxerces-c' in the files configure examples/Makefile.am examples/Makefile.in odeSolver/Makefile.am odeSolver/Makefile.in with `-lexpat' e.g. by usind sed: sed 's/xerces-c/expat/g' configure > configure.new mv configure.new configure Do this for all above files. This might work, as our configure never directly searches for or requires= =20 expat/xerces-c. Please let me know, if that worked for you. Sorry for the trouble and=20 thanks for reporting! We will fix this for the next release (in 2-3=20 months). Rainer On Fri, 27 Jan 2006, LOPEZ GARCIA DE LOMANA, ADRIAN wrote: > Hi all, > > I'm trying to install odeSolver on my Red Hat 9.0 machine and I have so= me problems at the configuration step. I have installed libSBML (with exp= at, 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/inc= lude/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 no= t have. I've tried > > ./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/inc= lude/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, > > > > > Adri=E1n. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd____________________________________= ___________ > sbmlsolver-discuss mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-discuss > |