[GRASS5] Zlib not found on ./configure?

Eric G . Miller egm2 at jps.net
Sat Feb 10 15:21:08 EST 2001


On Sat, Feb 10, 2001 at 01:06:18PM -0700, bakerwl wrote:
> I think there was discussion of this problem, but I've lost the
> emails...
> 
> ./configure of beta11 leads to:
> checking GL/gl.h and GL/GLmMDrawA.h...configure: 
>    warning: ***Did not find GL/GLwMDrawA.h

Only needed for r3.showdspf.openGL  (You'll need Mesa or OpenGL widgets
which are separate from the base Mesa or OpenGL stuff).
 
> then when I later try to compile one of my r.le modules
> I get errors in G_zlib_compress and G_zlib_expand
>    e.g., undefined reference to 'deflateInit_' etc.
> 
> This is on Mandrake 7.2 on Intel.

Make sure the Gmakefile has $(XDRLIB) in the $(CC) line.  If it does
already, then also add $(ZLIB), though possibly your gmake5 is not up
to date.  Looks like a linker problem (need to have -lz flag and, 
obviously, libz).

-- 
Eric G. Miller <egm2 at jps.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list