From: Alan W. I. <ir...@be...> - 2001-04-25 19:51:50
|
What was the output from configure? Your problem is almost sure to be due to an old or non-existent header or library for one/some of libgd, libpng, or zlib. --enable-png has no effect on configure if correct versions of these necessary libraries/headers are not installed in the usual place. What versions of all of those have you installed? Where have you installed them on your system? Have you included the headers (usually in a package with -dev or -devel in the name) with your installation of the libraries? What Unix/Linux system do you have? I need these details in order to help you. Alan W. Irwin email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Wed, 25 Apr 2001, M. Frankford wrote: > > I am trying to use the plplot package add dynamic plots of ballistic > data on a webpage. To do this I need to write plots to png files from a > :"C" cgi program. I have done this using the gd library. Now I wanted to > add axis tick marks and the like using the plplot lib. I started by > modifing the x01c.c program by adding > > /* Initialize plplot */ > plsdev("png"); > plsfnam("tst.png"); > plinit(); > > When I run it it returned the following error > > [root@search plplot-5.0.3]# tmp/x01c | more > Plplot library version: 5.0.3 > Requested device png not available > > I ran configure as > sh configure --enable-png > to make sure prior to make. > What else do I need to do to plot to png files. Also is it possible to > send the png output to stdout rather than a file? > > Thanks. > > Martin > > > > _______________________________________________ > Plplot-general mailing list > Plp...@pl... > http://lists.sourceforge.net/lists/listinfo/plplot-general > |