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@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?
-Matt
Matt Doggett
Spatial Climate Analysis Service
Oregon State University
316 Strand Ag Hall
Corvallis, OR 97331
(541)737-9153
mdoggett@coas.oregonstate.edu
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@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@virgin.net>
I found it! Turns out I should have used just '--with-fftw' rather than
'--with-fftw-includes=...' as the latter was generating a warning
message. Thanks for the tip.
md
-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu]
On
Behalf Of Glynn Clements
Sent: Friday, April 18, 2003 10:05 AM
To: mdoggett@coas.oregonstate.edu
Cc: GRASSLIST@baylor.edu
Subject: [GRASSLIST:6089] Re: can't find fftw
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@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@virgin.net>