|
From: Jonathan S. <sw...@gm...> - 2023-06-01 11:00:07
|
Hi Tobias, I'm adding back the list in case other users encounter a similar issue. I've not seen "cannot find "/opt/tmp/QuantLib-1.30/build/ql/quantlib.hpp"" before, but it's possible that it's related to this issue: https://github.com/lballabio/QuantLib/issues/1675 You might want to try one of the fixes linked in that issue and see if it resolves your issue as well. On Thu, Jun 1, 2023 at 7:11 PM Tobias Jones <tob...@us...> wrote: > Hi Jonathan, > > > Thank you for your reply. One possibility is that the gentoo use flags > which were used to compile gcc and boost on this machine do not meet the > requirements to build quantlib. > > > The commands used are as follows: > > > # tar -xvf QuantLib-1.30.tar.gz > > # cd /opt/tmp/QuantLib-1.30/build > > # cmake .. -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release > > # cmake .. -DCMAKE_INSTALL_PREFIX=/opt/QuantLib-1.3.0/ > > # make -j4 install > /opt/make.log 2>&1 > > > The output of the build is: > > -- The CXX compiler identification is GNU 12.2.1 > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Check for working CXX compiler: /usr/bin/c++ - skipped > > -- Detecting CXX compile features > > -- Detecting CXX compile features - done > > -- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found > suitable version "1.81.0", minimum required is "1.58.0") > > -- Configuring done (0.7s) > > -- Generating done (0.3s) > > -- Build files have been written to: /opt/tmp/QuantLib-1.30/build > > > The output of the make install is posted on dpaste here > https://dpaste.com/3EJ3TSHTU > > > Thanks. > > TJ > > > > > On Tuesday, May 30, 2023 10:02 PM, Jonathan Sweemer <sw...@gm...> > wrote: > > Hi TJ, > > Could you share your full command history starting from when you > downloaded the release artifacts, as well as the full CMake build output? > > It’s a bit hard to say what the root cause is based on the short snippet > below. > > 2023년 5월 30일 (화) 22:16, Tobias Jones via QuantLib-users < > qua...@li...>님이 작성: > > Hello, > > > May anyone know what could have caused the error below? The error occurred > during make install on Gentoo Linux. > > > Thanks > > > TJ > > > -- Installing: /opt/QuantLib-1.30/include/ql/utilities/vectors.hpp > > -- Installing: /opt/QuantLib-1.30/include/ql/version.hpp > > -- Installing: /opt/QuantLib-1.30/include/ql/volatilitymodel.hpp > > -- Installing: /opt/QuantLib-1.30/include/ql/config.hpp > > -- Installing: /opt/QuantLib-1.30/include/ql/qldefines.hpp > > CMake Error at ql/cmake_install.cmake:5227 (file): > > file INSTALL cannot find "/opt/tmp/QuantLib-1.30/build/ql/quantlib.hpp": > No > > such file or directory. > > Call Stack (most recent call first): > > cmake_install.cmake:47 (include) > > > > make: *** [Makefile:130: install] Error 1 > > > > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > |