I'd like to use the php module imagick to dynamically alter the size of images on the fly. However I cannot get imagick to compile. Regardless of php version 4.2.3, 4.2.2, and 4.1.2. I'm running RH 7.3 with apache2. Yes, I have imagemagick installed. The following are the errors I receive after attempting to compile:
imagick.c: In function _php_imagick_warning_handler':
imagick.c:158:tsrm_ls' undeclared (first use in this function)
imagick.c:158: (Each undeclared identifier is reported only once
imagick.c:158: for each function it appears in.)
imagick.c: In function _php_imagick_new':
imagick.c:172:tsrm_ls' undeclared (first use in this function)
imagick.c: In function zm_info_imagick':
imagick.c:281: warning: passing arg 1 ofGetMagickVersion' from incompatible pointer type
make[3]: *** [imagick.lo] Error 1
Any help would be greatly appreciated.
imagick can be located at http://php.chregu.tv/imagick/