Imagick Problems
| From: | Paul Tritscher | Date: | Fri, 28 Mar 2003 13:34:38 +0000 |
| Subject: | Imagick Problems | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14708@lists.php.net to get a copy of this message | ||
Hi all!
I'd like to compile Imagick from pear.php.net into my php4.3.1 because I
used gd library before and I'm not satisfied with the results in resizbing
pics (and there is no sharpen-function)!
I do as follows:
First compile GraficksMagick
then do exactly the same as written on pear.php.net:
phpize in ext/imagick after renaming,
./buildconf in PHP4 folder,
configure --with-imagick --with-mysql and so on...
Well then, configuration works, although make and make install!
Unfortunately, php doesn't recognize the new library and I can't use it!
I try:
<?
php$handle = imagick_create()
or die ("Could not create handle");
print("Connected successfully");
imagick_free($handle);
?>
which leads to:
Fatal error: Call to undefined function: imagick_create() in
fileresizing2.php on line 28
Well, that means, that the library is not correctly installed... so I
compiled with =shared, which also works for built, but still not for my
php-site!
I also tried:
pear install -vv imagick....tar.gz wich gives me the following error:
"...
configure: error: Please reinstall the ImageMagick distribution -
magick.h should be in <imagemagick-dir>/include/magick/
running: make
make: no target to make."
Well it is installed in /usr/local/imagick/include/magick/....h!
also dl("imagick");
doesn't work (Unable to load dynamic library './imagick'..)
So, I don't know what to do more!
Please help...
Thx
eule