Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^10: Errors While Installing Image::Magick

by syphilis (Archbishop)
on Feb 16, 2024 at 05:43 UTC ( [id://11157724]=note: print w/replies, xml ) Need Help??


in reply to Re^9: Errors While Installing Image::Magick
in thread Errors While Installing Image::Magick

If perl/lib/ExtUtils/Install.pm is missing, then it has been removed ... and if that's the case then who knows what else has been jiggered with.
It's not so much the location of the file that's important, it's that your Strawberry-5.24.1 perl/site/lib/ExtUtils/Install.pm is quite different to my Strawberry-5.24.1 perl/lib/ExtUils/Install.pm.
You reported the following content for your Install.pm:
7 use File::Basename qw(dirname); 1165 while(my($from, $to) = each %$fromto) { 1187 my $dirname = dirname($to);
For those line numbers (of 7, 1165 and 1187) my Install.pm has:
7 use Carp (); 1165 Filenames with the extension .pm are autosplit into the $autospli +t_dir. 1187 next;
In my Strawberry-5.24.1 Install.pm, there is no mention of any variable $dirname.

If you run dmake instead of dmake test do you get an error ?
If there's no error (or even if there is), you could try running the tests by entering:
"C:Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Ha +rness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\li +b', 'blib\arch')" t/*.t
And you could try installing the module by running:
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonemp +ty -- Magick.bs blib\arch\auto\Image\Magick\Magick.bs 644
Cheers,
Rob

Update:
For reference, that test command will, if run successfully, output:
t/blob.t .......... ok t/composite.t ..... ok t/filter.t ........ ok t/getattribute.t .. ok t/montage.t ....... ok t/ping.t .......... ok t/read.t .......... ok t/setattribute.t .. ok t/write.t ......... ok All tests successful. Files=9, Tests=273, 2 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 C +PU) Result: PASS

Replies are listed 'Best First'.
Re^11: Errors While Installing Image::Magick
by roho (Bishop) on Feb 16, 2024 at 07:40 UTC
    I just noticed something from your last reply. I have been using "gmake" instead of "dmake". When I use "dmake", the test and install run to completion, and the module is working.

    Regarding the missing file(s) in perl/lib/ExtUtils I have no idea what may have happened to them. I will do a fresh Perl 5.24.1 install into another location and copy the files from its perl/lib/ExtUtils to my Perl location.

    Thanks again for all your assistance. I could not have done this without you.

    "It's not how hard you work, it's how much you get done."

      I have been using "gmake" instead of "dmake".

      Heh - like I said, I need to learn how to read more carefully ;-)

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (1)
As of 2024-05-22 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found