Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Your problem seems to be associated with the need for a C++ compiler.
I don't hit that problem ... but then I'm on a modern perl, using (a modern) gcc-13.1.0.
But I wonder if there's a compiler switch (maybe -std=c++11) that would fix that for you.
I'm pretty sure you can modify $Config{{ccflags} by hand-editing the "ccflags" entries in lib/Config.pm and lib/Config_heavy.pl, if you want to give that a try.

Below is what I just got (minus some compilation warnings).
Not sure why one test failed ... that doesn't normally happen, AFAIK.

Cheers,
Rob
Configuring J/JC/JCRISTY/Image-Magick-7.1.1-28.tar.gz with Makefile.PL Gonna create 'libMagickCore.a' from 'C:\d\ImageMagick-7.1.1-Q16-HDRI\C +ORE_RL_MagickCore_.dll' Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for Image::Magick Writing MYMETA.yml and MYMETA.json JCRISTY/Image-Magick-7.1.1-28.tar.gz D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.ex +e Makefile.PL -- OK Running make for J/JC/JCRISTY/Image-Magick-7.1.1-28.tar.gz cp Magick.pm blib\lib\Image\Magick.pm AutoSplitting blib\lib\Image\Magick.pm (blib\lib\auto\Image\Magick) Running Mkbootstrap for Magick () "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command -e chmod -- 644 "Magick.bs" "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command::MM -e cp_nonempty -- Magick.bs blib\arch\auto\ +Image\Magick\Magick.bs 644 "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" "D:\perl-5.39.7-1320-ucrt-mcf\lib\ExtUtils/xsubpp" -typemap D:\per +l-5.39.7-1320-ucrt-mcf\lib\ExtUtils\typemap -typemap C:\Users\Owner\. +cpan\build\Image-Magick-7.1.1-16\typemap Magick.xs > Magick.xsc "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command -e mv -- Magick.xsc Magick.c gcc -c -I"C:\d\ImageMagick-7.1.1-Q16-HDRI\include" -Wall -Wextra -Wer +ror=pointer-arith -Wno-format -Wno-long-long -Werror=vla -std=c99 -DW +IN32 -DWIN64 -fdiagnostics-color=never -DPERL_TEXTMODE_SCRIPTS -DMULT +IPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -f +wrapv -fno-strict-aliasing -mms-bitfields -Os -DVERSION=\"7.1.1\" - +DXS_VERSION=\"7.1.1\" "-ID:\perl-5.39.7-1320-ucrt-mcf\lib\MSWin32-x6 +4-multi-thread-ld\CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c [ snipped some compilation warnings for brevity ] "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Image::Magick\", 'DLBASE' => 'Magick', ' +DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => +[]);" g++ Magick.def -o blib\arch\auto\Image\Magick\Magick.dll -shared -s -L +"D:\perl-5.39.7-1320-ucrt-mcf\lib\MSWin32-x64-multi-thread-ld\CORE" - +L"C:\winlibs-ucrt-1320\mingw64\lib" -L"C:\winlibs-ucrt-1320\mingw64\x +86_64-w64-mingw32\lib" -L"C:\winlibs-ucrt-1320\mingw64\lib\gcc\x86_64 +-w64-mingw32\13.2.0" -L"C:/Users/Owner/.cpan/build/Image-Magick-7.1.1 +-16" -L"C:\d\ImageMagick-7.1.1-Q16-HDRI\lib" Magick.o "D:\perl-5.3 +9.7-1320-ucrt-mcf\lib\MSWin32-x64-multi-thread-ld\CORE\libperl539.a" +"libMagickCore.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\li +b\libmoldname.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib +\libkernel32.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\ +libuser32.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\lib +gdi32.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libwins +pool.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libcomdl +g32.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libadvapi +32.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libshell32 +.a" "C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libole32.a" +"C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\liboleaut32.a" " +C:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libnetapi32.a" "C +:\winlibs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libuuid.a" "C:\win +libs-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libws2_32.a" "C:\winlib +s-ucrt-1320\mingw64\x86_64-w64-mingw32\lib\libmpr.a" "C:\winlibs-ucrt +-1320\mingw64\x86_64-w64-mingw32\lib\libwinmm.a" "C:\winlibs-ucrt-132 +0\mingw64\x86_64-w64-mingw32\lib\libversion.a" "C:\winlibs-ucrt-1320\ +mingw64\x86_64-w64-mingw32\lib\libodbc32.a" "C:\winlibs-ucrt-1320\min +gw64\x86_64-w64-mingw32\lib\libodbccp32.a" "C:\winlibs-ucrt-1320\ming +w64\x86_64-w64-mingw32\lib\libcomctl32.a" -Wl,--enable-auto-image-bas +e "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Image\Magick\Mag +ick.dll JCRISTY/Image-Magick-7.1.1-28.tar.gz C:\make\bin\make.EXE -- OK The current configuration of allow_installing_outdated_dists is 'ask/n +o', but for this option we would need 'CPAN::DistnameInfo' installed. + Please install 'CPAN::DistnameInfo' as soon as possible. As long as +we are not equipped with 'CPAN::DistnameInfo' this option does not ta +ke effect Running make test for JCRISTY/Image-Magick-7.1.1-28.tar.gz "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command::MM -e cp_nonempty -- Magick.bs blib\arch\auto\ +Image\Magick\Magick.bs 644 "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harn +ess::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/blob.t .......... ok t/composite.t ..... ok t/filter.t ........ Failed 1/58 subtests t/getattribute.t .. ok t/montage.t ....... ok t/ping.t .......... ok t/read.t .......... ok t/setattribute.t .. ok t/write.t ......... ok Test Summary Report ------------------- t/filter.t (Wstat: 0 Tests: 58 Failed: 1) Failed test: 2 Files=9, Tests=273, 2 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 C +PU) Result: FAIL Failed 1/9 test programs. 1/273 subtests failed. make.EXE: *** [makefile:1047: test_dynamic] Error 255 JCRISTY/Image-Magick-7.1.1-28.tar.gz C:\make\bin\make.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports JCRISTY/Image-Magick-7.1.1-28.tar.gz Running make install for JCRISTY/Image-Magick-7.1.1-28.tar.gz "D:\perl-5.39.7-1320-ucrt-mcf\bin\MSWin32-x64-multi-thread-ld\perl.exe +" -MExtUtils::Command::MM -e cp_nonempty -- Magick.bs blib\arch\auto\ +Image\Magick\Magick.bs 644 Files found in blib\arch: installing files in blib\lib into architectu +re dependent library tree Installing D:\perl-5.39.7-1320-ucrt-mcf\site\lib\MSWin32-x64-multi-thr +ead-ld\auto\Image\Magick\Magick.dll Appending installation info to D:\perl-5.39.7-1320-ucrt-mcf\lib\MSWin3 +2-x64-multi-thread-ld/perllocal.pod JCRISTY/Image-Magick-7.1.1-28.tar.gz C:\make\bin\make.EXE install -- OK

In reply to Re^3: Errors While Installing Image::Magick by syphilis
in thread Errors While Installing Image::Magick by roho

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-06-19 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.