On Wednesday 27 Nov 2013 09:40:55 Alan W. Irwin wrote: > On 2013-11-27 11:24-0000 Andrew Ross wrote: > > Alan, > > > > This latest commit breaks plplot for me. The SAHooks functionality > > suggested by Frank is only available in more recent versions of shapelib, > > certainly more recent than is packaged in the latest version of Ubuntu or > > Debian. Since we do not check whether that functionality exists, only if > > shapelib is available, the whole build will fail for older versions. I'd > > suggest we need to check for SAHooks for now and have this additional > > code within #ifdefs. Shapelib doesn't seem to have any versioning > > information stored in the include files which we could use to check for > > the required version. > > My apologies for introducing a disruptive build issue. Your post came > as a complete surprise to me because the shapelib release (1.2.10) > prior to 1.3.0 occurred 5 years ago, and the 1.3.0 release came out > one and a half years ago with the SAHooks functionality introduced > sometime in that 5 year gap in the CVS version. Nevertheless, it turns > out (as you have indicated) that Debian and Ubuntu are sticking with a > dated 1.2.10 version of shapelib for now without bothering even to follow > the CVS version of shapelib. From discussion in > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526984 that "dated > version" issue is fortunately about to be addressed, but I presume it > will be something like a year or two before the majority of Debian and > Ubuntu users are using a modern release of shapelib. And it is also > possible a dated version of shapelib could be an issue for other Linux > distributions. Therefore, I agree there is no alternative other than > to check for SAHooks and use conditional programming to use this > SAHooks method to suppress the annoying and misleading shapelib > "error" messages and otherwise (for those stuck using a dated version > of shapelib) just live with those error messages. > > I will address this build issue as quickly as possible today, but if > you are stuck in the meantime, I suggest you build shapelib 1.3.0 > (which is really trivial to do) following the directions in > cmake/build_projects/shapelib/README, and use that version instead of > your dated system version of shapelib.
Does seem odd to have such an old version, especially since shapelib is used by other popular software such as grass and gdal. Anyway, your fix seems to do the job nicely thanks. 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=84349351&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
