Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Trying again with mariadb (XAMPP & Image::Magick)

by traincity (Sexton)
on Jan 13, 2021 at 21:13 UTC ( [id://11126874]=note: print w/replies, xml ) Need Help??


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

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!

Replies are listed 'Best First'.
Re^4: Trying again with mariadb (XAMPP & Image::Magick)
by Corion (Patriarch) on Jan 14, 2021 at 07:19 UTC
    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?

Re^4: Trying again with mariadb (XAMPP & Image::Magick)
by LanX (Saint) on Jan 14, 2021 at 11:34 UTC
    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?
        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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-16 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found