Installing on MacOs with XAMPP
Posted: 2011-05-13T05:50:02-07:00
Hi,
I can't get ImageMagick running on Mac OS X 10.6.7 with XAMPP 1.7.3.
I tried these instructions: http://benford.bluhelix.com/installing- ... ith-xampp/
Now I'm stuck at the point where I have to compile the imagick package:
When using the make command I get the following error:
But I also had some problems before. The instructions say to download imagick to /Applications/xampp/xamppfiles/bin/ but there I could not unpack it, so I did the unpacking and compiling in my regular download folder. Maybe that's why make does not work? I also tried moving the imagick folder afterwards to the XAMPP bin folder and using the make command there. I got the same error message.
I'm also not sure what do to here (at the beginning of the instructions):
Typing these in the terminal I get this error:
Do I have to be in a specific folder when testing? Which one?
Is it really so hard to install ImageMagick? Does anybody have know a better tutorial?
Greetings
Tina
EDIT:
I solved the problem with make command. I guess because I didn't specify the PATH, I had to use ./configure like this:
So I managed to get the imagick.so and copied it to /Applications/xampp/xamppfiles/lib/php/php5/extensions/no-debug-non-zts-20090626/imagick.so. Afterwards I added extension=imagick.so to the php.ini like described here: http://woshiadai.blogsome.com/2008/12/2 ... c-leopard/. But there's still no imagick in my phpinfo() (yes, I restarted XAMPP). Any ideas?
I can't get ImageMagick running on Mac OS X 10.6.7 with XAMPP 1.7.3.
I tried these instructions: http://benford.bluhelix.com/installing- ... ith-xampp/
Now I'm stuck at the point where I have to compile the imagick package:
Code: Select all
phpize
./configure
make
sudo make install
Code: Select all
make: *** No targets specified and no makefile found. Stop.
I'm also not sure what do to here (at the beginning of the instructions):
I also didn't understand this test commands:If you haven’t already, be sure to add /opt and /opt/local to your $PATH variable, since things installed with MacPorts will generally reside at those locations.
Code: Select all
convert logo logo.gif
identify logo.gif
display logo.gif
Code: Select all
convert: unable to open image `logo': No such file or directory @ error/blob.c/OpenBlob/2587.
convert: no decode delegate for this image format `logo' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `logo.gif' @ error/convert.c/ConvertImageCommand/3011.
Is it really so hard to install ImageMagick? Does anybody have know a better tutorial?
Greetings
Tina
EDIT:
I solved the problem with make command. I guess because I didn't specify the PATH, I had to use ./configure like this:
Code: Select all
./configure --with-imagick=/opt/local