php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64698 Build fails with ImageMagick 6.8.4-10
Submitted: 2013-04-23 15:14 UTC Modified: 2013-09-25 07:37 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: d dot reade at readesgroupservices dot com Assigned: mkoppanen (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 5.4.14 OS: CentOS 6.4 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: d dot reade at readesgroupservices dot com
New email:
PHP Version: OS:

 

 [2013-04-23 15:14 UTC] d dot reade at readesgroupservices dot com
Description:
------------
Trying to build imagick extension against latest ImageMagick build (6.8.4-10) and it fails:

# make
/bin/sh /root/imagick-3.1.0RC2/libtool --mode=compile cc  -I. -I/root/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/root/imagick-3.1.0RC2/include -I/root/imagick-3.1.0RC2/main -I/root/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/imagick-3.1.0RC2/imagick_file.c -o imagick_file.lo
mkdir .libs
 cc -I. -I/root/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/root/imagick-3.1.0RC2/include -I/root/imagick-3.1.0RC2/main -I/root/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/imagick-3.1.0RC2/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
In file included from /root/imagick-3.1.0RC2/imagick_file.c:21:
/root/imagick-3.1.0RC2/php_imagick.h:49:31: error: wand/MagickWand.h: No such file or directory
In file included from /root/imagick-3.1.0RC2/php_imagick_file.h:24,
                 from /root/imagick-3.1.0RC2/imagick_file.c:22:
/root/imagick-3.1.0RC2/php_imagick_defs.h:72: error: expected specifier-qualifier-list before âMagickWandâ
/root/imagick-3.1.0RC2/php_imagick_defs.h:80: error: expected specifier-qualifier-list before âDrawingWandâ
/root/imagick-3.1.0RC2/php_imagick_defs.h:86: error: expected specifier-qualifier-list before âPixelIteratorâ
/root/imagick-3.1.0RC2/php_imagick_defs.h:98: error: expected specifier-qualifier-list before âPixelWandâ
In file included from /root/imagick-3.1.0RC2/imagick_file.c:22:
/root/imagick-3.1.0RC2/php_imagick_file.h:43: error: âMaxTextExtentâ undeclared here (not in a function)
/root/imagick-3.1.0RC2/imagick_file.c: In function âphp_imagick_file_initâ:
/root/imagick-3.1.0RC2/imagick_file.c:75: error: âMagickPathâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:75: error: (Each undeclared identifier is reported only once
/root/imagick-3.1.0RC2/imagick_file.c:75: error: for each function it appears in.)
/root/imagick-3.1.0RC2/imagick_file.c:99: error: âHeadPathâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:100: error: âTailPathâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c: In function âphp_imagick_read_image_using_imagemagickâ:
/root/imagick-3.1.0RC2/imagick_file.c:124: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:124: error: âMagickFalseâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:128: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:135: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:137: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c: In function âphp_imagick_read_image_using_php_streamsâ:
/root/imagick-3.1.0RC2/imagick_file.c:144: error: âMagickBooleanTypeâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:144: error: expected â;â before âstatusâ
/root/imagick-3.1.0RC2/imagick_file.c:177: error: âstatusâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:177: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:179: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:184: error: âMagickFalseâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:189: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:196: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c: In function âphp_imagick_write_fileâ:
/root/imagick-3.1.0RC2/imagick_file.c:247: error: âMagickBooleanTypeâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:247: error: expected â;â before âstatusâ
/root/imagick-3.1.0RC2/imagick_file.c:258: error: âstatusâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:258: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:260: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:264: error: âMagickFalseâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c: In function âphp_imagick_stream_handlerâ:
/root/imagick-3.1.0RC2/imagick_file.c:277: error: âMagickBooleanTypeâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:277: error: expected â;â before âstatusâ
/root/imagick-3.1.0RC2/imagick_file.c:306: error: âstatusâ undeclared (first use in this function)
/root/imagick-3.1.0RC2/imagick_file.c:306: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:310: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:314: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:318: error: âphp_imagick_objectâ has no member named âmagick_wandâ
/root/imagick-3.1.0RC2/imagick_file.c:326: error: âMagickFalseâ undeclared (first use in this function)
make: *** [imagick_file.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-26 23:48 UTC] mmucklo at corp dot oodle dot com
I got ImageMagick-6.8.5-9 to compile with the trunk version of imagick.

Here's the commands to compile it:

        /path/to/apache/bin/phpize
        CFLAGS=-I/path/to/include/ImageMagick-6 ./configure \
                --with-imagick=/path/to/ \
                --with-libdir=/path/to/lib \
                --disable-shared \
                --with-php-config=/path/to/apache/bin/php-config \
                PKG_CONFIG_PATH=/path/to/lib/pkgconfig
        make install


(s#/path/to#/your/path/to#g)
 [2013-09-25 07:37 UTC] mkoppanen@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mkoppanen
 [2013-09-25 07:37 UTC] mkoppanen@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 10:01:31 2024 UTC