I am trying to install the PHP API for GraphicsMagick with this pecl command:
sudo pecl install channel: 
during installation, they ask me this question:
 Please provide the prefix of GraphicsMagick installation [autodetect] 
I have no idea how to answer this, and if I just press the enter key for automatic detection, the installation fails.
 checking whether to enable the gmagick extension... yes, shared checking GraphicsMagick configuration program... configure: error: not found. Please provide a path to GraphicsMagick-config program. ERROR: `/tmp/pear/temp/gmagick/configure --with-gmagick' failed 
I am using an ubuntu server, does anyone know how I can install this program?
Tkpop 
source share