Re: png for trends

Kenneth.ray <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
hi, Boy you really are a rocket scientist *smile*
just mucking around with it myself, i found that you need all the peices of the puzzle
for it to work.  meaning you need all the packages associated with
PNG installed for it to work correctly.
I would also suggest, rather than taking the standard preconfigured
binary packages for the components, you actually compile them for
your system. I know on my box, this made a big difference to actually
get the machine to display the image.  also PNG i believe has a "make test"
that will create image to ensure that all the librarys required are there.
but its been so long ago since i installed thit that it is quite possible i am
mistaken.
HTH
your humble servant,
Kenneth Ray


Message: 7
Date: Wed, 18 Sep 2002 14:05:37 -0400 (EDT)
From: Dave  Stern - Former Rocket Scientist <[email protected]>
Reply-To: [email protected]
To: netsaint users list <[email protected]>
Subject: [netsaint] png for trends,statusmap.cgi

I had a working version of netsaint-0.0.7 on a solaris box then started
mucking with it. I'm at the point were everything works except trends and
the statusmap. Worse, neither gives any error, just displays the unknown
icon for the image. Even stranger, while netscape displays the unknow
image for both, the "opera" browser actually will display the statusmap
but comes up with the blank image for trends.

I checked libpng ea libraries for the above (they at least exist) and even
went as far as figuring out how to run trends.cgi from the command line:

% setenv QUERY_STRING
"createimage&t1=1032274919&t2=1032361319&assumeinitialstates=on&assumeinitialstateok=on&assumestateretention=on&host=adam&backtrack=2&zoom=4"
I can even truss trends.cgi and it doesn't appear to give an error. The
output
from running  trends.cgi after setting the above variable is

Cache-Control: no-store
Pragma: no-cache
Last-Modified: Wed, 18 Sept 2002 17:55:43 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: image/png


Any ideas on even how to debug this further?
TIA




-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.