Page 1 of 1

Install MagickWand on OS 10.4

Posted: 2007-02-11T18:22:15-07:00
by bennettphoto
After spending the entire weekend trying to install ImageMagick and MagickWand for PHP on OS 10.4, I'm quite defeated. Judging by all the WEB postings and different solutions by users who are occasionally thrilled to get them actually working, it seems that this is not an uncommon problem, especially for we Unix neophytes.

My ImageMagick installation may be working, but I definitely can't install MagickWand I can't get past rm ./configure or ./buildconf --force. I keep being told that the are no such files or directories when I try to execute the commands.

Please could somebody give me some advice as I'm obviously doing something wrong.

Thank you,

PB

(Apologies for my posting in the MagickWand C forum)

Re: Install MagickWand on OS 10.4

Posted: 2007-02-12T06:36:54-07:00
by bennettphoto
I now, thanks to Loki's help, seem to have IM working, but no luck with MagickWand.

My OS X PHP5 directory structure:
/usr/local/php5/ (contains:bin, etc, include, lib, libphp5.so, oracle, php.d, share)
/usr/local/php5/php/include/ext/magickwand

phpize from the magickwand dir works.

The only configure file that I can find to remove is in the magickwand dir. Do I remove this?

I don't know the dir from where I should run buildconf.

In any event, Bash tells me "buildconf: command not found".

I don't have a clue about what step 5) in the Installation instructions means.

I'm quite proficient with PHP and just want to program my app!

Thanks

B.

Re: Install MagickWand on OS 10.4

Posted: 2007-02-12T14:42:30-07:00
by magick
We use Redhat. We move to the magickwand folder and type configure followed by make. We then copy the modules/magickwand.so file to the PHP extension path (e.g. /usr/lib/php/modules). Next we need to permit the extension so we edit php.ini and add extension=magickwand.so. This should work under Mac OS X except the MagickWand module may have a different name and the PHP paths are probably different.

Re: Install MagickWand on OS 10.4

Posted: 2007-02-17T10:49:52-07:00
by bennettphoto
Thank you,

I'll try this this evening. I've really have been stuck!

PB

Re: Install MagickWand on OS 10.4

Posted: 2007-02-17T13:50:13-07:00
by bennettphoto
Hi,

I have tried your instructions but get the following error with configure;
(Perhaps from past installation attempts? I ran phpize again in this dir, but got the same error.)

I'd appreciate your suggestions as I know no Unix.

Thank you in advance,

pb

noname:/usr/local/php5/include/php/ext/magickwand pb$ configure
configuring ImageMagick 6.3.2
checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking target system type... powerpc-apple-darwin8.8.0
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /usr/local/src/ImageMagick-6.3.2/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
noname:/usr/local/php5/include/php/ext/magickwand pb$