<!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. 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> </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=/<path to GD>/include
--with-gd-libs=/<path to GD>/lib ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=449310722-04032002></SPAN></FONT> </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>
go down to .../grass5.0.0pre3/src/display/devices/PNGdriver and
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002> execute
/<path to binaries>/gmake5 -i and</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>
/<path to binaries>/gmakelink5 -i ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=449310722-04032002></SPAN></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(4) recently there
were updates made to implement -GRASS_BACKGROUNDCOLOR
and<BR> -GRASS_TRANSPARENT (see [GRASSLIST:3113]
). If I download from </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>
<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>
and replace </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002> 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> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>(5) I am on a Sun
which only has pseudo color (?) display. I assume the PNG driver will give
me</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=449310722-04032002> an 8 bit color output file
(with GD 1.8.4) IRRESPECTIVE of the hardware I have. (I will
then</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>
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> Is this assumption
correct?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=449310722-04032002></SPAN></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=449310722-04032002>John
Gillette</SPAN></FONT></DIV></BODY></HTML>