From: Doug H. <dh...@uc...> - 2003-03-05 21:43:21
|
Rafael: >* Doug Hunt <dh...@uc...> [2003-03-05 10:03]: > > > >>I just checked the PDL::Graphics::PLplot interface (I dropped the 'OO') >>into the PDL CVS. There are some bugs still which I plan on fixing >>today. It has conditional compile support for both plplot versions >>5.1.1 and 5.2.0. >> >> > >Great. When is the next release of PDL (or your module) expected to come >out? > Hopefully soon, but no date has been set. I would guess 1-2 months. > > > >>BTW: Is there a better way of determining the version of plplot >>installed on a system besides looking at the file name that the >>libplplotd.so symlink points to? >> >> > >Please, never, never, NEVER, do this. Although the library soname have >coincided with the package version up to now, this is not going to be >necessarily the case in the future. > OK, I now changed my auto-detector in Makefile.PL to do a test compile and check the allowed number of args in plpoly3 instead of looking at the library version. I can't assume that any target system will have pkg-config installed. All: Please keep the API-breaking changes to an absolute minimum! The code for perl/PDL to detect different versions is ugly and takes much time to maintain. It would have been preferable to just create a new plpoly3 function with the extra argument instead of changing the old one. Thanks! Doug Hunt > >If you have pkg-config installed, you can use > > pkg-config plplot-double --modversion > >if PLplot was build --with-double, or > > pkg-config plplot --modversion > >if not. > >For more information on pkg-config, see: > > http://www.freedesktop.org/software/pkgconfig/ > > > |