Page 1 of 1

Install from source with delegates

Posted: 2015-02-02T08:58:42-07:00
by D.Mon
Hello,

I wanted to install ImageMagick from source under OS X 10.10 Yosemite.

To do so, I first installed
  • ghostscript-9.10
  • jpeg-9a
  • libpng-1.6.16
  • tiff-4.0.3
by downloading the tar.gz files from http://www.imagemagick.org/download/delegates/ and executing

Code: Select all

./configure
make
sudo make install
Then I did the same with http://www.imagemagick.org/download/ImageMagick.tar.gz

It seems that ImageMagick does not find the delegates.
convert -version gives me:

Code: Select all

Version: ImageMagick 6.9.0-4 Q16 x86_64 2015-02-01 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC
Delegates (built-in): bzlib xml zlib
When I try to work with png or so, I get:

Code: Select all

no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501.
What do I have to do to get support for Ghostscript, jpeg, png and tiff?

Re: Install from source with delegates

Posted: 2015-02-02T11:12:00-07:00
by fmw42
Either the delegates did not get installed correctly or went to some other directory that IM is no looking to.

The way I install on my Mac OSX Snow Leopard is to use MacPorts for my delegates and then install IM manually.

see
viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202

Re: Install from source with delegates

Posted: 2015-02-03T07:30:55-07:00
by D.Mon
Thank you for your feedback.

I think the delegates did get installed correctly and they are in a default location (/usr/local/)
I can see some related files in /usr/local/lib

Code: Select all

ls -1 /usr/local/lib/*jpeg*
/usr/local/lib/libjpeg.9.dylib
/usr/local/lib/libjpeg.a
/usr/local/lib/libjpeg.dylib
/usr/local/lib/libjpeg.la
./configure is checking for header files
jconfig.h
jpeglib.h
tiff.h
png.h
and so on-
I don´t find theese on my system but I don´t find them on my old Lion either where I did install from source, too.

What do I have to do to get the header files on my Yosemite installation.
Do I have to install developer tarballs?
Where do I find these?

Re: Install from source with delegates

Posted: 2015-02-03T10:48:04-07:00
by fmw42
Sorry, I do not know how to help further. I would review the config.log file in the IM download directory to see what errors it might show.

Re: Install from source with delegates

Posted: 2015-02-03T15:05:14-07:00
by D.Mon
In the config.log there are about 32 errors that say xxxxx.h file not found.

Re: Install from source with delegates

Posted: 2015-02-03T15:44:15-07:00
by fmw42
All I can tell you is also to review the delegate install and see what errors they show. Some delegated do not get installed sufficiently without other delegates being needed first. That is why I use MacPorts to install all my delegates. It knows what support delegates to install first. The I install IM manually with the extra config arguments as per my link above.