On 09/09/2009 04:48 PM, Alan W. Irwin wrote: > On 2009-09-09 14:25-0600 Orion Poplawski wrote: > >> Is there any way to force HAVE_PDL_GRAPHICS_PLPLOT_40 to be true? The >> way PDL is packaged in Fedora, PDL::Graphics::PLplot does not return a >> version, but it is using version 0.50 so it will work. > > Hi Orion: > > This is mostly directed to you, but I hope Doug will take an interest > in this thread as well. > > What do you get when you run the following command from the command line: > > perl -MPDL::Graphics::PLplot '-e print "$PDL::Graphics::PLplot::VERSION\n"' > > ? > > I think Doug recommended this command previously to me to determine module > version, but if he has a better/more reliable suggestion now for > determining > the PDL::Graphics::PLplot version, that would be great. > > I just downloaded and installed version 0.51 of Doug's PLplot module from > CPAN, and the result I get from the above command is 0.51 (as expected). > Previously I had downloaded and installed version 0.47 of the same module > and version determination worked the same way for that version as well. So > I think the above command to determine version should normally be > working for version 0.50 on Fedora as well. > > Anyhow, let me know the results of the above command (which is also used in > cmake/modules/pdl.cmake to figure out the module version), and we can take > it from there.
I've been packaging the perl-PDL package for Fedora as well recently, so we have flexibility. Currently the way I'm packaging PDL is to copy in plplot.pd and plplot.t from the PDL-Graphics-PLplot tarball into the PDL 2.4.4_05 distribution. At this point, I have to strip the VERSION line from plplot.pd or make check for PDL fails with a object version mismatch error from DynaLoader.pm. I guess another possibility is to strip PDL::Graphics::PLplot completely from the PDL package and package it separately. But I don't want to do this if the main PDL package will eventually catch up. It kind of drives me crazy that there are two separate releases for ostensibly the same thing. I mean, at some point the main PDL release will contain an up to date version of the PLplot package that will work too, then your test will need to be updated to handle that PDL version as well. So, any suggestions welcome. Currently the perl command above returns "" because the VERSION line is removed. - Orion -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel