Dear QuantLib group,
I have a problem: I've tried to compile svn version of QuantLib on osx with the "new' boost 1.37. The configure script shows it did not find the unit test libraries. The error caused by using wrong library names during linking from the script. It tries to link with libboost_unit_test_framework-gcc40 but on osx the proper name is: libboost_unit_test_framework-xgcc40-mt. For quick solution see below. (a script "boost-config" should be the real solution....at least on unix...) Best, Tamas Solution: Add boost_unit_test_framework-x$CC_BASENAME$CC_VERSION-mt to acinclude.m4 eg: Index: acinclude.m4 =================================================================== --- acinclude.m4 (revision 15883) +++ acinclude.m4 (working copy) @@ -101,6 +101,7 @@ boost_unit_test_framework-$CC_BASENAME$CC_VERSION- mt \ boost_unit_test_framework-mt-$CC_BASENAME \ boost_unit_test_framework-$CC_BASENAME-mt \ + boost_unit_test_framework-x$CC_BASENAME$CC_VERSION- mt \ boost_unit_test_framework-mt ; do LIBS="$ql_original_LIBS -l$boost_lib" # 1.33.1 or 1.34 static ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
On Wed, 2009-02-04 at 12:53 +0000, Tamas Sashalmi wrote:
> I've tried to compile svn version of QuantLib on osx with the "new' > boost 1.37. The configure script shows it did not find the unit test > libraries. The error caused by using wrong library names during > linking from the script. > > Solution: > Add > > boost_unit_test_framework-x$CC_BASENAME$CC_VERSION-mt > to > acinclude.m4 Done, thanks. Luigi -- Don't say "yes" until I finish talking. -- Darryl F. Zanuck ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |