Installing Imagick

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Installing Imagick
# 1  
Old 05-22-2011
Installing Imagick

I'm working on installing ImageMagick and Imagick and could use some help. I have XAMPP installed on OS 10.5.8. I managed to get ImageMagick installed using macports. I then created a .bash_profile and added this path to it:
Code:
export PATH=$PATH:/Volumes/bootay/Applications/XAMPP/xamppfiles/bin/

After doing that, I tried to install Imagick using:
Code:
sudo pecl install imagick

which gave me the error message at the end:
Code:
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/configure --with-imagick' failed

I then downloaded MagickWand and ran phpize on it, which gave me the error message:
Code:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

At this point, I'm not sure what I should do. Should I have run ./configure prior to running phpize? Or what?

---------- Post updated at 08:03 PM ---------- Previous update was at 06:23 PM ----------

p.s. p.s. I went ahead and tried running ./configure for MagickWand. At the end I got error:

Code:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

I checked for the existence of Wand-config and got:

Code:
Computer-157:MagickWandForPHP-1.0.7 mymac$ Wand-config --version
6.6.9 Q16

I then added a path to MagickWand-config:

Code:
export PATH=$PATH:/opt/local/bin/

and was able to run phpize successfully. However, running ./configure gives error:

Code:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

which I don't understand given that I added that path previously.

Last edited by pludi; 05-22-2011 at 07:42 PM..
# 2  
Old 05-26-2011
Maybe configure is discarding your PATH for its own. The trailing / might mess things up, in your first export PATH= . . . .
# 3  
Old 05-28-2011
No, that didn't make a difference. The complete output from ./configure, if it helps anyone is:
Code:
"Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
Eric-Rehls-Computer-157:MagickWandForPHP-1.0.7 ericrehl$ ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable the magickwand extension... yes, shared
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config"

And yes, there is a MagickWand-config executable file in /opt/local/bin.

Last edited by Scott; 05-28-2011 at 12:05 PM.. Reason: Please use code tags
# 4  
Old 05-28-2011
Try ./configure --help to see if there's any option to tell it where these things are.

---------- Post updated at 07:59 PM ---------- Previous update was at 07:58 PM ----------

Also, is there any particular reason you're trying to compile from scratch instead of getting it through fink or something? fink has not just one but many prebuilt versions...
# 5  
Old 05-29-2011
Brilliant, thank you, moving on to the next phase.

Why am I not using Fink? Because I didn't know about it... next time I do one of these installs, I'm definitely giving that a go.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Re Installing windows XP after installing KUBUNTU

Hi I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation. Thanks Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies

2. BSD

Installing GUI

Hi there, I am a new FreeBSD. I am entirely new to tihs OS, I just have good dos/windows skills. So I am comparing everything with dos/windows. I have installed FreeBSD with default settings. When FreeBSD starts, the GUI (if there is any ?!?!?) doesn't start; just the command line. So thats... (4 Replies)
Discussion started by: koraykazgan
4 Replies

3. HP-UX

Installing HP 11i v3

Hi, I want to install HP 11i v3 OS on PA-RISC systems, which already have HP11i v1 operating system. I want to know that what are software and hardware requirements I will need for doing this? Thanks in Advance Mike (1 Reply)
Discussion started by: Mike1234
1 Replies

4. Linux

Installing Firefox and now ended up installing latest glibc

Hi all, I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies

5. AIX

Installing TL/ML's

Question from an AIX noob -- I recently installed an AIX box with what I thought was recent 5.3 media. After the install it was at ML 5300-00. My question is, it seems as if each ML/TL needs to be installed prior to the next - which currently makes 6(?) updates. Am I missing something - is... (4 Replies)
Discussion started by: tb0ne
4 Replies

6. Debian

installing X?

I just reformatted my computer because of a bad tip I and I installed only the base-system to add what I'd want later. My question is how/where can I get a good X-server for Debian? I'm so used to gnome and don't really like it and want to try something else. I heard about something called: Xfree... (1 Reply)
Discussion started by: riwa
1 Replies

7. Linux

Help Installing RH.9

Yea, im having a little confusion towards installing red-hat using promise controllers. It was more easy with Windows cause it prompts me and i just press F6 at the beginning of the installation and then it gives me the list of the controllers i need (from a floppy). I tried using the noprobe on... (5 Replies)
Discussion started by: kyoist
5 Replies

8. AIX

Installing memory

I need to install new memory on the server on a AIX server. I want to know what are the steps/commands in doing so. As far as I know I can use bosboot -a; shutdown -Fr. And that should recognize the memory. Please let me know what is the correct way to recognize the memory. I need to know this... (0 Replies)
Discussion started by: cyno777
0 Replies

9. AIX

How to installing .h of Dt

hi, everybody£º i have a question, pls help me¡£ OS : RS/6000 AIX 4.3.3 cPU : Powerpc,POWER3 I install X11.Dt, X11.apps, X11.base, X11.compat, X11.motif, X11.vsm full and Optional install X11.fnt using smitty! When i compling my gui programs , i found that all the include file of ... (1 Reply)
Discussion started by: q30
1 Replies

10. UNIX for Dummies Questions & Answers

installing

hey i want to install freebsd 5.1 but i ran into some problems i have a old cpu, i made boot disks from kern.flp and mfsboot.flp from the cd, and boot up, when i'm done and gonna install, it won't find the cd, then i tryed to installed with ftp, but i coulden't figure out how to do, i have a DHCP... (5 Replies)
Discussion started by: ekizz
5 Replies
Login or Register to Ask a Question