|
From: Alan W. I. <ir...@be...> - 2001-04-26 06:12:14
|
On Wed, 25 Apr 2001, M. Frankford wrote: > On Wed, 25 Apr 2001, Alan W. Irwin wrote: > > > 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 am using Linux-Mandrake 7.2. I have sucessfully used gd 1.8.1 to.... Thanks for that version information. On Mandrake 7.2 make sure you have installed the development versions of the libgd, libpng, and zlib packages. I don't have access to 7.2, but to give you some guidance these packages are called libgd1-devel-1.8.4-3mdk.i586.rpm, libpng2-devel-1.0.9-1mdk.i586.rpm, and zlib1-devel-1.1.3-15mdk.i586.rpm for Mandrake 8.0 (Of course you will also need the corresponding 3 packages without -devel in their names.) I suspect some of these 6 packages (7.2 versions!) are currently not installed on your system, and rectification of this will solve your problem. > Where is the output of the configure stored? It is just written to the screen (as stderr I believe) so just cut and paste that into your e-mail to me if installation of the required packages doesn't solve your problem. > The gd.c code was compiled by make into gd.o so it must have found the > headers. That's a reasonable inference, but it turns out not to be correct. If configure doesn't find the essential headers and libraries, then it disables png, and gd.c becomes essentially an empty file through #define's. Compilation of this file produces a vacuous gd.o. We may be changing this configuration method in the next version of PLplot. 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 __________________________ |