Bug 101371

Summary: pecl-imagick-0.9.11_5 build fails
Product: Ports & Packages Reporter: Chris Calvey <chris>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Chris Calvey 2006-08-04 21:10:09 UTC
The port pecl-imagick-0.9.11_5 build fails in the configure stage. configure is unable to find the symbol InitializeMagick in library GraphicsMagick. 

I note from the UPDATING documentation in the ports collection that GraphicsMagick has had it's symbol names prefixed with "Gm" to prevent a clash with another package. 

A section of the relevant part of configure output follows:-

Building with GraphicsMagick as backend
checking for GraphicsMagick in provided path... found in /usr/local
checking for GraphicsMagick 1.0.0 or later with /usr/local/bin/GraphicsMagick-config... 1.1.6
checking for InitializeMagick in -lGraphicsMagick... no
configure: error: There is something wrong. Please check config.log for more information.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/pecl-imagick/work/imagick-0.9.11/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/graphics/pecl-imagick.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
[php5-extensions]#

Fix: 

I presume that the solution to this problem would be to change InitializeMagick
to GmInitialiseMagick or similar.
How-To-Repeat: cd /usr/ports/graphics/pecl-imagick
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-05 01:56:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-08-31 07:37:39 UTC
State Changed
From-To: open->closed

The port will be removed from the tree soon, 
try php-magickwand if you need similar functionalities.