RE: [PEAR] Problems installing imagick on PHP 4.3.1
| From: | Brandon Ewing | Date: | Tue, 25 Mar 2003 20:38:00 +0000 |
| Subject: | RE: [PEAR] Problems installing imagick on PHP 4.3.1 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4421@lists.php.net to get a copy of this message | ||
No one has ever seen this before or has any suggestions? I'm starting
to get really stumped on this one -
I went as far as deleting all the files I could find on the server
relating to imageMagick and rebuilding it - thought old versions of
ImageMagick libraries were conflicting, but still no go. :(
Help!
Brandon Ewing
-----Original Message-----
From: Brandon Ewing [mailto:pear@warningg.com]
Sent: Thursday, March 20, 2003 12:34 PM
To: pear-general@lists.php.net
Subject: [PEAR] Problems installing imagick on PHP 4.3.1
Hey - I've done this once successfully - but I'm having severe issues
installing it on two more.
Here's the process I'm following:
1. Installed Image-Magick libraries from www.image-magick.com via
./configure --enable-shared && make && make install.
This installed without problems.
2. Downloaded the imagick tarball from pear.php.net, untarred it into
/ext, ran phpize in the imagick directory, ran ./buildconf in the php
source, and ran configure as follows:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml
--enable-bcmath --enable-calendar --enable-ftp --with-gd
--with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6
--with-mcrypt --enable-magic-quotes --with-mysql --with-pear
--enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-versioning --with-zlib --with-imagick
3. Tried to make PHP. We fail miserably here, in the following way:
ext/imagick/imagick.lo: In function `zif_imagick_getmimetype':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:1295:
undefined reference to `MagickToMime'
ext/imagick/imagick.lo: In function `zif_imagick_setfontsize':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2130:
undefined reference to `DrawSetFontSize'
ext/imagick/imagick.lo: In function `zif_imagick_setfontstyle':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2171:
undefined reference to `DrawSetFontStyle'
ext/imagick/imagick.lo: In function `zif_imagick_setfontface':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2213:
undefined reference to `DrawSetFont'
ext/imagick/imagick.lo: In function `zif_imagick_begindraw':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2270:
undefined reference to `DrawAllocateContext'
ext/imagick/imagick.lo: In function `zif_imagick_drawannotation':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2321:
undefined reference to `DrawAnnotation'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2323:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawrectangle':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2367:
undefined reference to `DrawRectangle'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2370:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawellipse':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2416:
undefined reference to `DrawEllipse'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2419:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawarc':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2465:
undefined reference to `DrawArc'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2468:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawcircle':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2512:
undefined reference to `DrawCircle'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2515:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawline':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2559:
undefined reference to `DrawLine'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2562:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_drawpoint':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2603:
undefined reference to `DrawPoint'
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2605:
undefined reference to `DrawRender'
ext/imagick/imagick.lo: In function `zif_imagick_setfillcolor':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2661:
undefined reference to `DrawSetFillColor'
ext/imagick/imagick.lo: In function `zif_imagick_setfillopacity':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:2701:
undefined reference to `DrawSetFillOpacity'
ext/imagick/imagick.lo: In function `_php_imagick_clean_up_handle':
/home/buildapache/buildapache/php-4.3.1/ext/imagick/imagick.c:5196:
undefined reference to `DrawDestroyContext'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Can I get any help on this one?
Brandon Ewing
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php