We downloaded php-pear and tried to install the gmagick extension by following the steps in the link "http://www.gerd-riesselmann.net/development/how-install-imagick-and-gmagick-ubuntu"
Spots gave an error -
gmagick-1.0.9b1 $ pecl install gmagick
Failed to load pecl / gmagick in privileged state "stable", latest version is version 1.0.9b1, stability is beta, use "channel: //pecl.php.net/gmagick-1.0.9b1" to install Installation error
I tried to add a channel (without result) -
gmagick-1.0.9b1 $ pecl channel-add http://pecl.php.net/package/gmagick/1.0.9b1
Error: version number not found in channel-add tag: invalid channel.xml file
Found the link "http://pecl.php.net/package/gmagick" to download the php extension 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 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 on it since the day without result. Read that gmagick is a Swiss image-processing knife, sad that it does not have documentation, or at least the correct way to set links anywhere.
No need help.
Thanks in advance.
Vivek chandra
source share