On 2009-03-27 10:20+0100 Arjen Markus wrote: > Hi, > > the new set-up to get the driver .rc files seems to be > failing under Cygwin. I have no idea why: I am not overly > familiar with libtool and its inner workings, but what > happens is this: > > The test-drv-info runs to completion but writes an > empty string to the screen - and hence the .rc file > is empty.
Hi Arjen, Please give more details to help the rest of us understand the issue you have run into on Cygwin. There are two .rc files per device driver. One configured by cmake in drivers, and the one created by test-drv-info in drivers/test_dyndrivers_dir. You imply the first one is fine and the second one is empty, but could you confirm that? If the second one is empty, it means that dynamic loading doesn't even pass an elementary test on Cygwin and certainly no dynamically loaded device driver would work when you try to run PLplot. Please run test-drv-info by hand (don't forget "make VERBOSE=1" to figure out how you do that) and report back the exact command and every message (if any) that is given by that elementary test of dynamic loading. Beyond that, there are two possibilities to use on Cygwin for dynamic loading. Either Werner's windows solution or the Cygwin package http://cygwin.com/packages/libltdl3/. Just to clarify what is going on can you state which is being using? Currently, I don't think you have a choice. Instead, our build system will pick one of them. But which one? Use ldd on test-drv-info to find out. If our build system chooses libltdl, do you have the latest/greatest version installed properly? Alan __________________________ Alan W. Irwin 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 libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel