我正在尝试使用ActivePerl在Windows 8.1上安装ExtUtils :: CppGuess,但我不断收到错误。
我已经尝试过我可以在互联网上找到的所有内容,但没有任何工作。
当我跑步时
cpanm ExtUtils::CppGuess
然后我在build.log
中得到了这个cpanm (App::cpanminus) 1.7036 on perl 5.020002 built for MSWin32-x64-multi-thread
Work directory is C:\Users\ANTHON~1/.cpanm/work/1433950037.5028
You have make C:\Perl64\site\bin\dmake.exe
You have LWP 6.08
Falling back to Archive::Tar 2.04
Searching ExtUtils::CppGuess () on cpanmetadb ...
--> Working on ExtUtils::CppGuess
Fetching http://www.cpan.org/authors/id/E/ET/ETJ/ExtUtils-CppGuess-0.09.tar.gz
-> OK
Unpacking ExtUtils-CppGuess-0.09.tar.gz
Entering ExtUtils-CppGuess-0.09
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04)
Configuring ExtUtils-CppGuess-0.09
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for ExtUtils::CppGuess
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Data::Dumper 0 ... Yes (2.154)
Checking if you have File::Spec 0 ... Yes (3.48_01)
Checking if you have Module::Build 0 ... Yes (0.4212)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have ExtUtils::Manifest 0 ... Yes (1.70)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have Cwd 0 ... Yes (3.48_01)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have Capture::Tiny 0 ... Yes (0.28)
Checking if you have Fatal 0 ... Yes (2.25)
Building and testing ExtUtils-CppGuess-0.09
cp lib/ExtUtils/CppGuess.pm blib\lib\ExtUtils\CppGuess.pm
"C:\Perl64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# EUMM:$VAR1 = {
# 'CCFLAGS' => ' -xc++ ',
# 'dynamic_lib' => {
# 'OTHERLDFLAGS' => ' -lstdc++ '
# }
# };
# ---
# MB:$VAR1 = {
# 'extra_linker_flags' => ' -lstdc++ ',
# 'extra_compiler_flags' => ' -xc++ '
# };
t/001_load.t .......... ok
# Failed test 'build with Module::Build'
# at t/010_module_build.t line 12.
# Build.PL output
# ========================================
# Created MYMETA.yml and MYMETA.json
# Creating new 'Build' script for 'CppGuessTest' version '0.01'
# ========================================
# Build output
# ========================================
# Building CppGuessTest
# C:\Perl64\site\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -xc++ -s -O2 "-DXS_VERSION=\"0.01\"" "-DVERSION=\"0.01\"" -I"C:\Perl64\lib\CORE" -I"C:\MinGW\x86_64-w64-mingw32\include" -o "lib\CppGuessTest.o" "lib\CppGuessTest.c"
# ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\CppGuessTest\CppGuessTest.bs')
# Generating script 'lib\CppGuessTest.lds'
# C:\Perl64\site\bin\dlltool.exe --def "lib\CppGuessTest.def" --output-exp "lib\CppGuessTest.exp"
# C:\Perl64\site\bin\g++.exe -o "blib\arch\auto\CppGuessTest\CppGuessTest.dll" -Wl,--base-file,"lib\CppGuessTest.base" -Wl,--image-base,0x36150000 -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" "lib\CppGuessTest.lds" -lstdc++ "lib\CppGuessTest.exp"
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.h:534: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/ext/new_allocator.h:98: multiple definition of `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:326: multiple definition of `std::string::append(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:171: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:244: multiple definition of `std::string::assign(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:207: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long long, std::allocator<char> const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(eh_personality.o):c:\gccbuild\build\mingw64\gcc-4.6.3\x86_64-w64-mingw32\libstdc++-v3\libsupc++/../../../../../../src/gcc-4.6.3/libstdc++-v3/libsupc++/eh_personality.cc:362: multiple definition of `__gxx_personality_sj0'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# collect2: ld returned 1 exit status
# C:\Perl64\site\bin\dlltool.exe --def "lib\CppGuessTest.def" --output-exp "lib\CppGuessTest.exp" --base-file "lib\CppGuessTest.base"
# C:\Perl64\site\bin\g++.exe -o "blib\arch\auto\CppGuessTest\CppGuessTest.dll" -Wl,--image-base,0x36150000 -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" "lib\CppGuessTest.lds" -lstdc++ "lib\CppGuessTest.exp"
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.h:534: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/ext/new_allocator.h:98: multiple definition of `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:326: multiple definition of `std::string::append(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:171: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:244: multiple definition of `std::string::assign(std::string const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(string-inst.o):c:/gccbuild/build/mingw64/gcc-4.6.3/x86_64-w64-mingw32/libstdc++-v3/include/bits/basic_string.tcc:207: multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long long, std::allocator<char> const&)'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3\libstdc++.a(eh_personality.o):c:\gccbuild\build\mingw64\gcc-4.6.3\x86_64-w64-mingw32\libstdc++-v3\libsupc++/../../../../../../src/gcc-4.6.3/libstdc++-v3/libsupc++/eh_personality.cc:362: multiple definition of `__gxx_personality_sj0'
# c:/perl64/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/libstdc++.dll.a(libstdc++-6.dll):(.text+0x0): first defined here
# collect2: ld returned 1 exit status
我正在运行activeperl,perl 5.20.2
关于什么是错的任何想法?
由于