Tag Archives: Coninuous Integration

Installing PHPDepend

When installing PHPDepend thru PEAR on Ubuntu, I ran into an error caused by a missing MagickWand-config:

$ pear channel-discover pear.pdepend.org
$ pear install --alldeps pdepend/PHP_Depend-beta

checking ImageMagick MagickWand API configuration program…
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/tmp/pear/temp/imagick/configure –with-imagick’ failed

Installing imagick thru PECL results in the same error message:

$ pecl install --alldeps imagick

The MagickWand API provides interfaces between high level programming languages and the ImageMagick image processing libraries.

Install the MagickWand libraries:

$ apt-get install libmagickwand-dev libmagickcore-dev

This finally enables the installation of the aforementioned PEAR & PECL libraries. After that, test the installation:

$ MagickWand-config --version
6.6.0 Q16
$ pdepend --version
PHP_Depend 1.0.7 by Manuel Pichler