Hi Werner: Orion's recent post got me interested in testing PLplot's D support. According to http://en.wikipedia.org/wiki/D_(programming_language) it sounds like a terrific language.
Today, I installed the gdc Debian Lenny package (which contains the D compiler), and I have been working on some D build-system issues ever since. The big issue was that the "examples_d" ctest did not work at all because rpath was not being set in the build tree for the D examples because of D language support issues for CMake. There was an almost identical bug for Ada language support when we switched to CMake 2.6.x. Accordingly I copied what is done for Fortran and Ada for CMake-2.6.x into the D language support files in cmake/modules, and that solved the D rpath issue. I am by no means a CMake language support guru so this is a perfect example of being able to go a long way with CMake using reasoning by analogy without knowing what the hell you are doing! :-) As of revision 9876, all seems well (from the build system perspective) with D in the build tree on Debian Lenny. Here is the summary of my current D ctest results. d Missing examples : 01 02 09 14 14a 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Differing postscript output : 03 12 13 Missing stdout : Differing stdout : So the build-tree infrastructure seems to be working now for CMake-2.6.x for the D language. Also note that a good start has been made by Werner on the necessary examples, but I am sure he would welcome help from others now that the results can easily be tested using ctest. Note that because of the lack of a complete set of standard examples we are still keeping D disabled by default, but if you want to test it for yourselves simply specify -DENABLE_d=ON (and make sure you have a D compiler such as gdc installed on your system). Werner, could you do a quick check that you get the above ctest result on Windows with the changes that I have made? N.B. if win-bash has access to the "break" command, please remove the comment on that command in plplot_test/test_diff.sh.in to speed things up by a tiny but aesthetically pleasing amount. Currently, the install-tree D examples do not build, but I plan to look at that issue soon. 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 __________________________ ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel