From: Alan W. I. <ir...@be...> - 2005-06-29 16:04:03
|
On 2005-06-29 09:08+0200 Arjen Markus wrote: > Hello all, > > I had a private conversation with Walt Brainerd about his efforts > to make PLplot on Windows, using Cygwin. To get him started after > his first problems, related to GD (on Windows you need extra > libraries for that and there appears to be a problem with > "module gd" - that is a problem to be looked at later on), > I adviced him to run configure with --disable-png. > > Presumably that is not enough to avoid the GD library altogether. > Should that read: > > ./configure --disable-png --disable-gif --disable-jpeg > > The (abbreviated) error he got with only --disable-png was: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include > -I../include -I/usr/include/freetype2 > clude/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 > -I/usr/include/libgnomecanvas-2.0 -I/us > I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -I/usr/include/pango-1.0 > pe2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > -I/usr/X11R6/include -I/usr/include/atk-1.0 > d_la-gd.lo -MD -MP -MF .deps/gd_la-gd.Tpo -c gd.c -DPIC -o > .libs/gd_la-gd.o > gd.c:153: error: redefinition of `plD_DEVICE_INFO_gd' > gd.c:149: error: `plD_DEVICE_INFO_gd' previously defined here > make[2]: *** [gd_la-gd.lo] Error 1 > make[2]: Leaving directory > `/home/walt/Software/PLPlot/plplot-5.5.3/drivers' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/walt/Software/PLPlot/plplot-5.5.3' > make: *** [all] Error 2 If I recall correctly from reports from a Cygwin user there should not be any gd problem on Cygwin. However, there are Cygwin limitations, and to get any good results on that platform at all (at least for the Cygwin version from roughly a year ago), Walt should follow the special Cygwin configure directions in our INSTALL file. Also, he should note there is a workaround there for a special Cygwin g77 problem for getting access to command-line arguments. I doubt that will be a concern for other fortran compilers so long as they have access to the iargc and getarg fortran library routines for finding the number of arguments and actual arguments. Walt, I emphasize the problems we encountered a year ago may now be fixed in Cygwin so some additional test ./configure/builds may be required to really find out what today's Cygwin limitations are. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |