Opened 19 years ago

Closed 18 years ago

#8499 closed defect (worksforme)

ImageMagick and Image::Magick out of sync

Reported by: yesthatjwz (Jamie Zawinski) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

It looks to me like DarwinPorts and Image::Magick are out of sync again. DarwinPorts is giving me ImageMagick 6.2.6, but CPAN has 6.24, which appears to be incompatible.

Maybe this is the same as bug #7471 ?

1) brand new iMac, MacOS 10.4.6 2) installed DarwinPorts-1.2.1.pkg 3) port -d selfupdate (nothing to do) 4) port install ImageMagick (gave me 6.2.6-8) 5) cpan Image::Magick (tried to build PerlMagick-6.24, failed)

Since there is no PerlMagick-6.26.tar.gz in http://www.cpan.org/modules/by-module/Image/JCRISTY/ I suspect that means that the only way for this to work is for DarwinPorts to have given me ImageMagick 6.24 instead of 6.26?

The build errors I get from CPAN include stuff like:

Magick.xs:63:32: error: magick/ImageMagick.h: No such file or directory Magick.xs:153: error: parse error before 'MagickRealType'

Any suggestions as to how to make this work?

Change History (2)

comment:1 Changed 19 years ago by blb@…

(In reply to comment #0) ...

The build errors I get from CPAN include stuff like:

Magick.xs:63:32: error: magick/ImageMagick.h: No such file or directory Magick.xs:153: error: parse error before 'MagickRealType'

Any suggestions as to how to make this work?

This error says it can't find the ImageMagick header file, which is installed by the current IM port. You'll need to tell cpan how to find additional include files when building, possibly via a CPPFLAGS/LDFLAGS set of env variables.

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: worksforme
Status: newclosed

Port p5-perlmagic installs fine. That should be used instead of CPAN. Closing.

Note: See TracTickets for help on using tickets.