[GRASSLIST:6089] Re: can't find fftw

Glynn Clements glynn.clements at virgin.net
Fri Apr 18 13:04:37 EDT 2003


Matt Doggett wrote:

> I'm trying to compile grass5.0.2 using --with-fftw except the configure
> script can never find the fftw.h file, even when I tell it explicitly
> where it is, ie:
> ./configure --with-fftw-includes=/usr/local/include
> --with-fftw-libs=/usr/local/lib
>  * * *
> checking whether to use FFTW... yes
> checking for location of FFTW includes... /usr/local/include
> checking for fftw.h... no
> checking for dfftw.h... no
> configure: error: *** Unable to locate FFTW includes.
> 
> [root at mistral grass5.0.2]# ls -l /usr/local/include/fftw*
> -rw-r--r--    1 root     root        12462 Apr 18 08:53 /usr/local/include/fftw.h
> -rw-r--r--    1 root     root         1680 Apr 18 08:53 /usr/local/include/fftw_threads.h
> 
> Any clues on this problem?

Look in config.log for a relevant error message.

The header checks attempt to pre-process a test program which includes
the specified header (i.e. "#include <fftw.h>"); if the process
produces any output (e.g. error/warning messages), the check is deemed
to have failed.

In the event of harmless warnings which cannot be prevented, disabling
warnings by adding "-w" to CPPFLAGS (e.g. "CPPFLAGS=-w ./configure ...")
may help.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list