in reply to Re^3: Trying again with mariadb (XAMPP & Image::Magick)
in thread Trying again with mariadb

what do the following commands return?

perldoc -l Image::Magick where cpanm where perl

my guess is that you installed multiple perl's.

update

otherwise, please try installing via ppm

> where ppm C:\Perl_524\bin\ppm C:\Perl_524\bin\ppm.bat

and read again your old thread about installing Image::Magick

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^5: Trying again with mariadb (XAMPP & Image::Magick)
by traincity (Sexton) on Jan 14, 2021 at 22:21 UTC
    Thanks! Here are results:
    Setting environment for using XAMPP for Windows. train@LAPTOP-HPSILVER c:\xampp # perldoc -l Image::Magick C:\xampp\perl\site\lib\Image\Magick.pm train@LAPTOP-HPSILVER c:\xampp # where cpanm C:\xampp\perl\bin\cpanm C:\xampp\perl\bin\cpanm.bat train@LAPTOP-HPSILVER c:\xampp # where perl C:\xampp\perl\bin\perl.exe
    I have a feeling the magick.pm is probably not correct as I copied and pasted it from the other computer set-up that is working. So possibly I should uninstall magic and re-install through the xampp shell?
      Hi... I found an old post on evilroundabout that it is possible to use strawberry with xampp. Evidently the perl on xampp works fine but has severe problems with adding modules. So the article goes on to say make sure strawberry is in the system path and use cpan. I tried this today with hopes but got this:
      C:\Users\train>cpan Image::Magick Loading internal logger. Log::Log4perl recommended for better logging CPAN: CPAN::SQLite loaded ok (v0.217) Database was generated on Mon, 25 Jan 2021 20:14:29 GMT Running install for module 'Image::Magick' CPAN: LWP::UserAgent loaded ok (v6.38) Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JC/JCRISTY/PerlMagick-7.0. +10.tar.gz CPAN: YAML::XS loaded ok (v0.77) CPAN: Digest::SHA loaded ok (v6.02) Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JC/JCRISTY/CHECKSUMS CPAN: Compress::Zlib loaded ok (v2.086) Checksum for C:\STRAWB~1\cpan\sources\authors\id\J\JC\JCRISTY\PerlMagi +ck-7.0.10.tar.gz ok CPAN: Archive::Tar loaded ok (v2.32) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: CPAN::Meta loaded ok (v2.150010) Configuring J/JC/JCRISTY/PerlMagick-7.0.10.tar.gz with Makefile.PL ################################### WARNING! ######################### +########## # It seems that you are trying to install Perl::Magick on a MS Windows + box with # perl + gcc compiler (e.g. strawberry perl), however we cannot find I +mageMagick # binaries installed on your system. # # Please check the following prerequisites: # # 1) You need to have installed ImageMagick Windows binaries from # https://imagemagick.org/script/binary-releases.php#windows # # 2) We only support dynamic (DLL) ImageMagick binaries # note: it is not possible to mix 32/64-bit binaries of perl and Im +ageMagick # # 3) During installation select that you want to install ImageMagick's # development files (libraries+headers) # # 4) You also need to have ImageMagick's directory in your PATH # note: we are checking the presence of convert.exe and/or identify +.exe tools # # 5) You might need Visual C++ Redistributable Package installed on yo +ur system # see instructions on ImageMagick's Binary Release webpage # # We are gonna continue, but chances for successful build are very low +! ###################################################################### +########## Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lMagickCore Generating a gmake-style Makefile Writing Makefile for Image::Magick Writing MYMETA.yml and MYMETA.json JCRISTY/PerlMagick-7.0.10.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for J/JC/JCRISTY/PerlMagick-7.0.10.tar.gz CPAN: Module::CoreList loaded ok (v5.20190420) /usr/bin/sh: C:\Strawberry\perl\bin\perl.exe: command not found gmake: *** [Makefile:401: blib\lib\Image/.exists] Error 127 JCRISTY/PerlMagick-7.0.10.tar.gz C:\STRAWB~1\c\bin\gmake.exe -- NOT OK Stopping: 'install' failed for 'Image::Magick'.
      I did install im binaries possibly to the wrong directory? C:\xampp\htdocs\xampp\ImageMagick-7.0.10-Q16. I have no idea what to do now. I am using windows 10, apache 2.4.46 win64 (xampp), strawberry 5.28.2.1 64. Any suggestions?

        Do this. Ensure that the IM installation is in your PATH. Ensure you can find convert.exe where convert.exe. What does set PATH show from the command line?