[GRASSLIST:2856] Compilation problem w/5pre2: flate.c (zlib?)
nsmith at holycross.edu
nsmith at holycross.edu
Sat Jan 5 10:30:55 EST 2002
I'm failing to complie GRASS5pre2 on YellowDogLinux. At
src/libes/gis, here's what happens:
gcc -g -O2 -I/usr/include/pgsql/ -I/usr/include
-I/home/nsmith/grass5.0.0pre2/src/include -I/usr/incl
ude -c flate.c -o OBJ.powerpc-unknown-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[1]: *** [OBJ.powerpc-unknown-linux-gnu/flate.o] Error 1
make[1]: Leaving directory `/home/nsmith/grass5.0.0pre2/src/libes/gis'
GISGEN failure at STEP: src/libes/gis
Earlier postings seem to describe a similar problem as a failure to find
zlibs. I have configured (somewhat redundantly) using
./configure --with-includes="/usr/include/pgsql/ /usr/include"
--with-zlib-includes=/usr/include --with-libs=/usr/lib --with-zlib-
libs=/usr/lib
and seem to get reasonable output: in src/CMD/head/head.ARCH I have the
following values (correct for my system):
ZLIB = -I/usr/include -L/usr/lib -lz
ZLIBINCPATH = -I/usr/include
ZLIBLIBPATH = -L/usr/lib
So if it's not a failure to find zlib, is it another library problem, or
something else I'm missing?
Thanks in advance for any suggestions,
Neel Smith
nsmith at holycross.edu
More information about the grass-user
mailing list