Page 1 of 1

Issue while installing IMagick

Posted: 2010-11-13T05:53:50-07:00
by sshadows
Hi everyone !

I got a website at 1&1 and I just installed ImageMagick. (6.2.4)
Now I would like to install Imagick but I've got some trouble...

After research I've found a solution here : http://www.sebastian.himberger.de/blog/ ... ed-server/

But I'm stuck at the point where I must install imagick, more precisely at the "./configure --prefix=$HTDOCS/linux --with-php-config=/usr/bin/php-config5 --with-imagick=$HTDOCS/linux"
When I type this I get :

Code: Select all

    (uiserver):u3928xxxx:~/linux-src/extracted/php-imagick > ./configure --prefix=$HTDOCS/linux
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking whether the C compiler (gcc  ) works... yes
    checking whether the C compiler (gcc  ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
    checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429
    checking for re2c... exit 0;
    checking for mawk... mawk
    checking whether to enable the imagick extension... yes, shared
    checking whether to enable the imagick GraphicsMagick backend... no
    ./configure: line 1972: syntax error near unexpected token `ext/imagick,'
    ./configure: line 1972: `  PHP_INSTALL_HEADERS(ext/imagick, php_imagick.h php_imagick_defs.h php_imagick_shared.h php_imagick_config.h)'
Do you have any idea ? Thanks in advance !

(pardon my english :? )

Re: Issue while installing IMagick

Posted: 2010-11-13T07:49:16-07:00
by sshadows
Okay, now I've tried with the (older) version of IMagick (the one of the site).
But this is what I get :

Code: Select all

(uiserver):u392xxxxx:~/linux-src/extracted/php-imagick > ./configure --prefix=$HTDOCS/linux
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429
checking for re2c... (cached) exit 0;
checking for mawk... (cached) mawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
(uiserver):u392xxxxx:~/linux-src/extracted/php-imagick >
I'm so lost !

Re: Issue while installing IMagick

Posted: 2010-12-24T01:11:34-07:00
by muzafar
hello can you please tell me from where you get the IMagick, i am trying to find but i didn't get it, i want to merge 100 image into 1 big image through IMagick, please lead me.

cheers.