<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>Pluggers,</DIV>
<DIV> </DIV>
<DIV>Have you heard of the following:</DIV>
<DIV>As of version 1.6, you also need the zlib compression library, and
the<BR> libpng library. As of version 1.6.2, you can draw text
using<BR> antialiased TrueType fonts if you also have the libttf
library<BR> installed, but this is not mandatory. zlib is available
for a variety<BR> of platforms from the zlib web site. libpng is
available for a variety<BR> of platforms from the PNG web
site.</DIV>
<DIV> </DIV>
<DIV>I looked on my server and found the following:</DIV>
<DIV>libjpeg-6b-10</DIV>
<DIV>zlib-1.1.3-5</DIV>
<DIV>libpng 1.0.3-4</DIV>
<DIV> </DIV>
<DIV>The error I'm getting when trying to run make is:</DIV>
<DIV> </DIV>
<DIV>[root@gateway gd-1.8.3]# make<BR>gcc -I. -I/usr/local/include
-I/usr/include/X11 -I/usr/X11R6/include/X11 -O -c<BR> gd.c -o
gd.o<BR>gd.c:8: zlib.h: No such file or directory<BR>make: *** [gd.o] Error
1</DIV>
<DIV> </DIV>
<DIV>Any ideals, seems it cannot find zlib.h. I issued the command locate
zlib.h and got nothing. Instead I got the following:</DIV>
<DIV>[root@gateway gd-1.8.3]# locate zlib.h<BR>/usr/include/bzlib.h</DIV>
<DIV> </DIV>
<DIV>Yet I cannot find this header file anywhere ( looked at rpmfind.com).</DIV>
<DIV>I issued the following on my rh62 cd:</DIV>
<DIV>rpm -qlp * | grep -l zlib.h</DIV>
<DIV>How do I get grep to list the file it found the information, this was the
output when I issued the above? </DIV>
<DIV>[root@gateway RPMS]# rpm -qlp * |grep -l zlib.h<BR>(standard
input)<BR>Broken pipe</DIV>
<DIV> </DIV>
<DIV>When I issued the same command without the -l, this is the
output:<BR>[root@gateway RPMS]# rpm -qlp * |grep
zlib.h<BR>/usr/X11R6/include/X11/extensions/lbxzlib.h<BR>/usr/include/bzlib.h<BR>/usr/src/linux-2.2.14/drivers/net/zlib.h<BR>/home/httpd/html/manual/mod/mod_php3/ref.zlib.html<BR>/usr/include/zlib.h</DIV>
<DIV> </DIV>
<DIV>As you can see it doesn't contain the filename(s) that contains the zlib.h
file.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Jon L. Miller, MCNE ASE<BR>Director/Sr Systems Consultant<BR>MMT Networks
Pty Ltd<BR><A
href="http://www.mmtnetworks.com.au">http://www.mmtnetworks.com.au</A><BR>PH:
+61 8 9242 8600<BR>FX: +61 8 9242 8611</DIV></BODY></HTML>