Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test gmagick-104-setgetimagepage #26

Closed
remicollet opened this issue Jan 31, 2016 · 1 comment
Closed

Failed test gmagick-104-setgetimagepage #26

remicollet opened this issue Jan 31, 2016 · 1 comment

Comments

@remicollet
Copy link
Contributor

 Fatal error: Uncaught Error: Call to undefined method Gmagick::setImagePage() in /dev/shm/BUILD/php70-php-pecl-gmagick-2.0.1/NTS/tests/gmagick-104-setgetimagepage.php:3
 Stack trace:
 #0 {main}
   thrown in /dev/shm/BUILD/php70-php-pecl-gmagick-2.0.1/NTS/tests/gmagick-104-setgetimagepage.php on line 3

IF the method doesn"t exists the test should probably be skiped, but looking at the code, I don't understand where the GMAGICK_HAVE_SET_IMAGE_PAGE comes from.

With GraphicsMagick-1.3.23 (Fedora 23), this fonction exists

$ grep -r MagickSetImagePage /usr/include/GraphicsMagick/
/usr/include/GraphicsMagick/wand/wand_symbols.h:#define MagickSetImagePage GmMagickSetImagePage
/usr/include/GraphicsMagick/wand/magick_wand.h:  MagickSetImagePage(MagickWand *wand,

Probably detection missing in config.m4 (seems related to 79f1690)

@vitoc
Copy link
Owner

vitoc commented Feb 2, 2016

Fixed: f268d0e

@vitoc vitoc closed this as completed Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants