Help Installing Swh Plugins

I have tried to install the swh plugins, but I get this error:

checking for fftw3f >= 3.0… checking for fftw_one in -lsfftw… no
checking for fftw_one in -lfftw… no
configure: error: Could not find working FFTW library (http://www.fftw.org/). If you have
installed FFTW3 check that you used the right build options, see the README.

I edited the fftw configuration file to define single, but it didn’t work.

Could someone tell me exactly how to install fftw to work with shw? Thanks.

Your distribution probably has packages for fftw. Just make sure you install both the library and the development files (normally an almost equivalently named package, but with a -dev or -devel postfix to the name).

Installing fftw from source is also a pretty easy task:

  1. Download fftw (newest version at the time of writing is 3.1.2, available at http://www.fftw.org/download.html)
  2. Extract downloaded file (tar xzf fftw-3.1.2.tar.gz)
  3. In the fftw directory, run configure as such:
    ./configure --prefix=/usr
    (you might want to check the optimization flags with ./configure --help)
  4. Run make in the same directory
  5. After that finishes, as root (or sudo) install it by running make install

Hmm, well I went in add/remove programs to uninstall it, and it wasn’t checked, so I installed it, then ran ./configure , make, and make install, and it’s all working, even though I’ve done the same thing a thousand times.

Thanks a lot for your help!

Add/remove programs, at least in Ubuntu, only shows “programs” in the application sense. It doesn’t show you development tools or libraries which don’t offer “application” type properties (a GUI for instance) by itself. In debian based systems, software like Synaptic will offer you a view to all the packages available for your system.