php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59170 Build failure
Submitted: 2010-04-19 06:55 UTC Modified: 2010-11-18 04:02 UTC
From: support at matrixx dot ch Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.13 OS: CentOS 5.4, Linux 2.6.18 x86_64
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: support at matrixx dot ch
New email:
PHP Version: OS:

 

 [2010-04-19 06:55 UTC] support at matrixx dot ch
Description:
------------
Build fails at:

 cc -I. -I/usr/local/src/imagick-3.0.0RC1 -DPHP_ATOM_INC -
I/usr/local/src/imagick-3.0.0RC1/include -
I/usr/local/src/imagick-3.0.0RC1/main -
I/usr/local/src/imagick-3.0.0RC1 -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 -
I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c 
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c  -fPIC -
DPIC -o .libs/imagick_helpers.o
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c: In 
function ?php_imagick_validate_map?:
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:227: 
warning: initialization discards qualifiers from pointer 
target type
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c: In 
function ?initialize_imagick_constants?:
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:952: 
error: ?CosineEvaluateOperator? undeclared (first use in 
this function)
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:952: 
error: (Each undeclared identifier is reported only once
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:952: 
error: for each function it appears in.)
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:953: 
error: ?SineEvaluateOperator? undeclared (first use in this 
function)
/usr/local/src/imagick-3.0.0RC1/imagick_helpers.c:954: 
error: ?AddModulusEvaluateOperator? undeclared (first use in 
this function)
make: *** [imagick_helpers.lo] Error 1


Reproduce code:
---------------
I've:
- edited imagick-3.0.0RC1/imagick_helpers.c
- commented line 952-954
- ran make again
which fixed the problem for me.

convert --version
Version: ImageMagick 6.4.8 2009-07-21 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC


Expected result:
----------------
build without editing imagick_helpers.c :)


Actual result:
--------------
build fails, see Description and Reproduce


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-15 11:20 UTC] jasonvw at gmail dot com
I ran into the same issue with 3.0.0 and was able to resolve it by editing imagick_helpers.c as well. Thanks!
 [2010-11-18 04:02 UTC] mkoppanen@php.net
This bug has been fixed in SVN.

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 23:01:30 2024 UTC