|
From: Christofer B. <bog...@gm...> - 2022-05-04 08:41:14
|
Hi, Please discard my earlier message. Please find below contents of the log file This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by QuantLib configure 1.26, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --with-boost-include=usr/include/boost ## --------- ## ## Platform. ## ## --------- ## hostname = xxx uname -m = x86_64 uname -r = 5.15.0-27-generic uname -s = Linux uname -v = #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /usr/games/ PATH: /usr/local/games/ PATH: /snap/bin/ PATH: /snap/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2932: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh configure:2945: trying ./config/ configure:2974: ./config/config.guess found configure:2974: ./config/config.sub found configure:2974: ./config/ltmain.sh found configure:2974: ./config/compile found configure:2974: ./config/missing found configure:2956: ./config/install-sh found configure:3108: checking for a BSD-compatible install configure:3181: result: /usr/bin/install -c configure:3192: checking whether build environment is sane configure:3247: result: yes configure:3406: checking for a race-free mkdir -p configure:3450: result: /usr/bin/mkdir -p configure:3457: checking for gawk configure:3492: result: no configure:3457: checking for mawk configure:3478: found /usr/bin/mawk configure:3489: result: mawk configure:3500: checking whether make sets $(MAKE) configure:3527: result: no configure:3553: checking whether make supports nested variables configure:3571: result: no configure:3656: checking whether UID '1000' is supported by ustar format configure:3659: result: yes configure:3666: checking whether GID '1000' is supported by ustar format configure:3669: result: yes configure:3677: checking how to create a ustar tar archive configure:3688: tar --version tar (GNU tar) 1.34 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:3691: $? = 0 configure:3731: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3734: $? = 0 configure:3738: tar -xf - <conftest.tar configure:3741: $? = 0 configure:3743: cat conftest.dir/file GrepMe configure:3746: $? = 0 configure:3760: result: gnutar configure:3832: checking for gawk configure:3864: result: mawk configure:3975: checking for gcc configure:3996: found /usr/bin/gcc configure:4007: result: gcc configure:4360: checking for C compiler version configure:4369: gcc --version >&5 gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4380: $? = 0 configure:4369: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.2.0-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1) ... rest of stderr output deleted ... configure:4380: $? = 0 configure:4369: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:4380: $? = 1 configure:4369: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4380: $? = 1 configure:4369: gcc -version >&5 gcc: error: unrecognized command-line option '-version' gcc: fatal error: no input files compilation terminated. configure:4380: $? = 1 configure:4400: checking whether the C compiler works configure:4422: gcc conftest.c >&5 configure:4426: $? = 0 configure:4476: result: yes configure:4479: checking for C compiler default output file name configure:4481: result: a.out configure:4487: checking for suffix of executables configure:4494: gcc -o conftest conftest.c >&5 configure:4498: $? = 0 configure:4521: result: configure:4543: checking whether we are cross compiling configure:4551: gcc -o conftest conftest.c >&5 configure:4555: $? = 0 configure:4562: ./conftest configure:4566: $? = 0 configure:4581: result: no configure:4586: checking for suffix of object files configure:4609: gcc -c conftest.c >&5 configure:4613: $? = 0 configure:4635: result: o configure:4639: checking whether the compiler supports GNU C configure:4659: gcc -c conftest.c >&5 configure:4659: $? = 0 configure:4669: result: yes configure:4680: checking whether gcc accepts -g configure:4701: gcc -c -g conftest.c >&5 configure:4701: $? = 0 configure:4745: result: yes configure:4765: checking for gcc option to enable C11 features configure:4780: gcc -c -g -O2 conftest.c >&5 configure:4780: $? = 0 configure:4798: result: none needed configure:4914: checking whether gcc understands -c and -o together configure:4937: gcc -c conftest.c -o conftest2.o configure:4940: $? = 0 configure:4937: gcc -c conftest.c -o conftest2.o configure:4940: $? = 0 configure:4952: result: yes configure:4972: checking whether make supports the include directive configure:4987: make -f confmf.GNU && cat confinc.out ./configure: line 4988: make: command not found configure:4990: $? = 127 configure:4987: make -f confmf.BSD && cat confinc.out ./configure: line 4988: make: command not found configure:4990: $? = 127 configure:5009: result: no configure:5035: checking dependency style of gcc configure:5147: result: none configure:5231: checking for g++ configure:5266: result: no configure:5231: checking for c++ configure:5266: result: no configure:5231: checking for gpp configure:5266: result: no configure:5231: checking for aCC configure:5266: result: no configure:5231: checking for CC configure:5266: result: no configure:5231: checking for cxx configure:5266: result: no configure:5231: checking for cc++ configure:5266: result: no configure:5231: checking for cl.exe configure:5266: result: no configure:5231: checking for FCC configure:5266: result: no configure:5231: checking for KCC configure:5266: result: no configure:5231: checking for RCC configure:5266: result: no configure:5231: checking for xlC_r configure:5266: result: no configure:5231: checking for xlC configure:5266: result: no configure:5231: checking for clang++ configure:5266: result: no configure:5290: checking for C++ compiler version configure:5299: g++ --version >&5 ./configure: line 5301: g++: command not found configure:5310: $? = 127 configure:5299: g++ -v >&5 ./configure: line 5301: g++: command not found configure:5310: $? = 127 configure:5299: g++ -V >&5 ./configure: line 5301: g++: command not found configure:5310: $? = 127 configure:5299: g++ -qversion >&5 ./configure: line 5301: g++: command not found configure:5310: $? = 127 configure:5314: checking whether the compiler supports GNU C++ configure:5334: g++ -c conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:5334: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | | int | main (void) | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:5344: result: no configure:5355: checking whether g++ accepts -g configure:5376: g++ -c -g conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:5376: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5392: g++ -c conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:5392: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5409: g++ -c -g conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:5409: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5420: result: no configure:5440: checking for g++ option to enable C++11 features configure:5455: g++ -c conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:5455: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include <cstdlib> | #include <exception> | | // <cassert> and <cstring> are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template <typename T> struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template <typename U> T add(U u) { return static_cast<T>(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template <typename V> auto sum(V first) -> V | { | return first; | } | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template<double> tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template<int>> v(test_template<int>(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5473: result: none needed configure:5539: checking dependency style of g++ configure:5651: result: none configure:5671: checking how to run the C preprocessor configure:5697: gcc -E conftest.c configure:5697: $? = 0 configure:5712: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include <ac_nonexistent.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5712: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5739: result: gcc -E configure:5753: gcc -E conftest.c configure:5753: $? = 0 configure:5768: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include <ac_nonexistent.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5830: checking build system type configure:5845: result: x86_64-pc-linux-gnu configure:5865: checking host system type configure:5879: result: x86_64-pc-linux-gnu configure:5920: checking how to print strings configure:5947: result: printf configure:5968: checking for a sed that does not truncate output configure:6038: result: /usr/bin/sed configure:6056: checking for grep that handles long lines and -e configure:6120: result: /usr/bin/grep configure:6125: checking for egrep configure:6193: result: /usr/bin/grep -E configure:6198: checking for fgrep configure:6266: result: /usr/bin/grep -F configure:6302: checking for ld used by gcc configure:6370: result: /usr/bin/ld configure:6377: checking if the linker (/usr/bin/ld) is GNU ld configure:6393: result: yes configure:6405: checking for BSD- or MS-compatible name lister (nm) configure:6460: result: /usr/bin/nm -B configure:6600: checking the name lister (/usr/bin/nm -B) interface configure:6608: gcc -c -g -O2 conftest.c >&5 configure:6611: /usr/bin/nm -B "conftest.o" configure:6614: output 0000000000000000 B some_variable configure:6621: result: BSD nm configure:6624: checking whether ln -s works configure:6628: result: yes configure:6636: checking the maximum length of command line arguments configure:6768: result: 1572864 configure:6816: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:6857: result: func_convert_file_noop configure:6864: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:6885: result: func_convert_file_noop configure:6892: checking for /usr/bin/ld option to reload object files configure:6900: result: -r configure:6979: checking for objdump configure:7000: found /usr/bin/objdump configure:7011: result: objdump configure:7043: checking how to recognize dependent libraries configure:7244: result: pass_all configure:7334: checking for dlltool configure:7369: result: no configure:7399: checking how to associate runtime and link libraries configure:7427: result: printf %s\n configure:7493: checking for ar configure:7514: found /usr/bin/ar configure:7525: result: ar configure:7562: checking for archiver @FILE support configure:7580: gcc -c -g -O2 conftest.c >&5 configure:7580: $? = 0 configure:7584: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') configure:7587: $? = 0 configure:7592: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') ar: conftest.o: No such file or directory configure:7595: $? = 1 configure:7607: result: @ configure:7670: checking for strip configure:7691: found /usr/bin/strip configure:7702: result: strip configure:7779: checking for ranlib configure:7800: found /usr/bin/ranlib configure:7811: result: ranlib configure:7913: checking command to parse /usr/bin/nm -B output from gcc object configure:8067: gcc -c -g -O2 conftest.c >&5 configure:8070: $? = 0 configure:8074: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:8077: $? = 0 configure:8143: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:8146: $? = 0 configure:8184: result: ok configure:8231: checking for sysroot configure:8262: result: no configure:8269: checking for a working dd configure:8313: result: /usr/bin/dd configure:8317: checking how to truncate binary pipes configure:8333: result: /usr/bin/dd bs=4096 count=1 configure:8470: gcc -c -g -O2 conftest.c >&5 configure:8473: $? = 0 configure:8670: checking for mt configure:8691: found /usr/bin/mt configure:8702: result: mt configure:8725: checking if mt is a manifest tool configure:8732: mt '-?' configure:8740: result: no configure:9465: checking for stdio.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for stdlib.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for string.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for inttypes.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for stdint.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for strings.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for sys/stat.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for sys/types.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9465: checking for unistd.h configure:9465: gcc -c -g -O2 conftest.c >&5 configure:9465: $? = 0 configure:9465: result: yes configure:9490: checking for dlfcn.h configure:9490: gcc -c -g -O2 conftest.c >&5 configure:9490: $? = 0 configure:9490: result: yes configure:9760: checking for objdir configure:9776: result: .libs configure:10040: checking if gcc supports -fno-rtti -fno-exceptions configure:10059: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:10063: $? = 0 configure:10076: result: no configure:10434: checking for gcc option to produce PIC configure:10442: result: -fPIC -DPIC configure:10450: checking if gcc PIC flag -fPIC -DPIC works configure:10469: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:10473: $? = 0 configure:10486: result: yes configure:10515: checking if gcc static flag -static works configure:10544: result: yes configure:10559: checking if gcc supports -c -o file.o configure:10581: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10585: $? = 0 configure:10607: result: yes configure:10615: checking if gcc supports -c -o file.o configure:10663: result: yes configure:10696: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11962: result: yes configure:11999: checking whether -lc should be explicitly linked in configure:12008: gcc -c -g -O2 conftest.c >&5 configure:12011: $? = 0 configure:12026: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:12029: $? = 0 configure:12043: result: no configure:12203: checking dynamic linker characteristics configure:12785: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12785: $? = 0 configure:13024: result: GNU/Linux ld.so configure:13146: checking how to hardcode library paths into programs configure:13171: result: immediate configure:13723: checking whether stripping libraries is possible configure:13728: result: yes configure:13763: checking if libtool supports shared libraries configure:13765: result: yes configure:13768: checking whether to build shared libraries configure:13793: result: yes configure:13796: checking whether to build static libraries configure:13800: result: yes configure:17260: checking for C++11 support configure:17285: g++ -c conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:17285: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <initializer_list> | struct S { | int i = 3; | double x = 3.5; | }; | | class C { | public: | C(int) noexcept; | C(std::initializer_list<int>); | S f() { return { 2, 1.5 }; } | }; | | int | main (void) | { | | ; | return 0; | } configure:17290: result: no: adding -std=c++11 to CXXFLAGS configure:17302: checking for Boost development files configure:17318: g++ -c -std=c++11 conftest.cpp >&5 ./configure: line 1801: g++: command not found configure:17318: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "QuantLib" | #define PACKAGE_TARNAME "QuantLib" | #define PACKAGE_VERSION "1.26" | #define PACKAGE_STRING "QuantLib 1.26" | #define PACKAGE_BUGREPORT "qua...@li..." | #define PACKAGE_URL "" | #define PACKAGE "QuantLib" | #define VERSION "1.26" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <boost/version.hpp> | #include <boost/shared_ptr.hpp> | #include <boost/assert.hpp> | #include <boost/current_function.hpp> | int | main (void) | { | | ; | return 0; | } configure:17323: result: no configure:17325: error: Boost development files not found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_EMACSLOADPATH_set= ac_cv_env_EMACSLOADPATH_value= ac_cv_env_EMACS_set= ac_cv_env_EMACS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_11=no ac_cv_prog_cxx_g=no ac_cv_prog_cxx_stdcxx= ac_cv_prog_make_make_set=no am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=no am_cv_prog_cc_c_o=yes am_cv_prog_tar_ustar=gnutar lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/home/xxx/QuantLib-1.26/config/missing'\'' aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='1' AM_DEFAULT_VERBOSITY='1' AM_V='1' AR='ar' AUTOCONF='${SHELL} '\''/home/xxx/QuantLib-1.26/config/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/xxx/QuantLib-1.26/config/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/xxx/QuantLib-1.26/config/missing'\'' automake-1.16' AUTO_BENCHMARK_FALSE='' AUTO_BENCHMARK_TRUE='' AUTO_EXAMPLES_FALSE='' AUTO_EXAMPLES_TRUE='' AWK='mawk' BOOST_INCLUDE='' BOOST_INTERPROCESS_LIB='' BOOST_LIB='' BOOST_THREAD_LIB='' BOOST_UNIT_TEST_FOUND_FALSE='' BOOST_UNIT_TEST_FOUND_TRUE='' BOOST_UNIT_TEST_LIB='' BOOST_UNIT_TEST_MAIN_CXXFLAGS='' CC='gcc' CCDEPMODE='depmode=none' CFLAGS='-g -O2' CPP11_CXXFLAGS='-std=c++11' CPP='gcc -E' CPPFLAGS='' CSCOPE='cscope' CTAGS='ctags' CXX='g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS=' -std=c++11' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DOXYGEN='' DSYMUTIL='' DUMPBIN='' DVIPS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EMACS='' EMACSLOADPATH='' EMACS_FOUND_FALSE='' EMACS_FOUND_TRUE='' ENABLE_STATIC_FALSE='#' ENABLE_STATIC_TRUE='' ETAGS='etags' EXEEXT='' FGREP='/usr/bin/grep -F' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LATEX='' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINDEX='' MAKEINFO='${SHELL} '\''/home/xxx/QuantLib-1.26/config/missing'\'' makeinfo' MANIFEST_TOOL=':' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OPENMP_CXXFLAGS='' OTOOL64='' OTOOL='' PACKAGE='QuantLib' PACKAGE_BUGREPORT='qua...@li...' PACKAGE_NAME='QuantLib' PACKAGE_STRING='QuantLib 1.26' PACKAGE_TARNAME='QuantLib' PACKAGE_URL='' PACKAGE_VERSION='1.26' PATH_SEPARATOR=':' PDFLATEX='' PTHREAD_CXXFLAGS='' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='MAKE=make' SHELL='/bin/bash' STRIP='strip' UNITY_BUILD_FALSE='' UNITY_BUILD_TRUE='' VERSION='1.26' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='#' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/xxx/QuantLib-1.26/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' lispdir='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "QuantLib" #define PACKAGE_TARNAME "QuantLib" #define PACKAGE_VERSION "1.26" #define PACKAGE_STRING "QuantLib 1.26" #define PACKAGE_BUGREPORT "qua...@li..." #define PACKAGE_URL "" #define PACKAGE "QuantLib" #define VERSION "1.26" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 1 On Wed, May 4, 2022 at 1:53 PM Christofer Bogaso <bog...@gm...> wrote: > > Hi, > > I am running ./configure within Home/QuantLib-1.26 folder. > > Attached is a snapshot of all files and folders within that folder. I > fail to see any file with name config.log. There is a folder called > config, but within that also the log is not present. Could you please > help me to identify the exact location? > > On Wed, May 4, 2022 at 1:28 PM Luigi Ballabio <lui...@gm...> wrote: > > > > configure.ac is an input used to build configure itself. > > > > You need to look at config.log in the directory where you ran ./configure > > > > > > On Wed, May 4, 2022 at 6:50 AM Daniel Lobo <dan...@gm...> wrote: > >> > >> Hi, > >> > >> I still get the same error message as below, > >> > >> $ ./configure --with-boost-include=usr/include/boost > >> --with-boost-lib=/usr/lib/x86_64-linux-gnu > >> checking for a BSD-compatible install... /usr/bin/install -c > >> checking whether build environment is sane... yes > >> checking for a race-free mkdir -p... /usr/bin/mkdir -p > >> checking for gawk... no > >> checking for mawk... mawk > >> checking whether make sets $(MAKE)... no > >> checking whether make supports nested variables... no > >> checking whether UID '1000' is supported by ustar format... yes > >> checking whether GID '1000' is supported by ustar format... yes > >> checking how to create a ustar tar archive... gnutar > >> checking for gawk... (cached) mawk > >> checking for gcc... gcc > >> checking whether the C compiler works... yes > >> checking for C compiler default output file name... a.out > >> checking for suffix of executables... > >> checking whether we are cross compiling... no > >> checking for suffix of object files... o > >> checking whether the compiler supports GNU C... yes > >> checking whether gcc accepts -g... yes > >> checking for gcc option to enable C11 features... none needed > >> checking whether gcc understands -c and -o together... yes > >> checking whether make supports the include directive... no > >> checking dependency style of gcc... none > >> checking for g++... no > >> checking for c++... no > >> checking for gpp... no > >> checking for aCC... no > >> checking for CC... no > >> checking for cxx... no > >> checking for cc++... no > >> checking for cl.exe... no > >> checking for FCC... no > >> checking for KCC... no > >> checking for RCC... no > >> checking for xlC_r... no > >> checking for xlC... no > >> checking for clang++... no > >> checking whether the compiler supports GNU C++... no > >> checking whether g++ accepts -g... no > >> checking for g++ option to enable C++11 features... none needed > >> checking dependency style of g++... none > >> checking how to run the C preprocessor... gcc -E > >> checking build system type... x86_64-pc-linux-gnu > >> checking host system type... x86_64-pc-linux-gnu > >> checking how to print strings... printf > >> checking for a sed that does not truncate output... /usr/bin/sed > >> checking for grep that handles long lines and -e... /usr/bin/grep > >> checking for egrep... /usr/bin/grep -E > >> checking for fgrep... /usr/bin/grep -F > >> checking for ld used by gcc... /usr/bin/ld > >> checking if the linker (/usr/bin/ld) is GNU ld... yes > >> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > >> checking the name lister (/usr/bin/nm -B) interface... BSD nm > >> checking whether ln -s works... yes > >> checking the maximum length of command line arguments... 1572864 > >> checking how to convert x86_64-pc-linux-gnu file names to > >> x86_64-pc-linux-gnu format... func_convert_file_noop > >> checking how to convert x86_64-pc-linux-gnu file names to toolchain > >> format... func_convert_file_noop > >> checking for /usr/bin/ld option to reload object files... -r > >> checking for objdump... objdump > >> checking how to recognize dependent libraries... pass_all > >> checking for dlltool... no > >> checking how to associate runtime and link libraries... printf %s\n > >> checking for ar... ar > >> checking for archiver @FILE support... @ > >> checking for strip... strip > >> checking for ranlib... ranlib > >> checking command to parse /usr/bin/nm -B output from gcc object... ok > >> checking for sysroot... no > >> checking for a working dd... /usr/bin/dd > >> checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 > >> checking for mt... mt > >> checking if mt is a manifest tool... no > >> checking for stdio.h... yes > >> checking for stdlib.h... yes > >> checking for string.h... yes > >> checking for inttypes.h... yes > >> checking for stdint.h... yes > >> checking for strings.h... yes > >> checking for sys/stat.h... yes > >> checking for sys/types.h... yes > >> checking for unistd.h... yes > >> checking for dlfcn.h... yes > >> checking for objdir... .libs > >> checking if gcc supports -fno-rtti -fno-exceptions... no > >> checking for gcc option to produce PIC... -fPIC -DPIC > >> checking if gcc PIC flag -fPIC -DPIC works... yes > >> checking if gcc static flag -static works... yes > >> checking if gcc supports -c -o file.o... yes > >> checking if gcc supports -c -o file.o... (cached) yes > >> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports > >> shared libraries... yes > >> checking whether -lc should be explicitly linked in... no > >> checking dynamic linker characteristics... GNU/Linux ld.so > >> checking how to hardcode library paths into programs... immediate > >> checking whether stripping libraries is possible... yes > >> checking if libtool supports shared libraries... yes > >> checking whether to build shared libraries... yes > >> checking whether to build static libraries... yes > >> checking for C++11 support... no: adding -std=c++11 to CXXFLAGS > >> checking for Boost development files... no > >> configure: error: Boost development files not found > >> > >> Below is the outputs from configure file (configure.ac) > >> > >> # Process this file with autoconf to produce a configure script. > >> AC_INIT([QuantLib], [1.26], > >> [qua...@li...], > >> [QuantLib]) > >> AC_PREREQ(2.62) > >> AC_CONFIG_SRCDIR([ql/qldefines.hpp]) > >> AC_CONFIG_AUX_DIR([config]) > >> AC_CONFIG_HEADERS([ql/config.hpp]) > >> AM_INIT_AUTOMAKE([foreign nostdinc subdir-objects tar-ustar]) > >> AC_CONFIG_MACRO_DIR([m4]) > >> > >> AC_COPYRIGHT([ > >> Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl > >> Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 StatPro Italia srl > >> Copyright (C) 2004, 2005 Ferdinando Ametrano > >> > >> This file is part of QuantLib, a free-software/open-source library > >> for financial quantitative analysts and developers - http://quantlib.org/ > >> > >> QuantLib is free software: you can redistribute it and/or modify it > >> under the terms of the QuantLib license. You should have received a > >> copy of the license along with this program; if not, please email > >> <qua...@li...>. The license is also available online at > >> <http://quantlib.org/license.shtml>. > >> > >> This program is distributed in the hope that it will be useful, but WITHOUT > >> ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS > >> FOR A PARTICULAR PURPOSE. See the license for more details.]) > >> > >> AC_PROG_AWK > >> AC_PROG_INSTALL > >> > >> # Help the compiler find external software > >> > >> AC_ARG_WITH([boost-include], > >> AS_HELP_STRING([--with-boost-include=INCLUDE_PATH], > >> [Supply the location of Boost header files]), > >> [ql_boost_include_path="`cd ${withval} 2>/dev/null && pwd`"], > >> [ql_boost_include_path=""]) > >> if test [ -n "$ql_boost_include_path" ] ; then > >> AC_SUBST([BOOST_INCLUDE],["-I${ql_boost_include_path}"]) > >> AC_SUBST([CPPFLAGS],["${CPPFLAGS} -I${ql_boost_include_path}"]) > >> fi > >> AC_ARG_WITH([boost-lib], > >> AS_HELP_STRING([--with-boost-lib=LIB_PATH], > >> [Supply the location of Boost libraries]), > >> [ql_boost_lib_path="`cd ${withval} 2>/dev/null && pwd`"], > >> [ql_boost_lib_path=""]) > >> if test [ -n "$ql_boost_lib_path" ] ; then > >> AC_SUBST([BOOST_LIB],["-L${ql_boost_lib_path}"]) > >> AC_SUBST([LDFLAGS],["${LDFLAGS} -L${ql_boost_lib_path}"]) > >> fi > >> > >> > >> # Continue setup > >> > >> AC_PROG_CC > >> AC_PROG_CXX > >> AC_PROG_CPP > >> LT_INIT > >> > >> AM_CONDITIONAL(ENABLE_STATIC, test "${enable_static}" == "yes") > >> > >> AC_LANG([C++]) > >> > >> AC_ARG_ENABLE([openmp], > >> AS_HELP_STRING([--enable-openmp], > >> [If enabled, configure will try to detect > >> and enable OpenMP support.]), > >> [ql_openmp=$enableval], > >> [ql_openmp=no]) > >> if test "$ql_openmp" = "yes" ; then > >> AC_OPENMP > >> AC_SUBST([CXXFLAGS],["${CXXFLAGS} ${OPENMP_CXXFLAGS}"]) > >> fi > >> > >> # Check for C++11 support > >> QL_CHECK_CPP11 > >> > >> # Check for Boost components > >> QL_CHECK_BOOST > >> AM_CONDITIONAL(BOOST_UNIT_TEST_FOUND, test "x${BOOST_UNIT_TEST_LIB}" != "x") > >> > >> # Check for Emacs > >> AM_PATH_LISPDIR > >> AM_CONDITIONAL(EMACS_FOUND, test "${EMACS}" != "no") > >> > >> # Check for tools needed for building documentation > >> AC_PATH_PROG([DOXYGEN], [doxygen]) > >> AC_PATH_PROG([SED], [sed]) > >> AC_PATH_PROG([LATEX], [latex]) > >> AC_PATH_PROG([PDFLATEX], [pdflatex]) > >> AC_PATH_PROG([MAKEINDEX], [makeindex]) > >> AC_PATH_PROG([DVIPS], [dvips]) > >> > >> > >> # site configuration > >> > >> # AC_ARG_WITH([real], > >> # AS_HELP_STRING([--with-real=type], > >> # [The given type will be used for floating-point > >> # calculations. > >> # In case this option is not invoked, double > >> # will be used.]), > >> # [AC_DEFINE_UNQUOTED([QL_REAL],[$withval], > >> # [Define this as the type to be used for > >> # floating-point calculations.])], > >> # [AC_DEFINE_UNQUOTED([QL_REAL],[double], > >> # [Define this as the type to be used for > >> # floating-point calculations.])]) > >> > >> # AC_ARG_WITH([integer], > >> # AS_HELP_STRING([--with-integer=type], > >> # [The given type will be used for integer > >> # calculations. At least an int is required. > >> # In case this option is not invoked, int > >> # will be used.]), > >> # [AC_DEFINE_UNQUOTED([QL_INTEGER],[$withval], > >> # [Define this as the type to be used for > >> # integer calculations. At least an int > >> # is required.])], > >> # [AC_DEFINE_UNQUOTED([QL_INTEGER],[int], > >> # [Define this as the type to be used for > >> # integer calculations. At least an int > >> # is required.])]) > >> > >> # AC_ARG_WITH([big-integer], > >> # AS_HELP_STRING([--with-big-integer=type], > >> # [The given type will be used for large integer > >> # calculations. At least 4 bytes are required. > >> # In case this option is not invoked, long > >> # will be used.]), > >> # [AC_DEFINE_UNQUOTED([QL_BIG_INTEGER],[$withval], > >> # [Define this as the type to be used for > >> # large integer calculations. At least > >> # 4 bytes are required.])], > >> # [AC_DEFINE_UNQUOTED([QL_BIG_INTEGER],[long], > >> # [Define this as the type to be used for > >> # large integer calculations. At least > >> # 4 bytes are required.])]) > >> > >> > >> AC_ARG_ENABLE([error-lines], > >> AS_HELP_STRING([--enable-error-lines], > >> [If enabled, file and line information is > >> added to the error messages thrown by > >> the library.]), > >> [ql_error_lines=$enableval], > >> [ql_error_lines=no]) > >> AC_MSG_CHECKING([whether to add file and line information to errors]) > >> if test "$ql_error_lines" = "yes" ; then > >> AC_DEFINE([QL_ERROR_LINES],[1], > >> [Define this if error messages should include file and line > >> information.]) > >> fi > >> AC_MSG_RESULT([$ql_error_lines]) > >> > >> AC_ARG_ENABLE([error-functions], > >> AS_HELP_STRING([--enable-error-functions], > >> [If enabled, current function information > >> is added to the error messages thrown by > >> the library.]), > >> [ql_error_functions=$enableval], > >> [ql_error_functions=no]) > >> AC_MSG_CHECKING([whether to add function information to errors]) > >> if test "$ql_error_functions" = "yes" ; then > >> AC_DEFINE([QL_ERROR_FUNCTIONS],[1], > >> [Define this if error messages should include current function > >> information.]) > >> fi > >> AC_MSG_RESULT([$ql_error_functions]) > >> > >> AC_ARG_ENABLE([tracing], > >> AS_HELP_STRING([--enable-tracing], > >> [If enabled, tracing messages might be emitted > >> by the library depending on run-time > >> settings. Enabling this option can degrade > >> performance.]), > >> [ql_tracing=$enableval], > >> [ql_tracing=no]) > >> AC_MSG_CHECKING([whether to enable tracing]) > >> if test "$ql_tracing" = "yes" ; then > >> AC_DEFINE([QL_ENABLE_TRACING],[1], > >> [Define this if tracing messages should allowed (whether they > >> are actually emitted will depend on run-time settings.)]) > >> fi > >> AC_MSG_RESULT([$ql_tracing]) > >> > >> AC_MSG_CHECKING([whether to enable indexed coupons]) > >> AC_ARG_ENABLE([indexed-coupons], > >> AS_HELP_STRING([--enable-indexed-coupons], > >> [If enabled, indexed coupons (see the > >> documentation) are used in floating legs. > >> If disabled (the default), par coupons > >> are used.]), > >> [ql_indexed_coupon=$enableval], > >> [ql_indexed_coupon=no]) > >> if test "$ql_indexed_coupon" = "yes" ; then > >> AC_DEFINE([QL_USE_INDEXED_COUPON],[1], > >> [Define this to use indexed coupons instead of par coupons in > >> floating legs.]) > >> fi > >> AC_MSG_RESULT([$ql_indexed_coupon]) > >> > >> AC_MSG_CHECKING([whether to enable extra safety checks]) > >> AC_ARG_ENABLE([extra-safety-checks], > >> AS_HELP_STRING([--enable-extra-safety-checks], > >> [If enabled, extra run-time checks are added > >> to a few functions. This can prevent their > >> inlining and degrade performance.]), > >> [ql_belt_and_braces=$enableval], > >> [ql_belt_and_braces=no]) > >> if test "$ql_belt_and_braces" = "yes" ; then > >> AC_DEFINE([QL_EXTRA_SAFETY_CHECKS],[1], > >> [Define this if extra safety checks should be performed. > >> This can degrade performance.]) > >> fi > >> AC_MSG_RESULT([$ql_belt_and_braces]) > >> > >> AC_MSG_CHECKING([whether to enable sessions]) > >> AC_ARG_ENABLE([sessions], > >> AS_HELP_STRING([--enable-sessions], > >> [If enabled, singletons will return different > >> instances for different sessions. You will > >> have to provide and link with the library > >> a sessionId() function in namespace QuantLib, > >> returning a different session id for each > >> session. This also implies thread-safe > >> Singleton initialization.]), > >> [ql_use_sessions=$enableval], > >> [ql_use_sessions=no]) > >> if test "$ql_use_sessions" = "yes" ; then > >> AC_DEFINE([QL_ENABLE_SESSIONS],[1], > >> [Define this if you want to enable sessions.]) > >> fi > >> AC_MSG_RESULT([$ql_use_sessions]) > >> > >> AC_MSG_CHECKING([whether to enable thread-safe observer pattern]) > >> AC_ARG_ENABLE([thread-safe-observer-pattern], > >> AS_HELP_STRING([--enable-thread-safe-observer-pattern], > >> [If enabled, thread-safe version of the > >> observer pattern will be used. You should > >> enable it if you want to use QuantLib > >> via the SWIG layer within the JVM or .NET > >> eco system or any environment with an > >> async garbage collector. C++-17 is required > >> if this option is used together with > >> --enable-std-pointers]), > >> [ql_use_tsop=$enableval], > >> [ql_use_tsop=no]) > >> AC_MSG_RESULT([$ql_use_tsop]) > >> if test "$ql_use_tsop" = "yes" ; then > >> AC_DEFINE([QL_ENABLE_THREAD_SAFE_OBSERVER_PATTERN],[1], > >> [Define this if you want to enable > >> thread-safe observer pattern.]) > >> fi > >> > >> AC_MSG_CHECKING([whether to enable thread-safe singleton initialization]) > >> AC_ARG_ENABLE([thread-safe-singleton-init], > >> AS_HELP_STRING([--enable-thread-safe-singleton-init], > >> [If enabled, singleton initialization will > >> be thread-safe. This requires Boost 1.58 > >> or later. Note that --enable-sessions > >> implies thread-safe initialization, > >> whether this is defined or not]), > >> [ql_use_safe_singleton_init=$enableval], > >> [ql_use_safe_singleton_init=no]) > >> if test "$ql_use_safe_singleton_init" = "yes" ; then > >> AC_DEFINE([QL_ENABLE_SINGLETON_THREAD_SAFE_INIT],[1], > >> [Define this if you want thread-safe singleton initialization.]) > >> fi > >> AC_MSG_RESULT([$ql_use_safe_singleton_init]) > >> > >> if test "$ql_use_sessions" = "yes" || test "$ql_use_tsop" = "yes" || > >> test "$ql_use_safe_singleton_init" = "yes"; then > >> QL_CHECK_BOOST_VERSION_1_58_OR_HIGHER > >> QL_CHECK_BOOST_TEST_THREAD_SIGNALS2_SYSTEM > >> else > >> AC_SUBST([BOOST_THREAD_LIB],[""]) > >> fi > >> > >> AC_MSG_CHECKING([whether to enable parallel unit test runner]) > >> AC_ARG_ENABLE([parallel-unit-test-runner], > >> AS_HELP_STRING([--enable-parallel-unit-test-runner], > >> [If enabled, a parallel unit test runner is used > >> to execute the C++ test suite. This will reduce > >> the runtime on multi core CPUs.]), > >> [ql_use_parallel_test=$enableval], > >> [ql_use_parallel_test=no]) > >> AC_MSG_RESULT([$ql_use_parallel_test]) > >> if test "$ql_use_parallel_test" = "yes" ; then > >> AC_DEFINE([QL_ENABLE_PARALLEL_UNIT_TEST_RUNNER],[1], > >> [Define this if you want to enable > >> the parallel unit test runner.]) > >> QL_CHECK_BOOST_VERSION_1_59_OR_HIGHER > >> if test "$ql_use_tsop" != "yes" ; then > >> QL_CHECK_BOOST_TEST_THREAD_SIGNALS2_SYSTEM > >> fi > >> QL_CHECK_BOOST_TEST_INTERPROCESS > >> else > >> AC_SUBST([BOOST_INTERPROCESS_LIB],[""]) > >> fi > >> > >> AC_MSG_CHECKING([whether to install examples]) > >> AC_ARG_ENABLE([examples], > >> AS_HELP_STRING([--enable-examples], > >> [If enabled, examples are built and installed > >> when "make" and "make install" are invoked. > >> If disabled (the default) they are built > >> but not installed.]), > >> [ql_install_examples=$enableval], > >> [ql_install_examples=no]) > >> AM_CONDITIONAL(AUTO_EXAMPLES, test "$ql_install_examples" != "no") > >> AC_MSG_RESULT([$ql_install_examples]) > >> > >> AC_MSG_CHECKING([whether to install the benchmark]) > >> AC_ARG_ENABLE([benchmark], > >> AS_HELP_STRING([--enable-benchmark], > >> [If enabled, the benchmark is built and > >> installed when "make" and "make install" > >> are invoked. If disabled (the default) > >> it is built but not installed.]), > >> [ql_install_benchmark=$enableval], > >> [ql_install_benchmark=no]) > >> AM_CONDITIONAL(AUTO_BENCHMARK, test "$ql_install_benchmark" != "no") > >> AC_MSG_RESULT([$ql_install_benchmark]) > >> > >> AC_MSG_CHECKING([whether to use unity build]) > >> AC_ARG_ENABLE([unity-build], > >> AS_HELP_STRING([--enable-unity-build], > >> [If enabled, the source files in each directory > >> are collected into one single source file and > >> compiled together. This can speed up the > >> compilation of the library. > >> If disabled (the default) each source file is > >> compiled separately..]), > >> [ql_use_unity_build=$enableval], > >> [ql_use_unity_build=no]) > >> AM_CONDITIONAL(UNITY_BUILD, test "$ql_use_unity_build" != "no") > >> AC_MSG_RESULT([$ql_use_unity_build]) > >> > >> AC_MSG_CHECKING([whether to enable intraday date and daycounters]) > >> AC_ARG_ENABLE([intraday], > >> AS_HELP_STRING([--enable-intraday], > >> [If enabled, date objects will support an intraday > >> datetime resolution down to microseconds. > >> Strickly monotone daycounters (Actual360, > >> Actual365Fixed and ActualActual) will take > >> the additional information into account > >> and allow for accurate intraday pricing. > >> If disabled (the default) the smallest > >> resolution of date objects will be a single day. > >> Intraday datetime resolution is experimental.]), > >> [ql_use_intraday=$enableval], > >> [ql_use_intraday=no]) > >> if test "$ql_use_intraday" = "yes" ; then > >> AC_DEFINE([QL_HIGH_RESOLUTION_DATE],[1], > >> [Define this if you want to enable high resolution date class.]) > >> fi > >> AC_MSG_RESULT([$ql_use_intraday]) > >> > >> AC_MSG_CHECKING([whether to enable standard smart pointers]) > >> AC_ARG_ENABLE([std-pointers], > >> AS_HELP_STRING([--enable-std-pointers], > >> [If enabled, std::shared_ptr and related > >> classes and functions will be used instead > >> of boost::shared_ptr. > >> If disabled (the default) the Boost facilities > >> are used. > >> Note that std::shared_ptr does not check > >> access and can cause segmentation faults.]), > >> [ql_use_std_pointers=$enableval], > >> [ql_use_std_pointers=no]) > >> if test "$ql_use_std_pointers" = "yes" ; then > >> AC_DEFINE([QL_USE_STD_SHARED_PTR],[1], > >> [Define this if you want to use standard smart pointers.]) > >> fi > >> AC_MSG_RESULT([$ql_use_std_pointers]) > >> > >> AC_MSG_CHECKING([whether to enable std::unique_ptr instead of std::auto_ptr]) > >> AC_ARG_ENABLE([std-unique-ptr], > >> AS_HELP_STRING([--enable-std-unique-ptr], > >> [If enabled (the default), std::unique_ptr will > >> be used instead of the deprecated std::auto_ptr. > >> If disabled, std::auto_ptr will still be used.]), > >> [ql_use_unique_ptr=$enableval], > >> [ql_use_unique_ptr=yes]) > >> if test "$ql_use_unique_ptr" = "yes" ; then > >> AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1], > >> [Define this if you want to replace std::auto_ptr with > >> std::unique_ptr.]) > >> fi > >> AC_MSG_RESULT([$ql_use_unique_ptr]) > >> > >> AC_MSG_CHECKING([whether to enable ... [truncated message content] |