|
From: R S <raj...@ho...> - 2019-06-25 21:02:10
|
Did you run ldconfig etc ? I woud stick to apt-get’s standard install of boost (usually /usr/local) then you do not need to supply all these extra parameters and ldconfig’s Unfortunately, my Mac has gone for a keyboard replacement so I am unable to check my distro at the mo. Good luck! From: Banerjee, Tapas K<mailto:tap...@jp...> Sent: 25 June 2019 21:53 To: R S<mailto:raj...@ho...>; qua...@li...<mailto:qua...@li...> Subject: RE: Quantlub build issue. First make. I did the following commands. * ./configure --with-boost-include=/home/podsintr/qlib/boost_1_68_0 --with-boost-lib=/home/podsintr/qlib/boost_1_68_0/libs --prefix=/home/podsintr/qlib --disable-dependency-tracking * make install I also tried make clean, then above commands, same issue . BTW: >From this website, I see: https://quantlabs.net/blog/2010/06/painless-instructions-on-how-to-build-quantlib-swig-for-python-and-ruby-bindings-in-ubuntu-linux/ . instructions on how to build QuantLib … • debhelper (>= 7.0.0) • g++ (>= 4:4.0) • gcc (>= 4:4.0) But our gcc version is: gcc version 4.1.2 20080704 (Red Hat 4.1.2-55) Not sure if that Is the issue. From: R S [mailto:raj...@ho...<mailto:raj...@ho...>] Sent: Tuesday, June 25, 2019 4:46 PM To: Banerjee, Tapas K <tap...@jp...<mailto:tap...@jp...>>; qua...@li...<mailto:qua...@li...> Subject: RE: Quantlub build issue. Is this the first make command being executed. In other words, did the rest build because boost headers were found and only this failed or it failed on this first execution. If the latter – I suspect boot path has not been set correctly Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Banerjee, Tapas K <tap...@jp...<mailto:tap...@jp...>> Sent: Tuesday, June 25, 2019 9:34:55 PM To: R S; qua...@li...<mailto:qua...@li...> Subject: RE: Quantlub build issue. The error I sent below Is when we used Boost version: boost_1_68_0. If you see my email below, we tried i1_68 also “..we tried 1.68 version of Boost, still get the same error” For boost_1_70_0 version same error happens. It just says boost_1_70_0 Hope this clarifies. I think, the issue is with g++/Linux version. -T From: R S [mailto:raj...@ho...<mailto:raj...@ho...>] Sent: Tuesday, June 25, 2019 4:29 PM To: Banerjee, Tapas K <tap...@jp...<mailto:tap...@jp...>>; qua...@li...<mailto:qua...@li...> Subject: RE: Quantlub build issue. If you have installed only v 1.7 of boost, why is the make configured to pick up boost_1_68_0 Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Banerjee, Tapas K via QuantLib-dev <qua...@li...<mailto:qua...@li...>> Sent: Tuesday, June 25, 2019 7:17:45 PM To: qua...@li...<mailto:qua...@li...> Subject: [Quantlib-dev] Quantlub build issue. Hi, We are trying to use Quntlib for our project under Linux. We downloaded the latest QuantLib-1.15 version and Boost /boost_1_70_0 version for our liunux bos. Configure etc. command works fine. When we tried to do make install, we are getting below error. Any idea how to fix this? ./../../ql/experimental/math/tcopulapolicy.hpp:133: instantiated from here /home/podsintr/qlib/boost_1_68_0/boost/math/tools/roots.hpp:68: error: no matching function for call to 'get(const boost::fusion::tuple<long double, long double, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_>&)' make[3]: *** [gaussianlhplossmodel.lo] Error 1 make[3]: Leaving directory `/lfs/fs00/dev/home/podsintr/qlib/QuantLib-1.15/ql/experimental/credit' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/lfs/fs00/dev/home/podsintr/qlib/QuantLib-1.15/ql/experimental' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/lfs/fs00/dev/home/podsintr/qlib/QuantLib-1.15/ql' make: *** [install-recursive] Error 1 / BTW: we tried 1.68 version of Boost, still get the same error. Not sure it is because of g++ compiler or Linux version. /home/podsintr/qlib/boost_1_70_0 > g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-55) Feel free to reach us if you have any questions from our end. Any pointer apprictaited Thanks Tap...@jp...<mailto:Tap...@jp...> This message is confidential and subject to terms at:https://www.jpmorgan.com/emaildisclaimer including on confidential, privileged or legal entity information, viruses and monitoring of electronic messages. If you are not the intended recipient, please delete this message and notify the sender immediately. Any unauthorized use is strictly prohibited. This message is confidential and subject to terms at:https://www.jpmorgan.com/emaildisclaimer including on confidential, privileged or legal entity information, viruses and monitoring of electronic messages. If you are not the intended recipient, please delete this message and notify the sender immediately. Any unauthorized use is strictly prohibited. This message is confidential and subject to terms at:https://www.jpmorgan.com/emaildisclaimer including on confidential, privileged or legal entity information, viruses and monitoring of electronic messages. If you are not the intended recipient, please delete this message and notify the sender immediately. Any unauthorized use is strictly prohibited. |