[GRASSLIST:2450] Re: Grass5pre2. Compilation problem on RedHat 7.1
Daniel Tourde
ted at foi.se
Tue Sep 18 08:19:23 EDT 2001
Hi!
> 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
OK. Here it comes:
[root at brest grass5.0.0pre2]#
/usr/src/redhat/BUILD/grass5.0.0pre2/bin.i686-pc-linux-gnu/gmake5
src/libes/gis
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/libes/gis
make -f OBJ.i686-pc-linux-gnu/make.rules
gcc -g -O2 -I/usr/include/pgsql
-I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c flate.c -o
OBJ.i686-pc-linux-gnu/flate.o
flate.c: In function `break_compile':
flate.c:123: `NULL' undeclared (first use in this function)
flate.c:123: (Each undeclared identifier is reported only once
flate.c:123: for each function it appears in.)
make: *** [OBJ.i686-pc-linux-gnu/flate.o] Error 1
> > 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
Aha!
This is an important point. Let me see what I find there and let's hope
it will solve the problem without breaking an other package... (I think
I installed originally fftw for Grace)
Daniel
PS: zlib.h is under /usr/include so it should be seen. I don't
understand what's wrong with that...
--
***********************************************************************
Daniel TOURDE E-mail : daniel.tourde at foi.se
Tel : +46 (0)8-55 50 43 44
Cellular : +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81
***********************************************************************
More information about the grass-user
mailing list