Re: problems building on linux
Posted by
Tito Ingargiola on
URL: http://quantlib.414.s1.nabble.com/problems-building-on-linux-tp1099p1101.html
Luigi & Dirk - thank you very much for your generous help. The patch which you supplied, Luigi, has worked perfectly! I was able to build+install cleanly and am able to build and run sample programs - now comes the hard part...
Thank you!
Luigi Ballabio <[hidden email]> wrote:
On Sat, 2007-06-30 at 13:03 -0700, Tito Ingargiola wrote:
> I'm having difficulty building quantlib-0.8.1 on a redhat system.
> I've built and installed boost-1.34 which the quantlib build seems to
> find without difficulties during compilation. But when it tries to
> link, it seems to be using the wrong names for the libraries.
Hi again,
try applying the attached patch to configure.
Later,
Luigi
--
Skinner's Constant (or Flannagan's Finagling Factor):
That quantity which, when multiplied by, divided by, added to,
or subtracted from the answer you got, gives you the answer you
should have gotten.
*** configure.orig 2007-07-02 16:20:48.000000000 +0200
--- configure 2007-07-02 16:22:35.000000000 +0200
***************
*** 19716,19722 ****
ql_original_LIBS=$LIBS
ql_original_CXXFLAGS=$CXXFLAGS
! CC_VERSION=`$CC -dumpversion | sed -e "s|\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)|\1\2|"`
for boost_lib in boost_unit_test_framework-$CC$CC_VERSION \
boost_unit_test_framework-$CC \
boost_unit_test_framework \
--- 19716,19722 ----
ql_original_LIBS=$LIBS
ql_original_CXXFLAGS=$CXXFLAGS
! CC_VERSION=`echo "__GNUC__ __GNUC_MINOR__" | $CC -E -x c - | tail -n 1 | $SED -e "s/ //"`
for boost_lib in boost_unit_test_framework-$CC$CC_VERSION \
boost_unit_test_framework-$CC \
boost_unit_test_framework \
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users