Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 225e31bb9b0b2672764cf390cbe3374f > files > 4

php-imagick-0.9.0.1-1mdk.ppc.rpm

We'll assume that your PHP installation is in
	/usr/src/php

1) make sure the path to Magick-config (the ImageMagick configuration
   script) is in your PATH environment variable
2) cd /usr/src/php/ext
3) untar the imagick tar
4) if the directory created is anything other then imagick, rename it to
   imagick
5) cd /usr/src/php/ext/imagick
6) phpize

If phpize produces this:

aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
You should update your `aclocal.m4' by running aclocal.

Don't worry.  Everything should still compile fine.

7) cd /usr/src/php
8) ./buildconf
9) run configure as you normally would and add --with-imagick
10) make
11) make install

You're all set.