RE: [PEAR] imagick compilation
| From: | Brandon Ewing | Date: | Mon, 07 Apr 2003 22:43:23 +0000 |
| Subject: | RE: [PEAR] imagick compilation | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4689@lists.php.net to get a copy of this message | ||
Hi,
I was having this problem a while ago - and finally found the solution
like 2 days ago.
If you watch closely during your ./configure -- it'll show the version
of imagick that gets picked up. Most likely it's picking up an old
(read "ancient") version. AFAIK - imagick 0.9.5 for PHP requires the
absolute latest version of ImageMagick libraries to work.
What I did to fix:
updatedb
locate agick > files_to_kill
Delete EVERYHING with the letters "agick" in them, in relation to
ImageMagick
Reinstall latest Image Magick libraries from source.
Recompile PHP.
Hope this works for you, too!
Brandon Ewing
-----Original Message-----
From: Jonas Koch Bentzen [mailto:test@understroem.dk]
Sent: Monday, April 07, 2003 5:41 PM
To: pear-general@lists.php.net
Subject: [PEAR] imagick compilation
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
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php