[MacPorts] #66979: tesseract requires C++11

MacPorts noreply at macports.org
Wed Feb 22 07:32:04 UTC 2023


#66979: tesseract requires C++11
--------------------------+-----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  tesseract
--------------------------+-----------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-4.1.3"
 && ./configure --prefix=/opt/local --disable-silent-rules
 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 /usr/bin/g++-4.2 accepts -g... yes
 checking for /usr/bin/g++-4.2 option to enable C++11 features... none
 needed
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports the include directive... yes (GNU style)
 checking whether make supports nested variables... yes
 checking dependency style of /usr/bin/g++-4.2... gcc3
 checking for a sed that does not truncate output... /opt/local/bin/gsed
 checking Major version... 4
 checking Minor version... 1
 checking Point version... 3
 checking whether make supports nested variables... (cached) yes
 checking build system type... x86_64-apple-darwin10.8.0
 checking host system type... x86_64-apple-darwin10.8.0
 checking whether C++ compiler accepts -Werror=unused-command-line-
 argument... no
 checking whether C++ compiler accepts -mavx... no
 checking whether C++ compiler accepts -mavx2... no
 checking whether C++ compiler accepts -mfma... no
 checking whether C++ compiler accepts -msse4.1... no
 checking --enable-graphics argument...
 checking --enable-legacy argument...
 checking for /usr/bin/g++-4.2 option to support OpenMP... -fopenmp
 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 sys/time.h... yes
 checking for tiffio.h... yes
 checking --enable-opencl argument...
 checking for tensorflow/core/framework/graph.pb.h... no
 checking for OpenCL framework
 checking if -framework OpenCL works... yes
 checking --enable-visibility argument...
 checking whether to use tessdata-prefix... yes
 checking if compiling with clang... no
 checking whether to enable debugging...
 checking whether byte ordering is bigendian... yes
 checking how to print strings... printf
 checking for gcc... /usr/bin/gcc-4.2
 checking whether the compiler supports GNU C... yes
 checking whether /usr/bin/gcc-4.2 accepts -g... yes
 checking for /usr/bin/gcc-4.2 option to enable C11 features... unsupported
 checking for /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
 checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o
 together... yes
 checking dependency style of /usr/bin/gcc-4.2 -std=gnu99... gcc3
 checking for a sed that does not truncate output... (cached)
 /opt/local/bin/gsed
 checking for grep that handles long lines and -e... /opt/local/bin/ggrep
 checking for egrep... /opt/local/bin/ggrep -E
 checking for fgrep... /opt/local/bin/ggrep -F
 checking for ld used by /usr/bin/gcc-4.2 -std=gnu99...
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
 checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is
 GNU ld... no
 checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
 checking the name lister (/opt/local/bin/nm) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 196608
 checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64
 -apple-darwin10.8.0 format... func_convert_file_noop
 checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain
 format... func_convert_file_noop
 checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to
 reload object files... -r
 checking for file... file
 checking for objdump... no
 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... no
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /opt/local/bin/nm output from /usr/bin/gcc-4.2
 -std=gnu99 object... ok
 checking for sysroot... no
 checking for a working dd... /bin/dd
 checking how to truncate binary pipes... /bin/dd bs=4096 count=1
 checking for mt... no
 checking if : is a manifest tool... no
 checking for dsymutil... dsymutil
 checking for nmedit... nmedit
 checking for lipo... lipo
 checking for otool... otool
 checking for otool64... no
 checking for -single_module linker flag... yes
 checking for -exported_symbols_list linker flag... yes
 checking for -force_load linker flag... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-
 exceptions... no
 checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC... -fno-
 common -DPIC
 checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC
 works... yes
 checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works... no
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... yes
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... (cached)
 yes
 checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker
 (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... darwin10.8.0 dyld
 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 how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
 checking for ld used by /usr/bin/g++-4.2... /usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld
 checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is
 GNU ld... no
 checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) supports shared libraries... yes
 checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common -DPIC
 checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works... yes
 checking if /usr/bin/g++-4.2 static flag -static works... no
 checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
 checking if /usr/bin/g++-4.2 supports -c -o file.o... (cached) yes
 checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) supports shared libraries... yes
 checking dynamic linker characteristics... darwin10.8.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether C++ compiler accepts -std=c++11... no
 checking whether C++ compiler accepts -std=c++14... no
 checking whether C++ compiler accepts -std=c++17... no
 configure: error: Your compiler does not have the necessary C++11 support!
 Cannot proceed.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66979>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list