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

you didn't install the CPAN module only the plain app ? you didn't tell Perl where to find the module in @INC ?Hi... Sorry my thread is hard to follow. I dom't think I included any code but will try to di better in the future.

I'm using workbench on a different computer which I got past imagemagick but the script doesn't work well. Since the online server is using mariadb I am trying to set this up the same way and hope it works better. However I need to fix the image magick problem before I can do that. That is why mariadb and workbench are mentioned. 'you didn't install the CPAN module only the plain app ? you didn't tell Perl where to find the module in @INC ?' I have downloaded imagemagick to my xampp\htdocs\xampp directory as a post said that is where it should be on xampp. Very possible I have downloaded the incorrect version. Not sure what cpan modual or plain app is.... I am not sure how to point perl correctly. Any help would be appreciated.

  • Comment on Re^2: Trying again with mariadb (XAMPP & Image::Magick)

Replies are listed 'Best First'.
Re^3: Trying again with mariadb (XAMPP & Image::Magick)
by LanX (Saint) on Jan 12, 2021 at 22:11 UTC
Re^3: Trying again with mariadb (XAMPP & Image::Magick)
by traincity (Sexton) on Jan 13, 2021 at 21:13 UTC
    OK possibly image magick is installed. I just now did this in the shell.
    Setting environment for using XAMPP for Windows. train@LAPTOP-HPSILVER c:\xampp # cpanm Image::Magick Image::Magick is up to date. (7.0.10) train@LAPTOP-HPSILVER c:\xampp #
    Does this mean it is downloaded? I still get the error:
    [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] End of script output before headers: main.pl [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] AH01215: Can't locate loadable object for module + Image::Magick in @INC (@INC contains: C:/xampp/perl/site/lib C:/xamp +p/perl/vendor/lib C:/xampp/perl/lib) at C:/xampp/perl/site/lib/Ultima +teAuction.pm line 1849.\r: C:/xampp/cgi-bin/ua/main.pl [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] AH01215: Compilation failed in require at C:/xam +pp/perl/site/lib/UltimateAuction.pm line 1849.\r: C:/xampp/cgi-bin/ua +/main.pl [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] AH01215: BEGIN failed--compilation aborted at C: +/xampp/perl/site/lib/UltimateAuction.pm line 1849.\r: C:/xampp/cgi-bi +n/ua/main.pl [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] AH01215: Compilation failed in require at C:/xam +pp/cgi-bin/ua/main.pl line 20.\r: C:/xampp/cgi-bin/ua/main.pl [Wed Jan 13 15:57:52.068937 2021] [cgi:error] [pid 9832:tid 1888] [cli +ent 127.0.0.1:52749] AH01215: BEGIN failed--compilation aborted at C: +/xampp/cgi-bin/ua/main.pl line 20.\r: C:/xampp/cgi-bin/ua/main.pl
    So if this means it is installed, how do I deal with the path? Sorry if I'm a pain. BTW I did find the link to my questions from over a year ago. Thanks!
      Can't locate loadable object for module Image::Magick

      This means that parts of ImageMagick are installed, but not everything. This normally shouldn't happen, but maybe only the (precompiled) Perl module Image::Magick was installed and the meat of the ImageMagick graphics library was not installed? This is harder to check, as ImageMagick itself is not a Perl package. Maybe the documentation for Image::Magick shows what additional steps should be taken? Alternatively, maybe the ImageMagick website has installation instructions for Windows?

      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

        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?