<!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.00.3315.2869" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>I have just compiled 
GD version 1.8.4.&nbsp; I want to add a PNG driver.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>I previously used 
without: dbm, gd, postgress, odbc, fftw. I am not sure</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>how to go back and 
add the PNG driver (without completely recompiling).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(1) Do I need to 
rerun ./config and modify --without-gd to </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002>--with-gd-includes=/&lt;path to GD&gt;/include 
--with-gd-libs=/&lt;path to GD&gt;/lib ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(2) Do I cd down 
into .../grass5.0.0pre3/src/display/devices or do I</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp;&nbsp; 
go down to .../grass5.0.0pre3/src/display/devices/PNGdriver and 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp; execute 
/&lt;path to binaries&gt;/gmake5 -i and</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp; 
&nbsp;/&lt;path to binaries&gt;/gmakelink5 -i ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(3) Or should I just 
recompile the whole thing?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(4) recently there 
were updates made to implement -GRASS_BACKGROUNDCOLOR&nbsp;&nbsp; 
and<BR>&nbsp;&nbsp;&nbsp; &nbsp;-GRASS_TRANSPARENT (see [GRASSLIST:3113] 
).&nbsp; If I download from </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp;&nbsp; 
<A 
href="http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/display/devices/PNGdriver/">http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/display/devices/PNGdriver/</A>&nbsp; 
and replace </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp; what I 
currently have would that include those recent changes?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(5) I am on a Sun 
which only has pseudo color (?) display.&nbsp; I assume the PNG driver will give 
me</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002>&nbsp;&nbsp;&nbsp;&nbsp; an 8 bit color output file 
(with GD 1.8.4) IRRESPECTIVE of the hardware I have.&nbsp; (I will 
then</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>&nbsp;&nbsp;&nbsp; 
drag this to my windows box and view it with Internet Explorer and have lots 
more colors)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002>&nbsp;&nbsp;&nbsp;&nbsp;Is this assumption 
correct?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=449310722-04032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>John 
Gillette</SPAN></FONT></DIV></BODY></HTML>