php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57828 Imagick-2.0.0RC2 does not compile
Submitted: 2007-09-07 20:14 UTC Modified: 2007-09-25 14:21 UTC
From: spam2 at rhsoft dot net Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.4 OS: Fedora 7 / PHP-SourceBuild 5.2.4
Private report: No CVE-ID: None
 [2007-09-07 20:14 UTC] spam2 at rhsoft dot net
Description:
------------
/development/src/php-ext/imagick/imagick.c: In function 'initializeMagickConstants':
/development/src/php-ext/imagick/imagick.c:17168: error: 'OptimizeImageLayer' undeclared (first use in this function)
/development/src/php-ext/imagick/imagick.c:17168: error: (Each undeclared identifier is reported only once
/development/src/php-ext/imagick/imagick.c:17168: error: for each function it appears in.)
/development/src/php-ext/imagick/imagick.c:17170: error: 'OptimizeTransLayer' undeclared (first use in this function)
/development/src/php-ext/imagick/imagick.c:17171: error: 'RemoveDupsLayer' undeclared (first use in this function)
/development/src/php-ext/imagick/imagick.c:17172: error: 'RemoveZeroLayer' undeclared (first use in this function)
/development/src/php-ext/imagick/imagick.c:17173: error: 'CompositeLayer' undeclared (first use in this function)
make: *** [imagick.lo] Fehler 1



[harry@nb ~]$ rpm -qa | grep ImageMagick
ImageMagick-perl-6.3.2.9-3.fc7
ImageMagick-devel-6.3.2.9-3.fc7
ImageMagick-c++-6.3.2.9-3.fc7
ImageMagick-6.3.2.9-3.fc7




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-08 07:43 UTC] mkoppanen@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.

Fixed in cvs.
 [2007-09-18 08:05 UTC] spam2 at rhsoft dot net
RC3 has also such problem and the one from RC2 has only been fixed in CVS and i searched the changed file manually - thats bad!

Here the Messages from RC3:
 gcc -I. -I/development/src/php-ext/imagick -DPHP_ATOM_INC -I/development/src/php-ext/imagick/include -I/development/src/php-ext/imagick/main -I/development/src/php-ext/imagick -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O3 -march=i686 -mcpu=i686 -mtune=i686 -mmmx -msse2 -fopenmp -mfpmath=sse,387 -pipe -ffast-math -c /development/src/php-ext/imagick/imagick.c  -fPIC -DPIC -o .libs/imagick.o
/development/src/php-ext/imagick/imagick.c:2422: error: 'zim_imagick_getimageorientation' undeclared here (not in a function)
/development/src/php-ext/imagick/imagick.c:2423: error: 'zim_imagick_setimageorientation' undeclared here (not in a function)
/development/src/php-ext/imagick/imagick.c:2423: error: 'imagick_setimageorientation_args' undeclared here (not in a function)
/development/src/php-ext/imagick/imagick.c: In function 'zim_imagick_getimageproperties':
/development/src/php-ext/imagick/imagick.c:4192: warning: assignment makes pointer from integer without a cast
/development/src/php-ext/imagick/imagick.c: In function 'zim_imagick_getimageprofiles':
/development/src/php-ext/imagick/imagick.c:4225: warning: assignment makes pointer from integer without a cast
make: *** [imagick.lo] Fehler 1
 [2007-09-18 08:06 UTC] spam2 at rhsoft dot net
Opened again...
 [2007-09-18 09:01 UTC] mkoppanen@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.

This seems to be different compilation issue. 

"and the one from RC2 has only been fixed in CVS". What do you mean by that ?

Can you test compiling the CVS version and post back the results?
 [2007-09-18 09:02 UTC] mkoppanen@php.net
Sorry for the spam. Didn't mean to close this one yet.
 [2007-09-18 10:20 UTC] spam2 at rhsoft dot net
I mean that the last two RC-Downloads from pecl.php.net will not compile and it does not realy help to fix the bugs only in cvs.

The RC2 on http://pecl.php.net/package/imagick/download/ ist vom 2007-09-07, my bugreport from 2007-09-08

So it does not interest me if there a changes somewehre in cvs - the download has to be replaced after fixing this and not a RC3 that does not comile with other errors instead.

What you have online is two versions after RC1 they both are dead and NO ONE helps a stupid cvs-hint.

I do not make bugreports for playing some people with cvs, i make bug-reports to help that working downloads are available for ALL
 [2007-09-18 10:27 UTC] scottmac@php.net
Fixes are made in CVS prior to doing a release, the first issue was resolved in RC3 but another introduced. This has now been resolved and will be resolved in the next release.

If you want you can download the fix from CVS as a temporary option or you can wait until the next release.

Your issue is caused by an older version of ImageMagick. If you have 6.3.3 and above then RC3 works fine.
 [2007-09-18 10:37 UTC] mkoppanen@php.net
The last two RCs seem to be compiling with newer versions of ImageMagick. It is really hard to test all the revisions for changes. And the latest bug you reported was indeed a typo in version checking. This is not the same bug you reported earlier.

We need you to test the CVS version so we can see if it compiles fine. What is the point of releasing another RC if we can't be sure that these bugs have been fixed? The point of release candidates is testing the upcoming release and weed out the bugs.

"What you have online is two versions after RC1 they both are dead and NO ONE helps a stupid cvs-hint."

This is exactly the reason why we need you to test the CVS version.
 [2007-09-25 14:21 UTC] mkoppanen@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/imagick


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC