|
From: Pedro S. <ped...@gm...> - 2014-06-11 17:07:28
|
Hi, I am trying to compile the libxml++ library. I am having currently the following error: admin@devel ~/libxml++-2.34.2 $ ./configure CC=mingw32-g++ --enable-shared checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports GNU make features... yes checking for g++... g++ 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking how to print strings... printf checking for gcc... mingw32-g++ checking whether we are using the GNU C compiler... yes checking whether mingw32-g++ accepts -g... yes checking for mingw32-g++ option to accept ISO C89... unsupported checking dependency style of mingw32-g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by mingw32-g++... c:/mingw/mingw32/bin/ld.exe checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking whether ln -s works... no, using cp -p 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-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32 checking how to convert i686-pc-mingw32 file names to toolchain format... func_c onvert_file_msys_to_w32 checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r 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_dll_for_imp lib checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /bin/nm -B output from mingw32-g++ object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... mingw32-g++ -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 for dlfcn.h... no checking for as... as checking for dlltool... (cached) dlltool checking for objdump... (cached) objdump checking for objdir... .libs checking if mingw32-g++ supports -fno-rtti -fno-exceptions... yes checking for mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes checking if mingw32-g++ static flag -static works... yes checking if mingw32-g++ supports -c -o file.o... yes checking if mingw32-g++ supports -c -o file.o... (cached) yes checking whether the mingw32-g++ linker (c:/mingw/mingw32/bin/ld.exe) supports s hared libraries... yes 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... c:/mingw/mingw32/bin/ld.exe checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared li braries... yes checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared li braries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for pkg-config... /c/gtk/bin//pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXMLXX... yes checking string usability... no checking string presence... yes configure: WARNING: string: present but cannot be compiled configure: WARNING: string: check for missing prerequisite headers? configure: WARNING: string: see the Autoconf documentation configure: WARNING: string: section "Present But Cannot Be Compiled" configure: WARNING: string: proceeding with the compiler's result configure: WARNING: ## ----------------------------------------------------- ----------------------- ## configure: WARNING: ## Report this to https://bugzilla.gnome.org/enter_bug.c gi?product=libxml%2B%2B ## configure: WARNING: ## ----------------------------------------------------- ----------------------- ## checking for string... no configure: error: required headers not found My g++ version where I have this problem is $ mingw32-g++ --version mingw32-g++.exe (GCC) 4.8.1 Copyright (C) 2013 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. I also tryed in g++ version $ g++ --version g++ (GCC) 3.4.4 (msys special) Copyright (C) 2004 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. but I had a compilation problem related with wstring, which was expected. As so I changed to newer mingw32-g++ version. Did someone from you had a similar problem? I am not really understanding which is the problem. Best regards, Pedro |