Gmagick extension for php install -- how and where?
Posted
by
Vivek Chandra
on Stack Overflow
See other posts from Stack Overflow
or by Vivek Chandra
Published on 2011-08-11T06:54:37Z
Indexed on
2012/12/05
5:04 UTC
Read the original article
Hit count: 690
Downloaded php-pear and tried installing gmagick extension by following the steps given in link "http://www.gerd-riesselmann.net/development/how-install-imagick-and-gmagick-ubuntu"
The pecl gave an error --
gmagick-1.0.9b1$ pecl install gmagick
Failed to download pecl/gmagick within preferred state "stable", latest release is version 1.0.9b1, stability "beta", use "channel://pecl.php.net/gmagick-1.0.9b1" to install install failed
Tried adding the channel (no result)--
gmagick-1.0.9b1$ pecl channel-add http://pecl.php.net/package/gmagick/1.0.9b1
Error: No version number found in tag channel-add: invalid channel.xml file
Found the link "http://pecl.php.net/package/gmagick" to download the php extension untar'd it to find the following files --
gmagick-1.0.9b1$ ls
config.m4 gmagickdraw_methods.c gmagick_methods.c LICENSE php_gmagick_helpers.h README gmagick.c gmagick_helpers.c gmagickpixel_methods.c php_gmagick.h php_gmagick_macros.h
Tried . / config.m4 only to find more errors
gmagick-1.0.9b1$ . / config.m4
./config.m4: line 1: syntax error near unexpected token `gmagick,'
./config.m4: line 1: `PHP_ARG_WITH(gmagick, whether to enable the gmagick extension,'
Been at this since a day with no result.Read that gmagick is a swiss knife of image processing,sad that there isnt much documentation done on it or at least a proper how to install link anywhere.
Badly need help.
Thanks in advance.
© Stack Overflow or respective owner