AMC on Mac - no +perl variant for upgraded ImageMagick (Bug #171)


Added by Jose Goicolea about 12 years ago. Updated over 10 years ago.


Status:Closed Start date:05/14/2013
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

Hello,

AMC on Mac OS X requires macport ImageMagick with +perl variant. However, the new updated version of ImageMagick no lunger supports this variant. When installing an upgrade it has failed for me with the following message:

---> Attempting to fetch ImageMagick-6.8.5-5.tar.xz from ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick
---> Verifying checksum(s) for ImageMagick
---> Extracting ImageMagick
---> Configuring ImageMagick
Error: org.macports.configure for port ImageMagick returned: The +perl variant is no longer used; use the separate p5-perlmagick port instead.
Please see the log file for port ImageMagick for details:

Up to now the p5-perlmagick used as default for ImageMagick was not working properly. Any idea as to what to do?

Regards


History

Updated by Alexis Bienvenüe about 12 years ago

Up to now the p5-perlmagick used as default for ImageMagick was not working properly.

Did you try to install the last version of this port? What was the problem with it?

Updated by Jose Goicolea about 12 years ago

Hello,

I have tested the new ImageMagick port (version 6.8.5-5_0) without the +perl variant as it is not allowed now. Unfortunately AMC does not work, it does not recognise any images after the data capture from the scanned questionnaires.

If I keep the older version with the +perl variant, ImageMagick @6.8.0-7_2+perl+q16, it works perfectly. So this is what I will do for the moment.

However, any Mac user of AMC which upgrades ImageMagick forcing the allowed variants or who tries to install AMC I'm afraid will be disappointed.

Regards,

Alexis Bienvenüe wrote:

Up to now the p5-perlmagick used as default for ImageMagick was not working properly.

Did you try to install the last version of this port? What was the problem with it?

Updated by Alexis Bienvenüe about 12 years ago

Do you have any errors trying to install the p5-perlmagick port?

Updated by Jose Goicolea about 12 years ago

Alexis Bienvenüe wrote:

Do you have any errors trying to install the p5-perlmagick port?

Yes, installation fails for p5-perlmagick, when attempting to install its first dependency:

sudo port install p5-perlmagick
...
---> Computing dependencies for p5-perlmagick
---> Dependencies to be installed: p5.12-perlmagick
...

it appears to be due to errors in the linker phase (from the log file):
...
:info:build ld: library not found for -lMagickCore-6.Q16
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
...

Updated by Jose Goicolea about 12 years ago

I have submitted a ticket at the macports site:

https://trac.macports.org/ticket/39110

p5-perlmagick @6.8.5-5 fails to build

Updated by Jose Goicolea about 12 years ago

The problem is solved, with the new macports version of ImageMagick @6.8.5-5_0. This new version no longer supports the +perl variant, so it just needs to be installed with the defaults.

It is also necessary to install afterwards p5-perlmagick, which now (version @6.8.5-5_0) works correctly.

So, for my case at least, the requisites for auto-multiple-choice are:

sudo port install ImageMagick p5-perlmagick

Perhaps the instructions for installation on mac should be updated

Many thanks for your help

Updated by Alexis Bienvenüe about 12 years ago

Thanks for your report.
I will update the instructions.
Note that you can also consider installing the development version of AMC, following these rules (french).

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Jose Goicolea about 12 years ago

OK, thanks.

Just for your information I copy here a comment made at the macports bug reporting forum by the mantainer pf p5.12-perlmagick ():

Glad you got it working. But MacPorts should have upgraded ImageMagick for you first; I'm not sure why it didn't.

It also appears that auto-multiple-choice which needed the +perl variant in the previous version of ImageMagick now works correctly.

auto-multiple-choice makes no mention of requiring ImageMagick; it declares a dependency on GraphicsMagick. If auto-multiple-choice actually requires ImageMagick (or rather p5.12-perlmagick), please file a bug report against it.

If I'm right AMC did not really require ImageMagick on macports, but some of the +perl programs from this variant, as a patch. But now this situation is clarified, and I see it has been updated in the installation instructions for mac.

Regards

Updated by Alexis Bienvenüe over 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF