From: Stephen L. <ste...@st...> - 2014-04-29 19:09:17
|
Stephen Leake <ste...@st...> writes: > Ray Donnelly <min...@gm...> writes: > >> pacman -S mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain > > That helps, thanks. I take it back :) configure is trying to find the Botan I installed, but g++ doesn't seem understand the filesystem: $ mount C:/Msys2/msys64 on /usr type ntfs (binary,noacl,auto) C:/Msys2/msys64 on / type ntfs (binary,noacl,auto) C: on /c type ntfs (binary,noacl,posix=0,user,noumount,auto) $ type g++ g++ is hashed (/Msys2/msys64/mingw64/bin/g++) $ g++ -v -o conftest0 -I/mingw64/include -g -O2 -Wall -I/mingw64/include/botan-1.10 -L/mingw64/lib conftest.cpp -lz -lbotan-1.10 Using built-in specs. COLLECT_GCC=C:\Msys2\msys64\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-4.9.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --with-gxx-include-dir=/mingw64/include/c++/4.9.0 --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-cloog-backend=isl --enable-version-specific-runtime-libs --disable-cloog-version-check --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-cloog=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project' --with-bugurl=http://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 4.9.0 (Rev1, Built by MSYS2 project) COLLECT_GCC_OPTIONS='-v' '-o' 'conftest0.exe' '-I' '/mingw64/include' '-g' '-O2' '-Wall' '-I' '/mingw64/include/botan-1.10' '-L/mingw64/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/cc1plus.exe -quiet -v -I /mingw64/include -I /mingw64/include/botan-1.10 -iprefix C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/ -D_REENTRANT conftest.cpp -quiet -dumpbase conftest.cpp -mtune=generic -march=x86-64 -auxbase conftest -g -O2 -Wall -version -o C:\tmp\cc1z4ika.s GNU C++ (Rev1, Built by MSYS2 project) version 4.9.0 (x86_64-w64-mingw32) compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p5, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring duplicate directory "C:/Msys2/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/include" ignoring nonexistent directory "C:/msys64/mingw64/include" ignoring nonexistent directory "/mingw64/include" ignoring duplicate directory "C:/Msys2/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/include-fixed" ignoring duplicate directory "C:/Msys2/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/include" ignoring nonexistent directory "C:/msys64/mingw64/x86_64-w64-mingw32/include" ignoring nonexistent directory "/mingw64/include" ignoring nonexistent directory "/mingw64/include/botan-1.10" #include "..." search starts here: #include <...> search starts here: C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/include C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../include C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/include-fixed C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/include C:/Msys2/msys64/mingw64/lib/gcc/../../include/c++/4.9.0 C:/Msys2/msys64/mingw64/lib/gcc/../../include/c++/4.9.0/x86_64-w64-mingw32 C:/Msys2/msys64/mingw64/lib/gcc/../../include/c++/4.9.0/backward End of search list. GNU C++ (Rev1, Built by MSYS2 project) version 4.9.0 (x86_64-w64-mingw32) compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p5, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 24a2abd61b42a3ceb183d4c0b02e83f2 conftest.cpp:14:25: fatal error: botan/botan.h: No such file or directory #include <botan/botan.h> ^ compilation terminated. In particular, note: ignoring nonexistent directory "C:/msys64/mingw64/include" ignoring nonexistent directory "/mingw64/include" This was run in a shell I spawned under Emacs. To see if that causes the problem, I ran in the msys shell spawned by msys2_shell.bat; that was worse: $ export PATH=/Msys2/msys64/mingw64/bin:$PATH $ g++ -v -o conftest0 -I/mingw64/include -g -O2 -Wall -I/mingw64/include/botan-1.10 -L/mingw64/lib conftest.cpp -lz -lbotan-1.10 g++ -v -o conftest0 -I/mingw64/include -g -O2 -Wall -I/mingw64/include/botan-1.10 -L/mingw64/lib conftest.cpp -lz -lbotan-1.10 g++.exe: error: g++: No such file or directory Using built-in specs. COLLECT_GCC=C:\Msys2\msys64\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=C:/Msys2/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-4.9.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --with-gxx-include-dir=/mingw64/include/c++/4.9.0 --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-cloog-backend=isl --enable-version-specific-runtime-libs --disable-cloog-version-check --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-cloog=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project' --with-bugurl=http://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 4.9.0 (Rev1, Built by MSYS2 project) Note: 'g++.exe: error: g++: No such file or directory', and that there is no further output. -- -- Stephe |