From: Hendrik F. <fu...@ul...> - 2006-10-11 21:02:04
|
Hi everyone, one of the older threads in the archive was about problems running =20 configure under Linux. After a long day, I managed to compile SOSlib =20 under Mac OS 10.4 and thought I'd share this brief how-to with you. 1. As mentioned in requirements you need SUNDIALS 2.1.1 and *NOT* the =20= latest version. I can confirm version 2.2.0 does NOT work. 2. Configure sundials with "./configure --prefix=3D/usr/local", make =20 and make install as usual 3. Change to SBML_odeSolver directory. If you compiled libSBML with =20 expat rather than xerces, the configure script needs modification. =20 Run the following command: perl -p -i~ -e 's/-lxerces-c/-lexpat/g;' examples/Makefile.in =20 examples/Makefile.am odeSolver/Makefile.am odeSolver/Makefile.in =20 configure 4. Configure should now run smoothly 5. On my system, make threw an error in the very last linking step, =20 saying that it couldn't find libexpat, even though /sw/lib was =20 included in the LDFLAGS environment variable. I simply linked the =20 file manually by just adding -L/sw/lib to the gcc command line. Done. make install worked fine for me. Hope this was helpful. Hendrik -- Hendrik Fu=DF PhD student Systems Biology Research Group University of Ulster, School of Biomedical Sciences Cromore Road, Coleraine, BT52 1SA, Northern Ireland |