[Ilugc] FOSS Project

  • From: shahrukh1514@xxxxxxxxx (Shahrukh Khan)
  • Date: Tue Mar 24 13:07:22 2009

On Tue, Mar 24, 2009 at 12:09 PM, Kenneth Gonsalves
<lawgon@xxxxxxxxxxxxxxx>wrote:

On Tuesday 24 March 2009 12:00:49 Shahrukh Khan wrote:
Here it is not mentioned anything about configuring magickwand. I want to
run MagickWand codes in php to compare images. Please suggest any other
alternative.

now do another search and find the 'INSTALL' file and read that.
--

The INSTALL file of MagickWand is shown below


MagickWand Extension for PHP :: Installation Instructions

** REQUIRED **  ImageMagick version :: 6.3.5-9
Last-known-good ImageMagick version :: 6.3.5-9


Installation Steps


1) Either install the required ImageMagick version or make sure that it
   is installed (running "Wand-config --version" should give you the
   required information).

2) Extract the contents of the archive this file was in, or copy the

   entire directory the this file is in (make sure that it is still called
   "magickwand") to the "ext" directory in the PHP source folder. So, if
   your PHP source folder is called "PHP_SRC_DIR", you should end up with

   a directory structure like the following:

   PHP_SRC_DIR/ext/magickwand/

3) Go into the "PHP_SRC_DIR/ext/magickwand/" directory, and run "phpize".
   (A note: if this is the first time PHP is being installed, you have to

   install PHP without MagickWand, because "phpize" is a part of the PHP
   distribution.)

4) Go back to the main PHP source directory (from the example above, it
   would be "PHP_SRC_DIR", and run:


   rm ./configure

   and then

   ./buildconf --force

   to remove and rebuild the PHP configure script.

5) Follow the PHP installation instructions, but add

   --with-magickwand=IMG_MGCK_DIR


   to your ./configure command, replacing "IMG_MGCK_DIR" with the full path
   of the directory where ImageMagick is installed (in most cases "/usr").


But i dont know the location of php source directory and i installed
magickwand thro 'yum'.
I didnt know exactly where yum has placed the files of MagickWand.



Thanks in advance..........

Other related posts: