Page 1 of 1

FFTW delegate not recognized by configure

Posted: 2017-01-12T07:31:15-07:00
by friolator
ImageMagick-7.0.4-3
fftw-3.3.5

I'm installing from source and having the same issue on both Mac OS X 10.8.5 and CentOS 7. I'm able to install ImageMagick but for some reason it's not recognizing fftw as a delegate. here's what I'm doing:

1) install fftw from source:
./configure
make
sudo make install

That seems to work fine, and the libs are in /usr/local/lib/
-rw-r--r-- 1 root wheel 1553352 Jan 12 08:35 libfftw3.a
-rwxr-xr-x 1 root wheel 891 Jan 12 08:35 libfftw3.la

2) install ImageMagick from source:
./configure --with-fftw=yes

Result of the ./configure output is:

FFTW --with-fftw=yes no

Though it did pick up libtiff automatically with no issues, which I had already installed.

If I continue on to make/sudo make install, I get a working ImageMagick, with no fftw delegates.

>convert
grd-imac:ImageMagick-7.0.4-3 perry$ convert
Version: ImageMagick 7.0.4-3 Q16 x86_64 2017-01-12 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib tiff x


Am I missing something obvious here?

Thanks!

Re: FFTW delegate not recognized by configure

Posted: 2017-01-12T07:46:33-07:00
by magick
Under CentOS 7, do you have EPEL installed? If not, install it and type:

Code: Select all

yum install fftw2-devel
Now type

Code: Select all

cd ImageMagick-7.0.4-3
./configure
make
make install
magick --list configure | grep DELEGATES
You should see fftw associated with the DELEGATES tag confirming the FFTW delegate library is utilized by ImageMagick.

Re: FFTW delegate not recognized by configure

Posted: 2017-01-12T08:27:51-07:00
by friolator
Ok, on the CentOS box, EPEL is installed. I've installed fftw2-devel with yum as described, and ran configure. The result is the same as above:

Code: Select all

FFTW --with-fftw=yes	no
When I make/make install and then run convert, it's not listed as a delegate either.

Re: FFTW delegate not recognized by configure

Posted: 2017-01-12T11:19:15-07:00
by friolator
I was finally able to get it to work by using yum to install fftw3-devel, not fftw2-devel as described above.

...there go 5 hours I'll never get back!

Thanks for the help. Now to figure out how to make this work on the mac. I'm not sure I understand what the yum version is doing differently than I am, installing from source. On the mac, I don't use the package tools like macports, but if I have to I suppose that's an option.