On 2004-02-26 08:19+0100 Arjen Markus wrote:
> "Alan W. Irwin" wrote:
> > Here is a summary of the current Cygwin situation for
> > plplot-5.3.0.cvs.20040223.tar.gz.
> > Some further progress had been made in the --enable-dyndrivers case. For
> > example, a new upgrade to libgd seemed to fix the get-drv-info gd problem so
> > make and make install go through without any obvious errors. However, the
> > examples all immediately segfault so it appears we need to wait several more
> > months (at least) for dynamic loading support in Cygwin/libtool to mature.
> > I am glad to report that for the --disable-dyndrivers case, Ullal finds
> > essentially no problems on Cygwin with plplot-5.3.0.cvs.20040223.tar.gz.
> > Both Python and octave-2.1.50 work. The only known limitation at this time
> > is that the g77 iargc function always returns -1 for the number of arguments
> > so command-line parsing has to be disabled for fortran.
> Could the --enable-dyndrivers problem be related to the problem I had
> under Linux, that is, I had to change the referencing of psc in the
> drivers I use
> to ps, because otherwise the settings I made from within my program
> would not be seen?
> It turned out that inside the general (statically linked) PLplot
> routines, psc referred to _different_
> memory than the psc variable inside the (dynamically linked and loaded)
> driver routines.
> Using the ps argument solved this problem.
> In my case, the errors were more gratious than a segfault - I got an
> error report from the X server.
Arjen, I believe you are saying you get different behaviour for the
disable-shared/disable-dyndrivers case versus the
enable-shared/enable-dyndrivers case. Could you give a simple example that
illustrates the point so we could verify this for ourselves?
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the 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