in reply to Image::Magick Crashing Server

Sounds to me like your two versions of Perl have at least some directories in common between their @INC members. You can actually get away with that, but it requires really knowing what you are doing and choosing some non-default configuration options when you build the Perls that will share some of their directories. Disk has gotten much cheaper since the idea of sharing @INC directories between different installs of Perl was first considered. You are better off just making sure that each Perl has completely separate places to look for its modules.

So the best idea might be to un-install one of your versions of Perl and then re-install that version but built such that it won't have any @INC directories in common with the other version.

- tye        

  • Comment on Re: Image::Magick Crashing Server (@INC sharing)

Replies are listed 'Best First'.
Re^2: Image::Magick Crashing Server (@INC sharing)
by sstevens (Scribe) on Feb 12, 2008 at 15:31 UTC
    I'm afraid to reply to this since my last reply has a reputation of -1. =)

    I checked @INC for /usr/bin/perl and /usr/local/bin/perl, and they aren't sharing anything.

    In regards to the composite test failures I'm getting, I want to clarify that the tests are for PerlMagick, not ImageMagick. I'm not sure if that makes any difference to anyone reading this.

    I Googled for the composite test failures that I was getting, but I couldn't find anyone who is having the same problem. I'm thinking that might be because PerlMagick's make install command doesn't do the tests by default, so you could just do:
    perl Makefile.PL make make install
    And not receive any errors. Maybe the majority of people just do that without testing? I'm not sure. I read somewhere that the composite functions use PNG libraries -- I don't have or need the PNG libraries, so I thought I'd give make install a shot. It installed fine and now use Image::Magick; is working with perl5.8.0 (/usr/bin/perl) and perl 5.8.8 (/usr/local/bin/perl).

    Thank you all for your help!