Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#13234 closed defect (invalid)

p5-perlmagick should be updated in sync with its ImageMagick dependency

Reported by: yesthatjwz (Jamie Zawinski) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: yesthatjwz (Jamie Zawinski), ryandesign (Ryan Carsten Schmidt), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: p5-perlmagick ImageMagick

Description

Apparently port "p5-perlmagick 6.32" is not compatible with port "ImageMagick 6.3.6-9".

Given that these two packages are extremely version-sensitive to each other, it sure would be nice if their releases could be synchronized... say, by them having the same maintainer.

FWIW, "cpan Image::Magick" also tries to install 6.32, which fails in the same way.

Change History (14)

comment:1 Changed 17 years ago by nox@…

Cc: jwz@… ryandesign@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to ryandesign@…
Summary: port p5-perlmagick does not buildp5-perlmagick should be updated in sync with its ImageMagick dependency

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

I have sent an email to jcristy (author of perlmagick) to see if a newer version is available.

comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

There's another report of perlmagick build failures in #12071.

comment:4 Changed 17 years ago by VYE56819@…

FYI,

I'm recovery another way.

Download from SourceCode. (etc. SourceForge.net)

ImageMagick-6.3.7-1.tar.gz

and unpack

tar zxvf ImageMagick-6.3.7-1.tar.gz

how Install PerlMagick

cd ImageMagick-6.3.7-1/PerlMagick/

/opt/local/bin/perl Makefile.PL make make install

encounter several error, but install success!

comment:5 Changed 17 years ago by andreas.marienborg@…

Any news on this?

comment:6 Changed 17 years ago by yesthatjwz (Jamie Zawinski)

I've pretty much given up on trying to use MacPorts to install Image::Magick, since it seems to be pathologically incapable of ever doing so.

I have since discovered that there's a completely separate way of installing it, though: instead of installing p5-perlmagick, you can instead do

port install ImageMagick +lcms +perl +jbig +q32

Perhaps the p5-perlmagick package should be deprecated in favor of that?

Anyway, that +perl business seems to result in a higher likelihood of having a working Image::Magick... but only at the cost of forcing you to install a complete separate copy of Perl, since there's a ridiculous, useless dependency on a specific version of Perl in there.

I find having two copies of Perl on my system incredibly inconvenient (since, depending on what $PATH is, I never know which one I'm going to get) so that's a deal-breaker for me: I won't install any MacPorts package that includes a dependency on Perl rather than just making use of the Apple-shipped Perl installation.

Meaning, I'm still compiling ImageMagick by hand every time. What a waste.

comment:7 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Priority: HighNormal

comment:8 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from ryandesign@… to macports-tickets@…

I believe installing "ImageMagick +perl" is preferred now. Please check whether that contains everything you need (I don't use Perl myself). If so, we should remove "p5-perlmagick".

I'm sorry you have complaints about MacPorts installing its own Perl, but it's always been MacPorts philosophy to install its own versions of software and not rely on things provided with the OS. The FAQ explains why. Discussion about this situation should be directed to the macports-users mailing list.

comment:9 Changed 17 years ago by wsiegrist@…

I just ran into this while trying to update bugzilla. The downside to relying on ImageMagick+perl is that you cannot make a dependency on it. Luckily for me, its an optional module for bugzilla. So for now I am removing the dependency.

I also noticed there is now a v6.40 at jcrristy's cpan page, but its marked unauthorized, I'm guessing because some one else made the changes and released?

comment:10 Changed 16 years ago by stolen-from-macports-trac@…

What about making a dependency on path:${perl5.lib}/Image/Magick.pm? It wouldn't automatically install the variant, but it would at least signal to the user that something is amiss.

In any case, I agree with the idea that there's no point in keeping p5-perlmagick around.

comment:11 Changed 16 years ago by blb@…

Port: p5-perlmagick ImageMagick added

Since the +perl variant of ImageMagick is the way to go, can p5-perlmagick be removed and this ticket closed (wsiegrist@'s concern is covered in #126)?

comment:12 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:13 Changed 16 years ago by blb@…

Resolution: invalid
Status: newclosed

comment:14 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.