[GRASSLIST:2448] Re: Grass5pre2. Compilation problem on RedHat 7.1

Markus Neteler neteler at itc.it
Tue Sep 18 07:54:47 EDT 2001


On Tue, Sep 18, 2001 at 01:28:41PM +0200, Daniel Tourde wrote:
> Hi!
> 
> 
> > Sorry: unless you did not run "make install" (not possible for you in the
> > moment), run
> > 
> > bin.i686-pc-linux-gnu/gmake5
> 
> OK. I got this:
> 
> 
> [root at brest src]#
> /usr/src/redhat/BUILD/grass5.0.0pre2/bin.i686-pc-linux-gnu/gmake5
>   SRC     = /usr/src/redhat/BUILD/grass5.0.0pre2/src
>   CMD     = /usr/src/redhat/BUILD/grass5.0.0pre2/src/CMD
>   UNUSED  = /usr/src/redhat/BUILD/grass5.0.0pre2/unused
>   HEADER  = head.i686-pc-linux-gnu
>   ARCH    = i686-pc-linux-gnu
>   GISBASE = /usr/src/redhat/BUILD/grass5.0.0pre2/dist.i686-pc-linux-gnu
>   VERSION = 5.0.0pre2 September 2001 
> #################################################################
> /usr/src/redhat/BUILD/grass5.0.0pre2/src
> Gmakefile not found (or not readable)

yes: you are trying in src directory, but have to compile src/libes/gis/

so:

 /usr/src/redhat/BUILD/grass5.0.0pre2/bin.i686-pc-linux-gnu/gmake5 src/libes/gis 

will work if you are in the main src directory.

> > The bug I have seen in your other mail tells me that "zlib.h" is not
> > found. Please use the related configure parameter to tell GRASS where
> > to find zlib.h.
> 
> OK. I will do it right now.
> 
> > > I will try to recompile with zlib but it seems that I need fftw.h and I
> > > don't have this file (I have several ones that look like "cousin" of it
> > > but not fftw.h)
> 
> > > [root at brest root]# locate fftw.h
> > > /usr/include/dfftw.h
> > > /usr/include/drfftw.h
> > > /usr/include/sfftw.h
> > > /usr/include/srfftw.h
> > 
> > you should have:
> > /usr/local/include/fftw.h
> > (or that file in another place).
> 
> I downloaded fftw-2.1.3-8.src.rpm from Rawhide and I recompiled it by
> myself. It is the last version available (I checked). I installed the
> i386.rpm files and there is no fftw.h file
> There are only the 4 files listed below (beside of the libraries by
> themselves).
> 
> How did you install fftw? Is it the same fftw?

Mine is from (see REQUIREMENTS.html):
http://www.fftw.org 

> I did not have this problem (apparently) with grass5beta11.
Of course since we introduced FFTW in 5.0.0pre2 due to former copyright
problems.
 
> > Sorry for all your problems, but up to know all will be resolved with
> > specifying the path during the "configure" run.
> 
> I wonder about fftw.h but for the rest, I believe in it... 
>
> > You will finally manage, I am sure :-)
> 
> I am sure...
> 
> Thanks for your precious help

you are welcome,

 Markus



More information about the grass-user mailing list