Topic: ImageMagick install errors... permissions? dependencies?

I'm trying to install ImageMagick for MiniMagick.  My first attempt was manually but I get errors in my app.

ImageMagick command (identify "/tmp/minimagick20477-0.jpg") failed: Error Given 32512

I found someone getting the same error and tried his fix that was changing the config for PREFIX to /usr... but no go.

Diannas-Computer:~/Desktop/ImageMagick-6.3.5 diannalee$ make install
cd PerlMagick && make CC='gcc'
test -z "/usr/lib" || config/install-sh -c -d "/usr/lib"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'magick/libMagick.la' '/usr/lib/libMagick.la'
install: /usr/lib/libMagick.10.0.8.dylib: Permission denied
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'wand/libWand.la' '/usr/lib/libWand.la'
install: /usr/lib/libWand.10.0.8.dylib: Permission denied
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'Magick++/lib/libMagick++.la' '/usr/lib/libMagick++.la'
install: /usr/lib/libMagick++.10.0.8.dylib: Permission denied
make[1]: *** [install-libLTLIBRARIES] Error 71
make: *** [install-am] Error 2

When that didn't work, I did "make distclean" and "make uninstall".

I tried manually again but again with the default configs and get...

Diannas-Computer:~/Desktop/ImageMagick-6.3.5 diannalee$ make install
cd PerlMagick && make CC='gcc'
test -z "/usr/local/lib" || config/install-sh -c -d "/usr/local/lib"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'magick/libMagick.la' '/usr/local/lib/libMagick.la'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'wand/libWand.la' '/usr/local/lib/libWand.la'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c  'Magick++/lib/libMagick++.la' '/usr/local/lib/libMagick++.la'
test -z "/usr/local/bin" || config/install-sh -c -d "/usr/local/bin"
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/animate' '/usr/local/bin/animate'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/compare' '/usr/local/bin/compare'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/composite' '/usr/local/bin/composite'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/conjure' '/usr/local/bin/conjure'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/convert' '/usr/local/bin/convert'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/display' '/usr/local/bin/display'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/identify' '/usr/local/bin/identify'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/import' '/usr/local/bin/import'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/mogrify' '/usr/local/bin/mogrify'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/montage' '/usr/local/bin/montage'
  /bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/stream' '/usr/local/bin/stream'
test -z "/usr/local/bin" || config/install-sh -c -d "/usr/local/bin"
/usr/bin/install -c 'magick/Magick-config' '/usr/local/bin/Magick-config'
/usr/bin/install -c 'Magick++/bin/Magick++-config' '/usr/local/bin/Magick++-config'
/usr/bin/install -c 'wand/Wand-config' '/usr/local/bin/Wand-config'
cd PerlMagick && make CC='gcc' install
Warning: You do not have permissions to install into /Library/Perl/5.8.6/darwin-thread-multi-2level at /System/Library/Perl/5.8.6/ExtUtils/Install.pm line 114.
mkdir /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Image: Permission denied at /System/Library/Perl/5.8.6/ExtUtils/Install.pm line 176
make[2]: *** [pure_site_install] Error 255
make[1]: *** [install-exec-perl] Error 2
make: *** [install-am] Error 2

I've also tried using port, but getting errors there too.

Diannas-Computer:~/Desktop diannalee$ sudo port install imagemagick
Password:
--->  Staging XFree86 into destroot
Error: Target org.macports.destroot returned: shell command "ln -s /usr/X11R6/bin/XDarwin.app" returned error 1
Command output: ln: ./XDarwin.app: File exists

Error: The following dependencies failed to build: XFree86 bzip2 expat fontconfig freetype zlib jpeg libiconv libpng libxml2 pkgconfig tiff
Error: Status 1 encountered during processing.


Can anyone help??  I'm on an Intel Macbook Pro.

Re: ImageMagick install errors... permissions? dependencies?

I think I got it to install (?) by doing "sudo make install" instead of just "make install"... but I'm still getting this error in my app

ImageMagick command (identify "/tmp/minimagick27988-0.jpg") failed: Error Given 256