|
From: Daniel L. <dan...@gm...> - 2022-04-30 17:22:00
|
Hi, I am trying to install Quantlib in my Ubuntu VM. I was following the instructions as provided in https://www.quantlib.org/install/linux.shtml But this installation failed when I executed ./configure --with-boost-include=/home/foo/include --with-boost-lib=/home/foo/lib The error I got is $ ./configure --with-boost-include=/home/foo/include --with-boost-lib=/home/foo/lib 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 Could you please help how to resolve this error. I executed the code to install boost already as provided in the instruction page. |
|
From: Jonathan S. <sw...@gm...> - 2022-05-01 06:23:17
|
Hi Daniel, When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? sudo apt-get install libboost-all-dev If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. Jonathan 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: > Hi, > > I am trying to install Quantlib in my Ubuntu VM. I was following the > instructions as provided in > https://www.quantlib.org/install/linux.shtml > > But this installation failed when I executed > > ./configure --with-boost-include=/home/foo/include > --with-boost-lib=/home/foo/lib > > > > The error I got is > > $ ./configure --with-boost-include=/home/foo/include > --with-boost-lib=/home/foo/lib > 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 > > Could you please help how to resolve this error. I executed the code > to install boost already as provided in the instruction page. > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Daniel L. <dan...@gm...> - 2022-05-01 06:41:58
|
Hi, Many thanks for your response. Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. However still I get this error. How can I find where the boost is installed and how can I pass that information './configure ' line? Apologies for trivial question if any, as I am not very expert in Linux ecosystem. Thanks and regards, On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote: > > Hi Daniel, > > When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? > > sudo apt-get install libboost-all-dev > > If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. > > Jonathan > > > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: >> >> Hi, >> >> I am trying to install Quantlib in my Ubuntu VM. I was following the >> instructions as provided in >> https://www.quantlib.org/install/linux.shtml >> >> But this installation failed when I executed >> >> ./configure --with-boost-include=/home/foo/include >> --with-boost-lib=/home/foo/lib >> >> >> >> The error I got is >> >> $ ./configure --with-boost-include=/home/foo/include >> --with-boost-lib=/home/foo/lib >> 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 >> >> Could you please help how to resolve this error. I executed the code >> to install boost already as provided in the instruction page. >> >> >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Jonathan S. <sw...@gm...> - 2022-05-01 07:46:53
|
Hi Daniel, Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right? If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost. If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran. Jonathan 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성: > Hi, > > Many thanks for your response. > > Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. > However still I get this error. > > How can I find where the boost is installed and how can I pass that > information './configure ' line? > > Apologies for trivial question if any, as I am not very expert in > Linux ecosystem. > > Thanks and regards, > > On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote: > > > > Hi Daniel, > > > > When you say that you “install[ed] boost already as provided in the > instruction page” do you mean that you ran the following command? > > > > sudo apt-get install libboost-all-dev > > > > If so then you shouldn’t need to use the —with-boost-include and > —with-boost-lib flags when configuring QuantLib. As the install guide > mentions, you only need those flags when you install boost in a > non-standard location. > > > > Jonathan > > > > > > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: > >> > >> Hi, > >> > >> I am trying to install Quantlib in my Ubuntu VM. I was following the > >> instructions as provided in > >> https://www.quantlib.org/install/linux.shtml > >> > >> But this installation failed when I executed > >> > >> ./configure --with-boost-include=/home/foo/include > >> --with-boost-lib=/home/foo/lib > >> > >> > >> > >> The error I got is > >> > >> $ ./configure --with-boost-include=/home/foo/include > >> --with-boost-lib=/home/foo/lib > >> 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 > >> > >> Could you please help how to resolve this error. I executed the code > >> to install boost already as provided in the instruction page. > >> > >> > >> _______________________________________________ > >> QuantLib-users mailing list > >> Qua...@li... > >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Daniel L. <dan...@gm...> - 2022-05-02 17:45:08
|
Many thanks.
I ran below codes to remove and reinstall boost
sudo apt-get remove libboost-all-dev
sudo apt-get install libboost-all-dev
boost installed in /usr/include
:/usr/include$ ls
aio.h complex.h error.h features-time64.h getopt.h
langinfo.h math.h netdb.h numa.h
python3.10 setjmp.h string.h time.h video
aliases.h cpio.h evdns.h fenv.h glob.h
lastlog.h mcheck.h neteconet numaif.h rdma
sgtty.h strings.h tirpc wait.h
alloca.h crypt.h event2 finclude
gnu-versions.h libgen.h memory.h netinet obstack.h
re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h
argp.h ctype.h event.h fmtmsg.h grp.h
libintl.h misc netipx openvpn regex.h
signal.h syscall.h uchar.h wctype.h
argz.h dirent.h evhttp.h fnmatch.h gshadow.h
libltdl mntent.h netiucv paths.h regexp.h
sound sysexits.h ucontext.h wordexp.h
ar.h dlfcn.h evrpc.h fstab.h hwloc
libnl3 monetary.h netpacket poll.h resolv.h
spawn.h syslog.h ulimit.h X11
arpa drm evutil.h fts.h hwloc.h
limits.h mqueue.h netrom printf.h rpc
stab.h tar.h unicode x86_64-linux-gnu
asm-generic elf.h execinfo.h ftw.h iconv.h
link.h mtd netrose proc_service.h rpcsvc
stdc-predef.h termio.h unistd.h xen
assert.h endian.h expat_external.h gcalc-2 ifaddrs.h
linux net nfs protocols sched.h
stdint.h termios.h utime.h xorg
boost
But still get error when I run ./configure
Below is the log that I get
$ ./configure
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
Any pointer how to resolve this will be very helpful.
Thanks
On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> wrote:
>
> Hi Daniel,
>
> Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right?
>
> If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost.
>
> If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran.
>
> Jonathan
>
>
> 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성:
>>
>> Hi,
>>
>> Many thanks for your response.
>>
>> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost.
>> However still I get this error.
>>
>> How can I find where the boost is installed and how can I pass that
>> information './configure ' line?
>>
>> Apologies for trivial question if any, as I am not very expert in
>> Linux ecosystem.
>>
>> Thanks and regards,
>>
>> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote:
>> >
>> > Hi Daniel,
>> >
>> > When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command?
>> >
>> > sudo apt-get install libboost-all-dev
>> >
>> > If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location.
>> >
>> > Jonathan
>> >
>> >
>> > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성:
>> >>
>> >> Hi,
>> >>
>> >> I am trying to install Quantlib in my Ubuntu VM. I was following the
>> >> instructions as provided in
>> >> https://www.quantlib.org/install/linux.shtml
>> >>
>> >> But this installation failed when I executed
>> >>
>> >> ./configure --with-boost-include=/home/foo/include
>> >> --with-boost-lib=/home/foo/lib
>> >>
>> >>
>> >>
>> >> The error I got is
>> >>
>> >> $ ./configure --with-boost-include=/home/foo/include
>> >> --with-boost-lib=/home/foo/lib
>> >> 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
>> >>
>> >> Could you please help how to resolve this error. I executed the code
>> >> to install boost already as provided in the instruction page.
>> >>
>> >>
>> >> _______________________________________________
>> >> QuantLib-users mailing list
>> >> Qua...@li...
>> >> https://lists.sourceforge.net/lists/listinfo/quantlib-users
|
|
From: Conrad C. <con...@gm...> - 2022-05-02 21:13:33
|
Did you also verify that the boost library files are in this directory /usr/lib/x86_64-linux-gnu? *include: /usr/include/boost* *lib: /usr/lib/x86_64-linux-gnu* You should try executing ./configure again with the boost lib and include flags using the proper directories. Are the boost installation directories in your PATH variable? On 5/2/22 13:44, Daniel Lobo wrote: > Many thanks. > > I ran below codes to remove and reinstall boost > > sudo apt-get remove libboost-all-dev > sudo apt-get install libboost-all-dev > > boost installed in /usr/include > > :/usr/include$ ls > aio.h complex.h error.h features-time64.h getopt.h > langinfo.h math.h netdb.h numa.h > python3.10 setjmp.h string.h time.h video > aliases.h cpio.h evdns.h fenv.h glob.h > lastlog.h mcheck.h neteconet numaif.h rdma > sgtty.h strings.h tirpc wait.h > alloca.h crypt.h event2 finclude > gnu-versions.h libgen.h memory.h netinet obstack.h > re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h > argp.h ctype.h event.h fmtmsg.h grp.h > libintl.h misc netipx openvpn regex.h > signal.h syscall.h uchar.h wctype.h > argz.h dirent.h evhttp.h fnmatch.h gshadow.h > libltdl mntent.h netiucv paths.h regexp.h > sound sysexits.h ucontext.h wordexp.h > ar.h dlfcn.h evrpc.h fstab.h hwloc > libnl3 monetary.h netpacket poll.h resolv.h > spawn.h syslog.h ulimit.h X11 > arpa drm evutil.h fts.h hwloc.h > limits.h mqueue.h netrom printf.h rpc > stab.h tar.h unicode x86_64-linux-gnu > asm-generic elf.h execinfo.h ftw.h iconv.h > link.h mtd netrose proc_service.h rpcsvc > stdc-predef.h termio.h unistd.h xen > assert.h endian.h expat_external.h gcalc-2 ifaddrs.h > linux net nfs protocols sched.h > stdint.h termios.h utime.h xorg > boost > > But still get error when I run ./configure > > Below is the log that I get > > $ ./configure > 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 > > > Any pointer how to resolve this will be very helpful. > > Thanks > > On Sun, 1 May 2022 at 13:16, Jonathan Sweemer<sw...@gm...> wrote: >> Hi Daniel, >> >> Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right? >> >> If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost. >> >> If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran. >> >> Jonathan >> >> >> 2022년 5월 1일 (일) 15:41, Daniel Lobo<dan...@gm...>님이 작성: >>> Hi, >>> >>> Many thanks for your response. >>> >>> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. >>> However still I get this error. >>> >>> How can I find where the boost is installed and how can I pass that >>> information './configure ' line? >>> >>> Apologies for trivial question if any, as I am not very expert in >>> Linux ecosystem. >>> >>> Thanks and regards, >>> >>> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer<sw...@gm...> wrote: >>>> Hi Daniel, >>>> >>>> When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? >>>> >>>> sudo apt-get install libboost-all-dev >>>> >>>> If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. >>>> >>>> Jonathan >>>> >>>> >>>> 2022년 5월 1일 (일) 02:25, Daniel Lobo<dan...@gm...>님이 작성: >>>>> Hi, >>>>> >>>>> I am trying to install Quantlib in my Ubuntu VM. I was following the >>>>> instructions as provided in >>>>> https://www.quantlib.org/install/linux.shtml >>>>> >>>>> But this installation failed when I executed >>>>> >>>>> ./configure --with-boost-include=/home/foo/include >>>>> --with-boost-lib=/home/foo/lib >>>>> >>>>> >>>>> >>>>> The error I got is >>>>> >>>>> $ ./configure --with-boost-include=/home/foo/include >>>>> --with-boost-lib=/home/foo/lib >>>>> 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 >>>>> >>>>> Could you please help how to resolve this error. I executed the code >>>>> to install boost already as provided in the instruction page. >>>>> >>>>> >>>>> _______________________________________________ >>>>> QuantLib-users mailing list >>>>> Qua...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Luigi B. <lui...@gm...> - 2022-05-02 21:09:01
|
Can you look inside the generated config.log file and see what compiler error you're getting exactly? Luigi On Mon, May 2, 2022 at 7:49 PM Daniel Lobo <dan...@gm...> wrote: > Many thanks. > > I ran below codes to remove and reinstall boost > > sudo apt-get remove libboost-all-dev > sudo apt-get install libboost-all-dev > > boost installed in /usr/include > > :/usr/include$ ls > aio.h complex.h error.h features-time64.h getopt.h > langinfo.h math.h netdb.h numa.h > python3.10 setjmp.h string.h time.h video > aliases.h cpio.h evdns.h fenv.h glob.h > lastlog.h mcheck.h neteconet numaif.h rdma > sgtty.h strings.h tirpc wait.h > alloca.h crypt.h event2 finclude > gnu-versions.h libgen.h memory.h netinet obstack.h > re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h > argp.h ctype.h event.h fmtmsg.h grp.h > libintl.h misc netipx openvpn regex.h > signal.h syscall.h uchar.h wctype.h > argz.h dirent.h evhttp.h fnmatch.h gshadow.h > libltdl mntent.h netiucv paths.h regexp.h > sound sysexits.h ucontext.h wordexp.h > ar.h dlfcn.h evrpc.h fstab.h hwloc > libnl3 monetary.h netpacket poll.h resolv.h > spawn.h syslog.h ulimit.h X11 > arpa drm evutil.h fts.h hwloc.h > limits.h mqueue.h netrom printf.h rpc > stab.h tar.h unicode x86_64-linux-gnu > asm-generic elf.h execinfo.h ftw.h iconv.h > link.h mtd netrose proc_service.h rpcsvc > stdc-predef.h termio.h unistd.h xen > assert.h endian.h expat_external.h gcalc-2 ifaddrs.h > linux net nfs protocols sched.h > stdint.h termios.h utime.h xorg > boost > > But still get error when I run ./configure > > Below is the log that I get > > $ ./configure > 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 > > > Any pointer how to resolve this will be very helpful. > > Thanks > > On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> wrote: > > > > Hi Daniel, > > > > Just to confirm, you’re no longer running ./configure with the > —with-boost-include and —with-boost-lib flags right? > > > > If so then I would expect the configure script to find your boost > installation. Please check that you see boost headers in /usr/include/boost > and if not, try reinstalling boost. > > > > If you’re still unable to get ./configure to find boost then please > attach the full output including all the commands that you ran. > > > > Jonathan > > > > > > 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성: > >> > >> Hi, > >> > >> Many thanks for your response. > >> > >> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. > >> However still I get this error. > >> > >> How can I find where the boost is installed and how can I pass that > >> information './configure ' line? > >> > >> Apologies for trivial question if any, as I am not very expert in > >> Linux ecosystem. > >> > >> Thanks and regards, > >> > >> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> > wrote: > >> > > >> > Hi Daniel, > >> > > >> > When you say that you “install[ed] boost already as provided in the > instruction page” do you mean that you ran the following command? > >> > > >> > sudo apt-get install libboost-all-dev > >> > > >> > If so then you shouldn’t need to use the —with-boost-include and > —with-boost-lib flags when configuring QuantLib. As the install guide > mentions, you only need those flags when you install boost in a > non-standard location. > >> > > >> > Jonathan > >> > > >> > > >> > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: > >> >> > >> >> Hi, > >> >> > >> >> I am trying to install Quantlib in my Ubuntu VM. I was following the > >> >> instructions as provided in > >> >> https://www.quantlib.org/install/linux.shtml > >> >> > >> >> But this installation failed when I executed > >> >> > >> >> ./configure --with-boost-include=/home/foo/include > >> >> --with-boost-lib=/home/foo/lib > >> >> > >> >> > >> >> > >> >> The error I got is > >> >> > >> >> $ ./configure --with-boost-include=/home/foo/include > >> >> --with-boost-lib=/home/foo/lib > >> >> 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 > >> >> > >> >> Could you please help how to resolve this error. I executed the code > >> >> to install boost already as provided in the instruction page. > >> >> > >> >> > >> >> _______________________________________________ > >> >> QuantLib-users mailing list > >> >> Qua...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Conrad C. <con...@gm...> - 2022-05-02 21:59:16
|
*whereis boost* is the command to find the location of the installed boost header files. On 5/2/22 17:08, Luigi Ballabio wrote: > Can you look inside the generated config.log file and see what > compiler error you're getting exactly? > > Luigi > > > On Mon, May 2, 2022 at 7:49 PM Daniel Lobo <dan...@gm...> > wrote: > > Many thanks. > > I ran below codes to remove and reinstall boost > > sudo apt-get remove libboost-all-dev > sudo apt-get install libboost-all-dev > > boost installed in /usr/include > > :/usr/include$ ls > aio.h complex.h error.h features-time64.h getopt.h > langinfo.h math.h netdb.h numa.h > python3.10 setjmp.h string.h time.h video > aliases.h cpio.h evdns.h fenv.h glob.h > lastlog.h mcheck.h neteconet numaif.h rdma > sgtty.h strings.h tirpc wait.h > alloca.h crypt.h event2 finclude > gnu-versions.h libgen.h memory.h netinet obstack.h > re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h > argp.h ctype.h event.h fmtmsg.h grp.h > libintl.h misc netipx openvpn regex.h > signal.h syscall.h uchar.h wctype.h > argz.h dirent.h evhttp.h fnmatch.h gshadow.h > libltdl mntent.h netiucv paths.h regexp.h > sound sysexits.h ucontext.h wordexp.h > ar.h dlfcn.h evrpc.h fstab.h hwloc > libnl3 monetary.h netpacket poll.h resolv.h > spawn.h syslog.h ulimit.h X11 > arpa drm evutil.h fts.h hwloc.h > limits.h mqueue.h netrom printf.h rpc > stab.h tar.h unicode x86_64-linux-gnu > asm-generic elf.h execinfo.h ftw.h iconv.h > link.h mtd netrose proc_service.h rpcsvc > stdc-predef.h termio.h unistd.h xen > assert.h endian.h expat_external.h gcalc-2 ifaddrs.h > linux net nfs protocols sched.h > stdint.h termios.h utime.h xorg > boost > > But still get error when I run ./configure > > Below is the log that I get > > $ ./configure > 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 > > > Any pointer how to resolve this will be very helpful. > > Thanks > > On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> > wrote: > > > > Hi Daniel, > > > > Just to confirm, you’re no longer running ./configure with the > —with-boost-include and —with-boost-lib flags right? > > > > If so then I would expect the configure script to find your > boost installation. Please check that you see boost headers in > /usr/include/boost and if not, try reinstalling boost. > > > > If you’re still unable to get ./configure to find boost then > please attach the full output including all the commands that you ran. > > > > Jonathan > > > > > > 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 > 작성: > >> > >> Hi, > >> > >> Many thanks for your response. > >> > >> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. > >> However still I get this error. > >> > >> How can I find where the boost is installed and how can I pass that > >> information './configure ' line? > >> > >> Apologies for trivial question if any, as I am not very expert in > >> Linux ecosystem. > >> > >> Thanks and regards, > >> > >> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer > <sw...@gm...> wrote: > >> > > >> > Hi Daniel, > >> > > >> > When you say that you “install[ed] boost already as provided > in the instruction page” do you mean that you ran the following > command? > >> > > >> > sudo apt-get install libboost-all-dev > >> > > >> > If so then you shouldn’t need to use the —with-boost-include > and —with-boost-lib flags when configuring QuantLib. As the > install guide mentions, you only need those flags when you install > boost in a non-standard location. > >> > > >> > Jonathan > >> > > >> > > >> > 2022년 5월 1일 (일) 02:25, Daniel Lobo > <dan...@gm...>님이 작성: > >> >> > >> >> Hi, > >> >> > >> >> I am trying to install Quantlib in my Ubuntu VM. I was > following the > >> >> instructions as provided in > >> >> https://www.quantlib.org/install/linux.shtml > >> >> > >> >> But this installation failed when I executed > >> >> > >> >> ./configure --with-boost-include=/home/foo/include > >> >> --with-boost-lib=/home/foo/lib > >> >> > >> >> > >> >> > >> >> The error I got is > >> >> > >> >> $ ./configure --with-boost-include=/home/foo/include > >> >> --with-boost-lib=/home/foo/lib > >> >> 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 > >> >> > >> >> Could you please help how to resolve this error. I executed > the code > >> >> to install boost already as provided in the instruction page. > >> >> > >> >> > >> >> _______________________________________________ > >> >> QuantLib-users mailing list > >> >> Qua...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Daniel L. <dan...@gm...> - 2022-05-03 10:25:22
|
Many thanks for your responses. whereis boost returns below location, $ whereis boost boost: /usr/include/boost Where can I see the generated config.log file? Thanks for your time. On Tue, 3 May 2022 at 03:29, Conrad Cole <con...@gm...> wrote: > > whereis boost is the command to find the location of the installed boost header files. > > On 5/2/22 17:08, Luigi Ballabio wrote: > > Can you look inside the generated config.log file and see what compiler error you're getting exactly? > > Luigi > > > On Mon, May 2, 2022 at 7:49 PM Daniel Lobo <dan...@gm...> wrote: >> >> Many thanks. >> >> I ran below codes to remove and reinstall boost >> >> sudo apt-get remove libboost-all-dev >> sudo apt-get install libboost-all-dev >> >> boost installed in /usr/include >> >> :/usr/include$ ls >> aio.h complex.h error.h features-time64.h getopt.h >> langinfo.h math.h netdb.h numa.h >> python3.10 setjmp.h string.h time.h video >> aliases.h cpio.h evdns.h fenv.h glob.h >> lastlog.h mcheck.h neteconet numaif.h rdma >> sgtty.h strings.h tirpc wait.h >> alloca.h crypt.h event2 finclude >> gnu-versions.h libgen.h memory.h netinet obstack.h >> re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h >> argp.h ctype.h event.h fmtmsg.h grp.h >> libintl.h misc netipx openvpn regex.h >> signal.h syscall.h uchar.h wctype.h >> argz.h dirent.h evhttp.h fnmatch.h gshadow.h >> libltdl mntent.h netiucv paths.h regexp.h >> sound sysexits.h ucontext.h wordexp.h >> ar.h dlfcn.h evrpc.h fstab.h hwloc >> libnl3 monetary.h netpacket poll.h resolv.h >> spawn.h syslog.h ulimit.h X11 >> arpa drm evutil.h fts.h hwloc.h >> limits.h mqueue.h netrom printf.h rpc >> stab.h tar.h unicode x86_64-linux-gnu >> asm-generic elf.h execinfo.h ftw.h iconv.h >> link.h mtd netrose proc_service.h rpcsvc >> stdc-predef.h termio.h unistd.h xen >> assert.h endian.h expat_external.h gcalc-2 ifaddrs.h >> linux net nfs protocols sched.h >> stdint.h termios.h utime.h xorg >> boost >> >> But still get error when I run ./configure >> >> Below is the log that I get >> >> $ ./configure >> 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 >> >> >> Any pointer how to resolve this will be very helpful. >> >> Thanks >> >> On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> wrote: >> > >> > Hi Daniel, >> > >> > Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right? >> > >> > If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost. >> > >> > If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran. >> > >> > Jonathan >> > >> > >> > 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성: >> >> >> >> Hi, >> >> >> >> Many thanks for your response. >> >> >> >> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. >> >> However still I get this error. >> >> >> >> How can I find where the boost is installed and how can I pass that >> >> information './configure ' line? >> >> >> >> Apologies for trivial question if any, as I am not very expert in >> >> Linux ecosystem. >> >> >> >> Thanks and regards, >> >> >> >> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote: >> >> > >> >> > Hi Daniel, >> >> > >> >> > When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? >> >> > >> >> > sudo apt-get install libboost-all-dev >> >> > >> >> > If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. >> >> > >> >> > Jonathan >> >> > >> >> > >> >> > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: >> >> >> >> >> >> Hi, >> >> >> >> >> >> I am trying to install Quantlib in my Ubuntu VM. I was following the >> >> >> instructions as provided in >> >> >> https://www.quantlib.org/install/linux.shtml >> >> >> >> >> >> But this installation failed when I executed >> >> >> >> >> >> ./configure --with-boost-include=/home/foo/include >> >> >> --with-boost-lib=/home/foo/lib >> >> >> >> >> >> >> >> >> >> >> >> The error I got is >> >> >> >> >> >> $ ./configure --with-boost-include=/home/foo/include >> >> >> --with-boost-lib=/home/foo/lib >> >> >> 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 >> >> >> >> >> >> Could you please help how to resolve this error. I executed the code >> >> >> to install boost already as provided in the instruction page. >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> QuantLib-users mailing list >> >> >> Qua...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> >> >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Daniel L. <dan...@gm...> - 2022-05-03 10:56:25
|
Also, given that my boost location is /usr/include/boost, how can I execute ./configure again with the boost lib and include flags using the proper directories? What will be the right code? Thanks, On Tue, 3 May 2022 at 15:54, Daniel Lobo <dan...@gm...> wrote: > > Many thanks for your responses. > > whereis boost returns below location, > > $ whereis boost > boost: /usr/include/boost > > Where can I see the generated config.log file? > > Thanks for your time. > > > On Tue, 3 May 2022 at 03:29, Conrad Cole <con...@gm...> wrote: > > > > whereis boost is the command to find the location of the installed boost header files. > > > > On 5/2/22 17:08, Luigi Ballabio wrote: > > > > Can you look inside the generated config.log file and see what compiler error you're getting exactly? > > > > Luigi > > > > > > On Mon, May 2, 2022 at 7:49 PM Daniel Lobo <dan...@gm...> wrote: > >> > >> Many thanks. > >> > >> I ran below codes to remove and reinstall boost > >> > >> sudo apt-get remove libboost-all-dev > >> sudo apt-get install libboost-all-dev > >> > >> boost installed in /usr/include > >> > >> :/usr/include$ ls > >> aio.h complex.h error.h features-time64.h getopt.h > >> langinfo.h math.h netdb.h numa.h > >> python3.10 setjmp.h string.h time.h video > >> aliases.h cpio.h evdns.h fenv.h glob.h > >> lastlog.h mcheck.h neteconet numaif.h rdma > >> sgtty.h strings.h tirpc wait.h > >> alloca.h crypt.h event2 finclude > >> gnu-versions.h libgen.h memory.h netinet obstack.h > >> re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h > >> argp.h ctype.h event.h fmtmsg.h grp.h > >> libintl.h misc netipx openvpn regex.h > >> signal.h syscall.h uchar.h wctype.h > >> argz.h dirent.h evhttp.h fnmatch.h gshadow.h > >> libltdl mntent.h netiucv paths.h regexp.h > >> sound sysexits.h ucontext.h wordexp.h > >> ar.h dlfcn.h evrpc.h fstab.h hwloc > >> libnl3 monetary.h netpacket poll.h resolv.h > >> spawn.h syslog.h ulimit.h X11 > >> arpa drm evutil.h fts.h hwloc.h > >> limits.h mqueue.h netrom printf.h rpc > >> stab.h tar.h unicode x86_64-linux-gnu > >> asm-generic elf.h execinfo.h ftw.h iconv.h > >> link.h mtd netrose proc_service.h rpcsvc > >> stdc-predef.h termio.h unistd.h xen > >> assert.h endian.h expat_external.h gcalc-2 ifaddrs.h > >> linux net nfs protocols sched.h > >> stdint.h termios.h utime.h xorg > >> boost > >> > >> But still get error when I run ./configure > >> > >> Below is the log that I get > >> > >> $ ./configure > >> 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 > >> > >> > >> Any pointer how to resolve this will be very helpful. > >> > >> Thanks > >> > >> On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> wrote: > >> > > >> > Hi Daniel, > >> > > >> > Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right? > >> > > >> > If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost. > >> > > >> > If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran. > >> > > >> > Jonathan > >> > > >> > > >> > 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성: > >> >> > >> >> Hi, > >> >> > >> >> Many thanks for your response. > >> >> > >> >> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. > >> >> However still I get this error. > >> >> > >> >> How can I find where the boost is installed and how can I pass that > >> >> information './configure ' line? > >> >> > >> >> Apologies for trivial question if any, as I am not very expert in > >> >> Linux ecosystem. > >> >> > >> >> Thanks and regards, > >> >> > >> >> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote: > >> >> > > >> >> > Hi Daniel, > >> >> > > >> >> > When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? > >> >> > > >> >> > sudo apt-get install libboost-all-dev > >> >> > > >> >> > If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. > >> >> > > >> >> > Jonathan > >> >> > > >> >> > > >> >> > 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: > >> >> >> > >> >> >> Hi, > >> >> >> > >> >> >> I am trying to install Quantlib in my Ubuntu VM. I was following the > >> >> >> instructions as provided in > >> >> >> https://www.quantlib.org/install/linux.shtml > >> >> >> > >> >> >> But this installation failed when I executed > >> >> >> > >> >> >> ./configure --with-boost-include=/home/foo/include > >> >> >> --with-boost-lib=/home/foo/lib > >> >> >> > >> >> >> > >> >> >> > >> >> >> The error I got is > >> >> >> > >> >> >> $ ./configure --with-boost-include=/home/foo/include > >> >> >> --with-boost-lib=/home/foo/lib > >> >> >> 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 > >> >> >> > >> >> >> Could you please help how to resolve this error. I executed the code > >> >> >> to install boost already as provided in the instruction page. > >> >> >> > >> >> >> > >> >> >> _______________________________________________ > >> >> >> QuantLib-users mailing list > >> >> >> Qua...@li... > >> >> >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > >> > >> > >> _______________________________________________ > >> QuantLib-users mailing list > >> Qua...@li... > >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > > > > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Conrad C. <con...@gm...> - 2022-05-03 11:13:24
|
./configure --with-boost-include=usr/include/boost --with-boost-lib=/usr/lib/x86_64-linux-gnu The config.log file should be in whatever directory you ran the configure script. On 5/3/22 06:55, Daniel Lobo wrote: > Also, given that my boost location is /usr/include/boost, how can I > execute ./configure again with the boost lib and include flags using > the proper directories? What will be the right code? > > Thanks, > > On Tue, 3 May 2022 at 15:54, Daniel Lobo <dan...@gm...> wrote: >> Many thanks for your responses. >> >> whereis boost returns below location, >> >> $ whereis boost >> boost: /usr/include/boost >> >> Where can I see the generated config.log file? >> >> Thanks for your time. >> >> >> On Tue, 3 May 2022 at 03:29, Conrad Cole <con...@gm...> wrote: >>> whereis boost is the command to find the location of the installed boost header files. >>> >>> On 5/2/22 17:08, Luigi Ballabio wrote: >>> >>> Can you look inside the generated config.log file and see what compiler error you're getting exactly? >>> >>> Luigi >>> >>> >>> On Mon, May 2, 2022 at 7:49 PM Daniel Lobo <dan...@gm...> wrote: >>>> Many thanks. >>>> >>>> I ran below codes to remove and reinstall boost >>>> >>>> sudo apt-get remove libboost-all-dev >>>> sudo apt-get install libboost-all-dev >>>> >>>> boost installed in /usr/include >>>> >>>> :/usr/include$ ls >>>> aio.h complex.h error.h features-time64.h getopt.h >>>> langinfo.h math.h netdb.h numa.h >>>> python3.10 setjmp.h string.h time.h video >>>> aliases.h cpio.h evdns.h fenv.h glob.h >>>> lastlog.h mcheck.h neteconet numaif.h rdma >>>> sgtty.h strings.h tirpc wait.h >>>> alloca.h crypt.h event2 finclude >>>> gnu-versions.h libgen.h memory.h netinet obstack.h >>>> re_comp.h shadow.h sudo_plugin.h ttyent.h wchar.h >>>> argp.h ctype.h event.h fmtmsg.h grp.h >>>> libintl.h misc netipx openvpn regex.h >>>> signal.h syscall.h uchar.h wctype.h >>>> argz.h dirent.h evhttp.h fnmatch.h gshadow.h >>>> libltdl mntent.h netiucv paths.h regexp.h >>>> sound sysexits.h ucontext.h wordexp.h >>>> ar.h dlfcn.h evrpc.h fstab.h hwloc >>>> libnl3 monetary.h netpacket poll.h resolv.h >>>> spawn.h syslog.h ulimit.h X11 >>>> arpa drm evutil.h fts.h hwloc.h >>>> limits.h mqueue.h netrom printf.h rpc >>>> stab.h tar.h unicode x86_64-linux-gnu >>>> asm-generic elf.h execinfo.h ftw.h iconv.h >>>> link.h mtd netrose proc_service.h rpcsvc >>>> stdc-predef.h termio.h unistd.h xen >>>> assert.h endian.h expat_external.h gcalc-2 ifaddrs.h >>>> linux net nfs protocols sched.h >>>> stdint.h termios.h utime.h xorg >>>> boost >>>> >>>> But still get error when I run ./configure >>>> >>>> Below is the log that I get >>>> >>>> $ ./configure >>>> 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 >>>> >>>> >>>> Any pointer how to resolve this will be very helpful. >>>> >>>> Thanks >>>> >>>> On Sun, 1 May 2022 at 13:16, Jonathan Sweemer <sw...@gm...> wrote: >>>>> Hi Daniel, >>>>> >>>>> Just to confirm, you’re no longer running ./configure with the —with-boost-include and —with-boost-lib flags right? >>>>> >>>>> If so then I would expect the configure script to find your boost installation. Please check that you see boost headers in /usr/include/boost and if not, try reinstalling boost. >>>>> >>>>> If you’re still unable to get ./configure to find boost then please attach the full output including all the commands that you ran. >>>>> >>>>> Jonathan >>>>> >>>>> >>>>> 2022년 5월 1일 (일) 15:41, Daniel Lobo <dan...@gm...>님이 작성: >>>>>> Hi, >>>>>> >>>>>> Many thanks for your response. >>>>>> >>>>>> Yes I ran 'sudo apt-get install libboost-all-dev' to install boost. >>>>>> However still I get this error. >>>>>> >>>>>> How can I find where the boost is installed and how can I pass that >>>>>> information './configure ' line? >>>>>> >>>>>> Apologies for trivial question if any, as I am not very expert in >>>>>> Linux ecosystem. >>>>>> >>>>>> Thanks and regards, >>>>>> >>>>>> On Sun, 1 May 2022 at 11:53, Jonathan Sweemer <sw...@gm...> wrote: >>>>>>> Hi Daniel, >>>>>>> >>>>>>> When you say that you “install[ed] boost already as provided in the instruction page” do you mean that you ran the following command? >>>>>>> >>>>>>> sudo apt-get install libboost-all-dev >>>>>>> >>>>>>> If so then you shouldn’t need to use the —with-boost-include and —with-boost-lib flags when configuring QuantLib. As the install guide mentions, you only need those flags when you install boost in a non-standard location. >>>>>>> >>>>>>> Jonathan >>>>>>> >>>>>>> >>>>>>> 2022년 5월 1일 (일) 02:25, Daniel Lobo <dan...@gm...>님이 작성: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I am trying to install Quantlib in my Ubuntu VM. I was following the >>>>>>>> instructions as provided in >>>>>>>> https://www.quantlib.org/install/linux.shtml >>>>>>>> >>>>>>>> But this installation failed when I executed >>>>>>>> >>>>>>>> ./configure --with-boost-include=/home/foo/include >>>>>>>> --with-boost-lib=/home/foo/lib >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> The error I got is >>>>>>>> >>>>>>>> $ ./configure --with-boost-include=/home/foo/include >>>>>>>> --with-boost-lib=/home/foo/lib >>>>>>>> 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 >>>>>>>> >>>>>>>> Could you please help how to resolve this error. I executed the code >>>>>>>> to install boost already as provided in the instruction page. >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> QuantLib-users mailing list >>>>>>>> Qua...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>> >>>> _______________________________________________ >>>> QuantLib-users mailing list >>>> Qua...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>> >>> >>> _______________________________________________ >>> QuantLib-users mailing list >>> Qua...@li... >>> https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Daniel L. <dan...@gm...> - 2022-05-04 04:50:51
|
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 std::function])
AC_ARG_ENABLE([std-function],
AS_HELP_STRING([--enable-std-function],
[If enabled, std::function and std::bind will be
used instead of boost::function and boost::bind.
If disabled (the default) the Boost facilities
are used.]),
[ql_use_std_function=$enableval],
[ql_use_std_function=no])
if test "$ql_use_std_function" = "yes" ; then
AC_DEFINE([QL_USE_STD_FUNCTION],[1],
[Define this if you want to use std::function and std::bind.])
fi
AC_MSG_RESULT([$ql_use_std_function])
AC_MSG_CHECKING([whether to enable std::tuple])
AC_ARG_ENABLE([std-tuple],
AS_HELP_STRING([--enable-std-tuple],
[If enabled, std::tuple and related functions
will be used instead of boost::tuple.
If disabled (the default) the Boost facilities
are used.]),
[ql_use_std_tuple=$enableval],
[ql_use_std_tuple=no])
if test "$ql_use_std_tuple" = "yes" ; then
AC_DEFINE([QL_USE_STD_TUPLE],[1],
[Define this if you want to use std::tuple.])
fi
AC_MSG_RESULT([$ql_use_std_pointers])
AC_MSG_CHECKING([whether to enable available std classes])
AC_ARG_ENABLE([std-classes],
AS_HELP_STRING([--enable-std-classes],
[This is a shortcut for --enable-std-pointers
--enable-std-unique-ptr --enable-std-function
--enable-std-tuple.
If enabled, this supersedes any --disable
option passed for the above.]),
[ql_use_std_classes=$enableval],
[ql_use_std_classes=no])
if test "$ql_use_std_classes" = "yes" ; then
AC_DEFINE([QL_USE_STD_SHARED_PTR],[1],
[Define this if you want to use standard smart pointers.])
AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1],
[Define this if you want to replace std::auto_ptr with
std::unique_ptr.])
AC_DEFINE([QL_USE_STD_FUNCTION],[1],
[Define this if you want to use std::function and std::bind.])
AC_DEFINE([QL_USE_STD_TUPLE],[1],
[Define this if you want to use std::tuple.])
fi
AC_MSG_RESULT([$ql_use_std_classes])
AC_MSG_CHECKING([whether to enable the Disposable class template])
AC_ARG_ENABLE([disposable],
AS_HELP_STRING([--enable-disposable],
[If enabled, the Disposable class
template will be used;
this should be no longer necessary in C++11
and might interfere with compiler optimizations.
If disabled (the default) the class will only
be an alias for the underlying type.]),
[ql_use_disposable=$enableval],
[ql_use_disposable=no])
if test "$ql_use_disposable" = "yes" ; then
AC_DEFINE([QL_USE_DISPOSABLE],[1],
[Define this if you want to use the Disposable class template.])
fi
AC_MSG_RESULT([$ql_use_disposable])
# manual configurations for specific hosts
case $host in
powerpc-apple-darwin*)
AC_DEFINE([QL_PATCH_DARWIN],[1],
[Define if running on a Mac OS X machine.])
;;
sparc-sun-solaris*)
AC_DEFINE([QL_PATCH_SOLARIS],[1],
[Define if running on a Sun Solaris machine.])
;;
esac
# done, output the configured files
AC_CONFIG_FILES([
Makefile
ql/Makefile
ql/cashflows/Makefile
ql/currencies/Makefile
ql/experimental/Makefile
ql/experimental/amortizingbonds/Makefile
ql/experimental/asian/Makefile
ql/experimental/averageois/Makefile
ql/experimental/barrieroption/Makefile
ql/experimental/basismodels/Makefile
ql/experimental/callablebonds/Makefile
ql/experimental/catbonds/Makefile
ql/experimental/commodities/Makefile
ql/experimental/coupons/Makefile
ql/experimental/credit/Makefile
ql/experimental/exoticoptions/Makefile
ql/experimental/finitedifferences/Makefile
ql/experimental/forward/Makefile
ql/experimental/fx/Makefile
ql/experimental/inflation/Makefile
ql/experimental/lattices/Makefile
ql/experimental/math/Makefile
ql/experimental/mcbasket/Makefile
ql/experimental/models/Makefile
ql/experimental/processes/Makefile
ql/experimental/risk/Makefile
ql/experimental/shortrate/Makefile
ql/experimental/swaptions/Makefile
ql/experimental/termstructures/Makefile
ql/experimental/variancegamma/Makefile
ql/experimental/varianceoption/Makefile
ql/experimental/volatility/Makefile
ql/indexes/Makefile
ql/indexes/ibor/Makefile
ql/indexes/inflation/Makefile
ql/indexes/swap/Makefile
ql/instruments/Makefile
ql/instruments/bonds/Makefile
ql/legacy/Makefile
ql/legacy/libormarketmodels/Makefile
ql/math/Makefile
ql/math/copulas/Makefile
ql/math/distributions/Makefile
ql/math/integrals/Makefile
ql/math/interpolations/Makefile
ql/math/matrixutilities/Makefile
ql/math/ode/Makefile
ql/math/optimization/Makefile
ql/math/randomnumbers/Makefile
ql/math/solvers1d/Makefile
ql/math/statistics/Makefile
ql/methods/Makefile
ql/methods/finitedifferences/Makefile
ql/methods/finitedifferences/meshers/Makefile
ql/methods/finitedifferences/operators/Makefile
ql/methods/finitedifferences/schemes/Makefile
ql/methods/finitedifferences/solvers/Makefile
ql/methods/finitedifferences/stepconditions/Makefile
ql/methods/finitedifferences/utilities/Makefile
ql/methods/lattices/Makefile
ql/methods/montecarlo/Makefile
ql/models/Makefile
ql/models/equity/Makefile
ql/models/marketmodels/Makefile
ql/models/marketmodels/browniangenerators/Makefile
ql/models/marketmodels/callability/Makefile
ql/models/marketmodels/correlations/Makefile
ql/models/marketmodels/curvestates/Makefile
ql/models/marketmodels/driftcomputation/Makefile
ql/models/marketmodels/evolvers/Makefile
ql/models/marketmodels/evolvers/volprocesses/Makefile
ql/models/marketmodels/models/Makefile
ql/models/marketmodels/pathwisegreeks/Makefile
ql/models/marketmodels/products/Makefile
ql/models/marketmodels/products/onestep/Makefile
ql/models/marketmodels/products/multistep/Makefile
ql/models/marketmodels/products/pathwise/Makefile
ql/models/shortrate/Makefile
ql/models/shortrate/calibrationhelpers/Makefile
ql/models/shortrate/onefactormodels/Makefile
ql/models/shortrate/twofactormodels/Makefile
ql/models/volatility/Makefile
ql/patterns/Makefile
ql/pricingengines/Makefile
ql/pricingengines/asian/Makefile
ql/pricingengines/barrier/Makefile
ql/pricingengines/basket/Makefile
ql/pricingengines/bond/Makefile
ql/pricingengines/capfloor/Makefile
ql/pricingengines/cliquet/Makefile
ql/pricingengines/credit/Makefile
ql/pricingengines/forward/Makefile
ql/pricingengines/inflation/Makefile
ql/pricingengines/lookback/Makefile
ql/pricingengines/quanto/Makefile
ql/pricingengines/swap/Makefile
ql/pricingengines/swaption/Makefile
ql/pricingengines/vanilla/Makefile
ql/processes/Makefile
ql/quotes/Makefile
ql/termstructures/Makefile
ql/termstructures/credit/Makefile
ql/termstructures/inflation/Makefile
ql/termstructures/volatility/Makefile
ql/termstructures/volatility/equityfx/Makefile
ql/termstructures/volatility/capfloor/Makefile
ql/termstructures/volatility/inflation/Makefile
ql/termstructures/volatility/optionlet/Makefile
ql/termstructures/volatility/swaption/Makefile
ql/termstructures/yield/Makefile
ql/time/Makefile
ql/time/calendars/Makefile
ql/time/daycounters/Makefile
ql/utilities/Makefile
man/Mak...
[truncated message content] |
|
From: Luigi B. <lui...@gm...> - 2022-05-04 07:55:32
|
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 std::function]) > AC_ARG_ENABLE([std-function], > AS_HELP_STRING([--enable-std-function], > [If enabled, std::function and std::bind will > be > used instead of boost::function and > boost::bind. > If disabled (the default) the Boost > facilities > are used.]), > [ql_use_std_function=$enableval], > [ql_use_std_function=no]) > if test "$ql_use_std_function" = "yes" ; then > AC_DEFINE([QL_USE_STD_FUNCTION],[1], > [Define this if you want to use std::function and std::bind.]) > fi > AC_MSG_RESULT([$ql_use_std_function]) > > > AC_MSG_CHECKING([whether to enable std::tuple]) > AC_ARG_ENABLE([std-tuple], > AS_HELP_STRING([--enable-std-tuple], > [If enabled, std::tuple and related functions > will be used instead of boost::tuple. > If disabled (the default) the Boost > facilities > are used.]), > [ql_use_std_tuple=$enableval], > [ql_use_std_tuple=no]) > if test "$ql_use_std_tuple" = "yes" ; then > AC_DEFINE([QL_USE_STD_TUPLE],[1], > [Define this if you want to use std::tuple.]) > fi > AC_MSG_RESULT([$ql_use_std_pointers]) > > AC_MSG_CHECKING([whether to enable available std classes]) > AC_ARG_ENABLE([std-classes], > AS_HELP_STRING([--enable-std-classes], > [This is a shortcut for --enable-std-pointers > --enable-std-unique-ptr --enable-std-function > --enable-std-tuple. > If enabled, this supersedes any --disable > option passed for the above.]), > [ql_use_std_classes=$enableval], > [ql_use_std_classes=no]) > if test "$ql_use_std_classes" = "yes" ; then > AC_DEFINE([QL_USE_STD_SHARED_PTR],[1], > [Define this if you want to use standard smart pointers.]) > AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1], > [Define this if you want to replace std::auto_ptr with > std::unique_ptr.]) > AC_DEFINE([QL_USE_STD_FUNCTION],[1], > [Define this if you want to use std::function and std::bind.]) > AC_DEFINE([QL_USE_STD_TUPLE],[1], > [Define this if you want to use std::tuple.]) > fi > AC_MSG_RESULT([$ql_use_std_classes]) > > > AC_MSG_CHECKING([whether to enable the Disposable class template]) > AC_ARG_ENABLE([disposable], > AS_HELP_STRING([--enable-disposable], > [If enabled, the Disposable class > template will be used; > this should be no longer necessary in C++11 > and might interfere with compiler > optimizations. > If disabled (the default) the class will only > be an alias for the underlying type.]), > [ql_use_disposable=$enableval], > [ql_use_disposable=no]) > if test "$ql_use_disposable" = "yes" ; then > AC_DEFINE([QL_USE_DISPOSABLE],[1], > [Define this if you want to use the Disposable class > template.]) > fi > AC_MSG_RESULT([$ql_use_disposable]) > > > # manual configurations for specific hosts > case $host in > powerpc-apple-darwin*) > AC_DEFINE([QL_PATCH_DARWIN],[1], > [Define if running on a Mac OS X machine.]) > ;; > sparc-sun-solaris*) > AC_DEFINE([QL_PATCH_SOLARIS],[1], > [Define if running on a Sun Solaris machine.]) > ;; > esac > > > # done, output the configured files > AC_CONFIG_FILES([ > Makefile > ql/Makefile > ql/cashflows/Makefile > ql/currencies/Makefile > ql/experimental/Makefile > ql/experimental/amortizingbonds/Makefile > ql/experimental/asian/Makefile > ql/experimental/averageois/Makefile > ql/experimental/barrieroption/Makefile > ql/experimental/basismodels/Makefile > ql/experimental/callablebonds/Makefile > ql/experimental/catbonds/Makefile > ql/experimental/commodities/Makefile > ql/experimental/coupons/Makefile > ql/experimental/credit/Makefile > ql/experimental/exoticoptions/Makefile > ql/experimental/finitedifferences/Makefile > ql/experimental/forward/Makefile > ql/experimental/fx/Makefile > ql/experimental/inflation/Makefile > ql/experimental/lattices/Makefile > ql/experimental/math/Makefile > ql/experimental/mcbasket/Makefile > ql/experimental/models/Makefile > ql/experimental/processes/Makefile > ql/experimental/risk/Makefile > ql/experimental/shortrate/Makefile > ql/experimental/swaptions/Makefile > ql/experimental/termstructures/Makefile > ql/experimental/variancegamma/Makefile > ql/experimental/varianceoption/Makefile > ql/experimental/volatility/Makefile > ql/indexes/Makefile > ql/indexes/ibor/Makefile > ql/indexes/inflation/Makefile > ql/indexes/swap/Makefile > ql/instruments/Makefile > ql/instruments/bonds/Makefile > ql/legacy/Makefile > ql/legacy/libormarketmodels/Makefile > ql/math/Makefile > ql/math/copulas/Makefile > ql/math/distributions/Makefile > ql/math/integrals/Makefile > ql/math/interpolations/Makefile > ql/math/matrixutilities/Makefile > ql/math/ode/Makefile > ql/math/optimization/Makefile > ql/math/randomnumbers/Makefile > ql/math/solvers1d/Makefile > ql/math/statistics/Makefile > ql/methods/Makefile > ql/methods/finitedifferences/Makefile > ql/methods/finitedifferences/meshers/Makefile > ql/methods/finitedifferences/operators/Makefile > ql/methods/finitedifferences/schemes/Makefile > ql/methods/finitedifferences/solvers/Makefile > ql/methods/finitedifferences/stepconditions/Makefile > ql/methods/finitedifferences/utilities/Makefile > ql/methods/lattices/Makefile > ql/methods/montecarlo/Makefile > ql/models/Makefile > ql/models/equity/Makefile > ql/models/marketmodels/Makefile > ql/models/marketmodels/browniangenerators/Makefile > ql/models/marketmodels/callability/Makefile > ql/models/marketmodels/correlations/Makefile > ql/models/marketmodels/curvestates/Makefile > ql/models/marketmodels/driftcomputation/Makefile > ql/models/marketmodels/evolvers/Makefile > ql/models/marketmodels/evolvers/volprocesses/Makefile > ql/models/marketmodels/models/Makefile > ql/models/marketmodels/pathwisegreeks/Makefile > ql/models/marketmodels/products/Makefile > ql/models/marketmodels/products/onestep/Makefi... [truncated message content] |
|
From: Christofer B. <bog...@gm...> - 2022-05-04 08:23:41
Attachments:
All files.png
|
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 std::function]) >> AC_ARG_ENABLE([std-function], >> AS_HELP_STRING([--enable-std-function], >> [If enabled, std::function and std::bind will be >> used instead of boost::function and boost::bind. >> If disabled (the default) the Boost facilities >> are used.]), >> [ql_use_std_function=$enableval], >> [ql_use_std_function=no]) >> if test "$ql_use_std_function" = "yes" ; then >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], >> [Define this if you want to use std::function and std::bind.]) >> fi >> AC_MSG_RESULT([$ql_use_std_function]) >> >> >> AC_MSG_CHECKING([whether to enable std::tuple]) >> AC_ARG_ENABLE([std-tuple], >> AS_HELP_STRING([--enable-std-tuple], >> [If enabled, std::tuple and related functions >> will be used instead of boost::tuple. >> If disabled (the default) the Boost facilities >> are used.]), >> [ql_use_std_tuple=$enableval], >> [ql_use_std_tuple=no]) >> if test "$ql_use_std_tuple" = "yes" ; then >> AC_DEFINE([QL_USE_STD_TUPLE],[1], >> [Define this if you want to use std::tuple.]) >> fi >> AC_MSG_RESULT([$ql_use_std_pointers]) >> >> AC_MSG_CHECKING([whether to enable available std classes]) >> AC_ARG_ENABLE([std-classes], >> AS_HELP_STRING([--enable-std-classes], >> [This is a shortcut for --enable-std-pointers >> --enable-std-unique-ptr --enable-std-function >> --enable-std-tuple. >> If enabled, this supersedes any --disable >> option passed for the above.]), >> [ql_use_std_classes=$enableval], >> [ql_use_std_classes=no]) >> if test "$ql_use_std_classes" = "yes" ; then >> AC_DEFINE([QL_USE_STD_SHARED_PTR],[1], >> [Define this if you want to use standard smart pointers.]) >> AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1], >> [Define this if you want to replace std::auto_ptr with >> std::unique_ptr.]) >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], >> [Define this if you want to use std::function and std::bind.]) >> AC_DEFINE([QL_USE_STD_TUPLE],[1], >> [Define this if you want to use std::tuple.]) >> fi >> AC_MSG_RESULT([$ql_use_std_classes]) >> >> >> AC_MSG_CHECKING([whether to enable the Disposable class template]) >> AC_ARG_ENABLE([disposable], >> AS_HELP_STRING([--enable-disposable], >> [If enabled, the Disposable class >> template will be used; >> this should be no longer necessary in C++11 >> and might interfere with compiler optimizations. >> If disabled (the default) the class will only >> be an alias for the underlying type.]), >> [ql_use_disposable=$enableval], >> [ql_use_disposable=no]) >> if test "$ql_use_disposable" = "yes" ; then >> AC_DEFINE([QL_USE_DISPOSABLE],[1], >> [Define this if you want to use the Disposable class template.]) >> fi >> AC_MSG_RESULT([$ql_use_disposable]) >> >> >> # manual configurations for specific hosts >> case $host in >> powerpc-apple-darwin*) >> AC_DEFINE([QL_PATCH_DARWIN],[1], >> [Define if running on a Mac OS X machine.]) >> ;; >> sparc-sun-solaris*) >> AC_DEFINE([QL_PATCH_SOLARIS],[1], >> [Define if running on a Sun Solaris machine.]) >> ;; >> esac >> >> >> # done, output the configured files >> AC_CONFIG_FILES([ >> Makefile >> ql/Makefile >> ql/cashflows/Makefile >> ql/currencies/Makefile >> ql/experimental/Makefile >> ql/experimental/amortizingbonds/Makefile >> ql/experimental/asian/Makefile >> ql/experimental/averageois/Makefile >> ql/experimental/barrieroption/Makefile >> ql/experimental/basismodels/Makefile >> ql/experimental/callablebonds/Makefile >> ql/experimental/catbonds/Makefile >> ql/experimental/commodities/Makefile >> ql/experimental/coupons/Makefile >> ql/experimental/credit/Makefile >> ql/experimental/exoticoptions/Makefile >> ql/experimental/finitedifferences/Makefile >> ql/experimental/forward/Makefile >> ql/experimental/fx/Makefile >> ql/experimental/inflation/Makefile >> ql/experimental/lattices/Makefile >> ql/experimental/math/Makefile >> ql/experimental/mcbasket/Makefile >> ql/experimental/models/Makefile >> ql/experimental/processes/Makefile >> ql/experimental/risk/Makefile >> ql/experimental/shortrate/Makefile >> ql/experimental/swaptions/Makefile >> ql/experimental/termstructures/Makefile >> ql/experimental/variancegamma/Makefile >> ql/experimental/varianceoption/Makefile >> ql/experimental/volatility/Makefile >> ql/indexes/Makefile >> ql/indexes/ibor/Makefile >> ql/indexes/inflation/Makefile >> ql/indexes/swap/Makefile >> ql/instruments/Makefile >> ql/instruments/bonds/Makefile >> ql/legacy/Makefile >> ql/legacy/libormarketmodels/Makefile >> ql/math/Makefile >> ql/math/copulas/Makefile >> ql/math/distributions/Makefile >> ql/math/integrals/Makefile >> ql/math/interpolations/Makefile >> ql/math/matrixutilities/Makefile >> ql/math/ode/Makefile >> ql/math/optimization/Makefile >> ql/math/randomnumbers/Makefile >> ql/math/solvers1d/Makefile >> ql/math/statistics/Makefile >> ql/methods/Makefile >> ql/methods/finitedifferences/Makefile >> ql/methods/finitedifferences/meshers/Makef... [truncated message content] |
|
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'\'' -... [truncated message content] |
|
From: Luigi B. <lui...@gm...> - 2022-05-04 09:44:55
|
Ok, here it is: configure:17302: checking for Boost development files configure:17318: g++ -c -std=c++11 conftest.cpp >&5 ./configure: line 1801: g++: command not found It looks like your VM has a minimal setup that doesn't include g++. Installing it should solve the problem. Luigi On Wed, May 4, 2022 at 10:23 AM 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 std::function]) > >> AC_ARG_ENABLE([std-function], > >> AS_HELP_STRING([--enable-std-function], > >> [If enabled, std::function and std::bind > will be > >> used instead of boost::function and > boost::bind. > >> If disabled (the default) the Boost > facilities > >> are used.]), > >> [ql_use_std_function=$enableval], > >> [ql_use_std_function=no]) > >> if test "$ql_use_std_function" = "yes" ; then > >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], > >> [Define this if you want to use std::function and > std::bind.]) > >> fi > >> AC_MSG_RESULT([$ql_use_std_function]) > >> > >> > >> AC_MSG_CHECKING([whether to enable std::tuple]) > >> AC_ARG_ENABLE([std-tuple], > >> AS_HELP_STRING([--enable-std-tuple], > >> [If enabled, std::tuple and related > functions > >> will be used instead of boost::tuple. > >> If disabled (the default) the Boost > facilities > >> are used.]), > >> [ql_use_std_tuple=$enableval], > >> [ql_use_std_tuple=no]) > >> if test "$ql_use_std_tuple" = "yes" ; then > >> AC_DEFINE([QL_USE_STD_TUPLE],[1], > >> [Define this if you want to use std::tuple.]) > >> fi > >> AC_MSG_RESULT([$ql_use_std_pointers]) > >> > >> AC_MSG_CHECKING([whether to enable available std classes]) > >> AC_ARG_ENABLE([std-classes], > >> AS_HELP_STRING([--enable-std-classes], > >> [This is a shortcut for > --enable-std-pointers > >> --enable-std-unique-ptr > --enable-std-function > >> --enable-std-tuple. > >> If enabled, this supersedes any --disable > >> option passed for the above.]), > >> [ql_use_std_classes=$enableval], > >> [ql_use_std_classes=no]) > >> if test "$ql_use_std_classes" = "yes" ; then > >> AC_DEFINE([QL_USE_STD_SHARED_PTR],[1], > >> [Define this if you want to use standard smart pointers.]) > >> AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1], > >> [Define this if you want to replace std::auto_ptr with > >> std::unique_ptr.]) > >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], > >> [Define this if you want to use std::function and > std::bind.]) > >> AC_DEFINE([QL_USE_STD_TUPLE],[1], > >> [Define this if you want to use std::tuple.]) > >> fi > >> AC_MSG_RESULT([$ql_use_std_classes]) > >> > >> > >> AC_MSG_CHECKING([whether to enable the Disposable class template]) > >> AC_ARG_ENABLE([disposable], > >> AS_HELP_STRING([--enable-disposable], > >> [If enabled, the Disposable class > >> template will be used; > >> this should be no longer necessary in > C++11 > >> and might interfere with compiler > optimizations. > >> If disabled (the default) the class will > only > >> be an alias for the underlying type.]), > >> [ql_use_disposable=$enableval], > >> [ql_use_disposable=no]) > >> if test "$ql_use_disposable" = "yes" ; then > >> AC_DEFINE([QL_USE_DISPOSABLE],[1], > >> [Define this if you want to use the Disposable class > template.]) > >> fi > >> AC_MSG_RESULT([$ql_use_disposable]) > >> > >> > >> # manual configurations for specific hosts > >> case $host in > >> powerpc-apple-darwin*) > >> AC_DEFINE([QL_PATCH_DARWIN],[1], > >> [Define if running on a Mac OS X machine.]) > >> ;; > >> sparc-sun-solaris*) > >> AC_DEFINE([QL_PATCH_SOLARIS],[1], > >> [Define if running on a Sun Solaris machine.]) > >> ;; > >> esac > >> > >> > >> # done, output the configured files > >> AC_CONFIG_FILES([ > >> Makefile > >> ql/Makefile > >> ql/cashflows/Makefile > >> ql/currencies/Makefile > >> ql/experimental/Makefile > >> ql/experimental/amortizingbonds/Makefile > >> ql/experimental/asian/Makefile > >> ql/experimental/averageois/Makefile > >> ql/experimental/barrieroption/Makefile > >... [truncated message content] |
|
From: Christofer B. <bog...@gm...> - 2022-05-04 17:55:00
|
Many thanks Luigi. It solves our problem. On Wed, May 4, 2022 at 3:14 PM Luigi Ballabio <lui...@gm...> wrote: > > Ok, here it is: > > configure:17302: checking for Boost development files > configure:17318: g++ -c -std=c++11 conftest.cpp >&5 > ./configure: line 1801: g++: command not found > > It looks like your VM has a minimal setup that doesn't include g++. Installing it should solve the problem. > > Luigi > > > > > On Wed, May 4, 2022 at 10:23 AM 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 std::function]) >> >> AC_ARG_ENABLE([std-function], >> >> AS_HELP_STRING([--enable-std-function], >> >> [If enabled, std::function and std::bind will be >> >> used instead of boost::function and boost::bind. >> >> If disabled (the default) the Boost facilities >> >> are used.]), >> >> [ql_use_std_function=$enableval], >> >> [ql_use_std_function=no]) >> >> if test "$ql_use_std_function" = "yes" ; then >> >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], >> >> [Define this if you want to use std::function and std::bind.]) >> >> fi >> >> AC_MSG_RESULT([$ql_use_std_function]) >> >> >> >> >> >> AC_MSG_CHECKING([whether to enable std::tuple]) >> >> AC_ARG_ENABLE([std-tuple], >> >> AS_HELP_STRING([--enable-std-tuple], >> >> [If enabled, std::tuple and related functions >> >> will be used instead of boost::tuple. >> >> If disabled (the default) the Boost facilities >> >> are used.]), >> >> [ql_use_std_tuple=$enableval], >> >> [ql_use_std_tuple=no]) >> >> if test "$ql_use_std_tuple" = "yes" ; then >> >> AC_DEFINE([QL_USE_STD_TUPLE],[1], >> >> [Define this if you want to use std::tuple.]) >> >> fi >> >> AC_MSG_RESULT([$ql_use_std_pointers]) >> >> >> >> AC_MSG_CHECKING([whether to enable available std classes]) >> >> AC_ARG_ENABLE([std-classes], >> >> AS_HELP_STRING([--enable-std-classes], >> >> [This is a shortcut for --enable-std-pointers >> >> --enable-std-unique-ptr --enable-std-function >> >> --enable-std-tuple. >> >> If enabled, this supersedes any --disable >> >> option passed for the above.]), >> >> [ql_use_std_classes=$enableval], >> >> [ql_use_std_classes=no]) >> >> if test "$ql_use_std_classes" = "yes" ; then >> >> AC_DEFINE([QL_USE_STD_SHARED_PTR],[1], >> >> [Define this if you want to use standard smart pointers.]) >> >> AC_DEFINE([QL_USE_STD_UNIQUE_PTR],[1], >> >> [Define this if you want to replace std::auto_ptr with >> >> std::unique_ptr.]) >> >> AC_DEFINE([QL_USE_STD_FUNCTION],[1], >> >> [Define this if you want to use std::function and std::bind.]) >> >> AC_DEFINE([QL_USE_STD_TUPLE],[1], >> >> [Define this if you want to use std::tuple.]) >> >> fi >> >> AC_MSG_RESULT([$ql_use_std_classes]) >> >> >> >> >> >> AC_MSG_CHECKING([whether to enable the Disposable class template]) >> >> AC_ARG_ENABLE([disposable], >> >> AS_HELP_STRING([--enable-disposable], >> >> [If enabled, the Disposable class >> >> template will be used; >> >> this should be no longer necessary in C++11 >> >> and might interfere with compiler optimizations. >> >> If disabled (the default) the class will only >> >> be an alias for the underlying type.]), >> >> [ql_use_disposable=$enableval], >> >> [ql_use_disposable=no]) >> >> if test "$ql_use_disposable" = "yes" ; then >> >> AC_DEFINE([QL_USE_DISPOSABLE],[1], >> >> [Define this if you want to use the Disposable class template.]) >> >> fi >> >> AC_MSG_RESULT([$ql_use_disposable]) >> >> >> >> >> >> # manual configurations for specific hosts >> >> case $host in >> >> powerpc-apple-darwin*) >> >> AC_DEFINE([QL_PATCH_DARWIN... [truncated message content] |