[winGRASS] Compile GRASS 5.3 in cygwin: can't find includes

Glynn Clements glynn.clements at virgin.net
Mon Aug 30 04:56:18 EDT 2004


Stefaan Lhermitte wrote:

> Im trying to complie GRASS 5.3 in the Cygwin environment but with the 
> specific ODBC, FFTW and proj features included. I've checked all 
> requierements and installed the FFTW and Proj features;
> 
> When I run:
> ./configure --without-postgres --with-odbc-libs=/usr/local/lib 
> --with-fftw-includes=/usr/local/fftw_3.0.1/include 

You need FFTW 2.x; 3.x isn't compatible.

> --with-fftw-libs=/usr/local/fftw_3.0.1/lib 
> --with-proj-include=/usr/local/proj_4.4.8/include 
> --with-proj-libs=/usr/local/proj_4.4.8/lib
> 
> I get the following error message:
> Unable to locat FFTW includes
> 
> I don't know what id do wrong since i specify the FFTW include  and the 
> file fftw.h is in that folder.
> 
> 
> I the config.log, The following can be found:
> 
> configure:9516: checking whether to use FFTW
> configure:9535: checking for location of FFTW includes
> configure:9561: checking for fftw.h
> configure:9569: gcc -E  -I/usr/local/fftw_3.0.1/include  conftest.c 
>  >/dev/null 2>conftest.out
> configure:9565:18: fftw.h: No such file or directory

That seems pretty conclusive, i.e. the compiler (specifically, the
preprocessor) fails to find fftw.h.

Could this be a Cygwin issue? Does:

	cat /usr/local/fftw_3.0.1/include/fftw.h

(from a bash shell) work?

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



More information about the grass-windows mailing list