mingw configure: WARNING: boost/program_options.hpp: present but cannot be compiled (boost is broken)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Expired
|
Low
|
Unassigned |
Bug Description
$ uname -a
CYGWIN_NT-5.1 milind 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
$ ./configure CC=i686-
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... i686-pc-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-mingw32-gcc accepts -g... yes
checking for i686-pc-mingw32-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-mingw32-cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking how to create a ustar tar archive... gnutar
checking dependency style of i686-pc-
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by i686-pc-
checking if the linker (/usr/i686-
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... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_
checking how to convert i686-pc-cygwin file names to toolchain format... func_convert_
checking for /usr/i686-
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-mingw32-gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if i686-pc-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-pc-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-pc-mingw32-gcc static flag -static works... yes
checking if i686-pc-mingw32-gcc supports -c -o file.o... yes
checking if i686-pc-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-mingw32-gcc linker (/usr/i686-
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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... no
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-mingw32-g++ accepts -g... yes
checking dependency style of i686-pc-
checking how to run the C++ preprocessor... i686-pc-mingw32-g++ -E
checking for ld used by i686-pc-
checking if the linker (/usr/i686-
checking whether the i686-pc-mingw32-g++ linker (/usr/i686-
checking for i686-pc-mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-pc-mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-pc-mingw32-g++ static flag -static works... yes
checking if i686-pc-mingw32-g++ supports -c -o file.o... yes
checking if i686-pc-mingw32-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-mingw32-g++ linker (/usr/i686-
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... no
checking whether __SUNPRO_C is declared... no
checking whether __ICC is declared... no
checking whether make supports nested variables... yes
checking "C Compiler version--yes"... "i686-pc-
checking "C++ Compiler version"... "i686-pc-
checking for ISO C++ 98 include files...
checking for Boost headers version >= 1.39.0... /usr/include
checking for Boost's header version... 1_48
checking for the toolset name used by Boost for i686-pc-
checking boost/program_
checking boost/program_
configure: WARNING: boost/program_
configure: WARNING: boost/program_
configure: WARNING: boost/program_
configure: WARNING: boost/program_
configure: WARNING: boost/program_
configure: WARNING: ## -------
configure: WARNING: ## Report this to https:/
configure: WARNING: ## -------
checking for boost/program_
configure: error: cannot find boost/program_
summary: |
- configure: WARNING: boost/program_options.hpp: present but cannot be - compiled + mingw configure: WARNING: boost/program_options.hpp: present but cannot + be compiled (boost is broken) |
Can you provide your config.log?
Thanks,
-Brian
On Oct 11, 2012, at 7:02 AM, Milind Changire <email address hidden> wrote:
> Public bug reported: pc-mingw32- gcc CXX=i686- pc-mingw32- g++ CPP=i686- pc-mingw32- cpp CXXCPP= "i686-pc- mingw32- g++ -E" AR=i686- pc-mingw32- ar AS=i686- pc-mingw32- as mingw32- gcc... gcc3 mingw32- gcc... /usr/i686- pc-mingw32/ bin/ld. exe pc-mingw32/ bin/ld. exe) is GNU ld... yes file_noop file_noop pc-mingw32/ bin/ld. exe option to reload object files... -r
>
> $ uname -a
> CYGWIN_NT-5.1 milind 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
>
>
> $ ./configure CC=i686-
> checking build system type... i686-pc-cygwin
> checking host system type... i686-pc-cygwin
> checking target system type... i686-pc-cygwin
> checking for gcc... i686-pc-mingw32-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.exe
> checking for suffix of executables... .exe
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether i686-pc-mingw32-gcc accepts -g... yes
> checking for i686-pc-mingw32-gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... i686-pc-mingw32-cpp
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking how to create a ustar tar archive... gnutar
> checking dependency style of i686-pc-
> checking how to print strings... printf
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by i686-pc-
> checking if the linker (/usr/i686-
> 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... 8192
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_
> checking how to convert i686-pc-cygwin file names to toolchain format... func_convert_
> checking for /usr/i686-
> checking for objdump... objdump
> checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
> che...