On Thu, Dec 19, 2013 at 01:48:31PM -0700, Jerry wrote: > > On Dec 19, 2013, at 6:10 AM, Andrew Ross <[email protected]> > wrote: > > > > > I plan to try the comprehensive test script for my Debian based > > configurations > > later. In the meantime I've been trying to build plplot on a CentOS 5.10 > > machine at work. This is old software now and I expected problems. I also > > have no root access so have to work with what's there. > > > > I build only cmake from scratch then tried to build plplot. > > > > Many drivers / bindings were disabled anyway since components were missing > > from the system. Bugs I encountered were > > > > [ 18%] Building Ada object bindings/ada/CMakeFiles/plplotadad.dir/plplot.o > > plplot.ads:24:05: "Ada.Numerics.Long_Real_Arrays" is not a predefined > > library unit > > plplot.ads:24:05: "Plplot (body)" depends on "Plplot (spec)" > > plplot.ads:24:05: "Plplot (spec)" depends on "Plplot_Thin (spec)" > > plplot.ads:24:05: "Plplot_Thin (spec)" depends on "Plplot_Auxiliary (spec)" > > plplot.ads:24:05: "Plplot_Auxiliary (spec)" depends on > > "Ada.Numerics.Long_Real_Arrays (spec)" > > make[2]: *** [bindings/ada/CMakeFiles/plplotadad.dir/plplot.o] Error 1 > > make[1]: *** [bindings/ada/CMakeFiles/plplotadad.dir/all] Error 2 > > > > Old version of gnat (4.1.2) probably the cause. I disabled Ada and continued > > This is my bad. In Ada 2005 (which I have in the distant past incorrectly > called Ada 2007), there was a new numerics annex added which includes type > declarations for vectors and matrices along with operations on them, in > Ada.Numerics.Long_Real_Arrays. For the PLplot bindings, I did not want to > force users to use Ada 2005 but to get by with Ada 95. However, I wanted to > make using the new feature available as an option. Since Ada has no switches, > the only way to do this that I could figure out was to do some minor > commenting in PLplot_Auxiliary.ads. For my personal use, I always edit this > file to use the new numerics annex, so obviously I forgot to revert this file > before some recent commit. It was bound to happen sometime. So I've corrected > the file and now the Ada bindings should compile once again on older Ada > compilers. > > Sorry for the problem.
Jerry, Thanks for the quick fix! Andrew ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
