Page 1 of 1

Building ImageMagick 6.7.9 with various delegates on OS X

Posted: 2012-10-16T07:46:08-07:00
by mwk
Hi All-

I'm trying to build ImageMagick 6.7.9 from source, along with various transcoder delegates. While I'm able to build imagemagick without any trouble, getting the various delegates to work has been a struggle with lots of trial and error.

The only delegate I've currently got working is jpeg-8d(which I installed from imagemagick ftp)-here's how I'm configuring it, which I then install via a call to 'make install':
./configure --prefix=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg --libdir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg \
--includedir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg

so, I've got the jpeg lib installed in the source directory of imagemagick.

I'm configuring Imagemagick(and achieving success with jpeg) with this:
./configure --enable-shared --enable-delegate-build --prefix=/Users/mwkohout/Documents/imagemagick_build/installRoot --with-perl=no --without-magick-plus-plus --with-x=no --without-ttf --enable-shared=yes

However, if I try to build tiff-4.03(also downloaded from the imagemagic ftp server), and install it into a 'tiff' folder next to the built 'jpeg' delegate, Imagemagick doesn't pick it up. Here's how I'm configuring that:
./configure --prefix=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff CFLAGS="-DHAVE_APPLE_OPENGL_FRAMEWORK" \
--libdir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff --includedir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff


Does anyone have any idea what I may be doing wrong? Individual portions of all this are working, I'm just not getting the results I'd expect.

thanks
Mike

Re: Building ImageMagick 6.7.9 with various delegates on OX

Posted: 2012-10-16T11:34:29-07:00
by fmw42
I assume you mean OSX.

Here is how I do it.

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