Re: Imagick Problems
| From: | Christian Stocker | Date: | Fri, 28 Mar 2003 17:31:28 +0000 |
| Subject: | Re: Imagick Problems | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14714@lists.php.net to get a copy of this message | ||
Hi
Maybe it's just a documentation problem....
imagick_create is not supported anymore
look at the examples directory for info about using the new extension
HTH
chregu
On Fri, 2003-03-28 at 14:34, Paul Tritscher wrote:
> 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
--
christian stocker | bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB