php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57652 configure fails when specify --with-imagick=DIR
Submitted: 2007-05-07 08:22 UTC Modified: 2007-05-07 08:44 UTC
From: rsky0711 at gmail dot com Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.1 OS: Mac OS X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rsky0711 at gmail dot com
New email:
PHP Version: OS:

 

 [2007-05-07 08:22 UTC] rsky0711 at gmail dot com
Description:
------------
If specify --with-imagik=/non/default/directory, variable
WAND_CONFIG_PATH won't set correctly.

This is a patch for config.m4.

--- config.m4.orig      2007-05-05 03:07:52.000000000 +0900
+++ config.m4   2007-05-07 15:12:32.000000000 +0900
@@ -11,7 +11,7 @@
 if test $PHP_IMAGICK != "no"; then
 
         if test -r $PHP_IMAGICK/bin/Wand-config; then
-                $WAND_CONFIG_PATH=$PHP_IMAGICK/bin/Wand-
config
+                WAND_CONFIG_PATH=$PHP_IMAGICK/bin
         else
                 AC_MSG_CHECKING(Wand-config in default 
path)
 


Reproduce code:
---------------
./configure --with-imagick=/opt/local

Expected result:
----------------
(snip)
checking whether to enable the imagick extension... yes, 
shared
checking whether to enable the imagick GraphicsMagick 
backend... no
checking for magick-wand.h header file... found in /opt/local/
include/wand/magick-wand.h
checking if ImageMagick version is at least 6.2.4... found 
version 6.3.3
(snip)
config.status: creating config.h


Actual result:
--------------
(snip)
checking whether to enable the imagick extension... yes, 
shared
checking whether to enable the imagick GraphicsMagick 
backend... no
./configure: line 3860: =/opt/local/bin/Wand-config: No such 
file or directory
./configure: line 1: /Wand-config: No such file or directory
checking for magick-wand.h header file... configure: error: 
Cannot locate header file magick-wand.h


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-07 08:44 UTC] scottmac@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 22:01:27 2025 UTC