imagick compilation
| From: | Jonas Koch Bentzen | Date: | Mon, 07 Apr 2003 22:40:57 +0000 |
| Subject: | imagick compilation | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4688@lists.php.net to get a copy of this message | ||
Hi,
I'm having problems installing the imagick module. I'm using PHP 4.3.1, imagick 0.9.5 and ImageMagick 5.4.7. Magick-config is in /usr/bin, and ImageMagick is in /usr/lib/ImageMagick.
I put imagick into php-4.3.1/ext, run phpize, cd ../../, ./buildconf, and ./configure --with-apxs=/usr/sbin/apxs --with-bz2 --with-gettext --with-pgsql --with-gd --with-freetype-dir --enable-mbstring --enable-mbregex --with-zlib-dir --with-imagick=/usr/lib/ImageMagick
I also tried with the Image Magick path (i.e., just --with-imagick). This is the error I get when compiling:
/home/jonas/hent/programmeringssprog/php-4.3.1/ext/imagick/imagick.c: In function `zm_startup_imagick':
/home/jonas/hent/programmeringssprog/php-4.3.1/ext/imagick/imagick.c:625: `RLECompression' undeclared (first use in this function)
/home/jonas/hent/programmeringssprog/php-4.3.1/ext/imagick/imagick.c:625: (Each undeclared identifier is reported only once
/home/jonas/hent/programmeringssprog/php-4.3.1/ext/imagick/imagick.c:625: for each function it appears in.)
make: *** [ext/imagick/imagick.lo] Error 1