Re: Help installing imagick

From: Date: Mon, 07 Jun 2004 04:00:23 +0000
Subject: Re: Help installing imagick
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187768@lists.php.net to get a copy of this message
Hey, I hope I'm not stating the obvious, but last time I used ImageMagick (5.5.7 - in my receipts folder, I just checked) for use with PHP under Mac OS X, I just downloaded a package from http://entropy.ch/ and installed it and life was good. I think it's still up for download. No messing with tar or anything else - just simple, straightforward GUI installation. Also, fink ( http://fink.sf.net/ ) can install ImageMagick for you. Personally, unless you have special needs, I would say to go for the .pkg installed from entropy.ch, but whatever works for you. As far as the specific process you're working on, if you really want _that_ installation, somebody else will have to tell you how to make it work. I don't know the specific process off hand. -Galen On Jun 6, 2004, at 5:03 PM, Robert Duran wrote:
PHP 4.3.6 Image Magick 5.5.7 imagick 0.9.10 OS: Mac OS X (10.3.4) I'm trying to install imagick so that I can use ImageMagick functions in PHP. I was using GD, but I need to load images from TIFF and write thumbnails in jpeg with added text. I had it all working with jpegs, but got stumped on reading in full sized TIFF images with GD. I've been using PHP 4.3.6 for a while and have successfully worked with GD and installed a module for openbase support. I'm totally stumped with imagick however. It seems I just can't get PHP to recognize that the imagick module is installed. The installation instructions include: 1) make sure the path to Magick-config (the ImageMagick configuration script) is in your PATH environment variable 2) cd /usr/src/php/ext 3) untar the imagick tar 4) if the directory created is anything other then imagick, rename it to imagick 5) cd /usr/src/php/ext/imagick 6) phpize 7) cd /usr/src/php 8) rm ./configure 9) ./buildconf 10) run configure as you normally would and add --with-imagick
    If Imagemagick is installed in a non standard dir, add this dir to --with-im
agick=dir
    If you want GraphicsMagick instead of ImageMagick as backend, add --with-ima
gick-gm 11) make 12) make install When I go thru these steps, phpinfo shows no reference to imagick. Yes, I used --with-imagick and tried --with-imagick=<dir> as well. I've noticed when I rebuild the configure file, there is no reference in it for imagick. Conversely, there ARE references for my openbase module, so I am assuming the problem is in the module installation itself (i.e. telling php that the module exists). Is that the job of phpize? Any help would be appreciated. Robert p.s. During the install process I never got errors, but did get a few warnings that look like they are just complaining about doing things the "old way": ./buildconf --force Forcing buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.57 (ok) buildconf: Your version of autoconf likely contains buggy cache code.
           Running cvsclean for you.
           To avoid this, install autoconf-2.13 and automake-1.5.
buildconf: libtool version 1.5 (ok) rebuilding configure rebuilding main/php_config.h.in WARNING: Using auxiliary files such as acconfig.h', config.h.bot' WARNING: and config.h.top', to define templates for config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. --------------------------------- Robert Duran robert@agathonvm.com ---------------------------------


« previous php.general (#187768) next »