Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PDL CPAN distribution.

Report information
The Basics
Id: 39385
Status: resolved
Worked: 3 hours (180 min)
Priority: 0/
Queue: PDL

People
Owner: Nobody in particular
Requestors: mmaslano [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.4.3
Fixed in: 2.4.4



Subject: Missing Functions from PDL::Graphics::PLplot
Description From Bill Adams (badams@tqs.com ) 2008-09-10 14:08:35 EDT Description of problem: plgvpd and plgvpw are missing from the PDL::Graphics::PLplot interface. Version-Release number of selected component (if applicable): perl-PDL-2.4.3-12.fc9 How reproducible: Every time. Steps to Reproduce: perl -MPDL::Graphics::PLplot -e 'my ($x1, $x2, $y1, $y2) = (PDL->new(0),PDL->new(0),PDL->new(0),PDL->new(0)); plgvpw($x1, $x2, $y1, $y2);' Actual results: Undefined subroutine &main::plgvpw called at -e line 1. Expected results: No error. Additional info: Patch attached.
Subject: perl-PDL-2.4.3-missingfnc.patch
--- PDL-2.4.3-orig/Graphics/PLplot/plplot.pd 2005-05-03 07:19:47.000000000 -0700 +++ PDL-2.4.3/Graphics/PLplot/plplot.pd 2008-09-10 09:54:41.000000000 -0700 @@ -1932,6 +1932,8 @@ void c_plgpage(PLFLT *p_xp, PLFLT *p_yp,PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff); void c_plgra(void); void c_plgspa(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax); +void c_plgvpd(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax); +void c_plgvpw(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax); #void c_plgstrm(PLINT *p_strm); #void c_plgver(char *p_ver); void c_plgxax(PLINT *p_digmax, PLINT *p_digits);
Hi: I just added these two functions and cleaned up some of the interface for the 'get' functions: 'plg*'. The result is on CPAN in version 0.38 of the stand-alone PDL::Graphics::PLplot, and will be added to the PDL CVS. Regards, Doug Hunt On Thu Sep 18 07:30:26 2008, mmaslano@redhat.com wrote: Show quoted text
> Description From Bill Adams (badams@tqs.com ) 2008-09-10 14:08:35 EDT > > Description of problem: > plgvpd and plgvpw are missing from the PDL::Graphics::PLplot interface. > > Version-Release number of selected component (if applicable): > perl-PDL-2.4.3-12.fc9 > > How reproducible: > Every time. > > Steps to Reproduce: > perl -MPDL::Graphics::PLplot -e 'my ($x1, $x2, $y1, $y2) = > (PDL->new(0),PDL->new(0),PDL->new(0),PDL->new(0)); plgvpw($x1, $x2, $y1, > $y2);' > > Actual results: > Undefined subroutine &main::plgvpw called at -e line 1. > > Expected results: > No error. > > Additional info: > Patch attached.
From: mmaslano [...] redhat.com
Thank you, that fix this issue. I tried compile this update with PDL, but it's failing on missing path for 64bits architecture. Did you remove /usr/lib64 from Makefile.PL at purpose or it's bug? My compilation problem was fixed after including this path.
diff -up PDL-2.4.3/Graphics/PLplot/Makefile.PL.distro PDL-2.4.3/Graphics/PLplot/Makefile.PL --- PDL-2.4.3/Graphics/PLplot/Makefile.PL.distro 2008-10-21 14:41:20.000000000 +0200 +++ PDL-2.4.3/Graphics/PLplot/Makefile.PL 2008-10-21 14:43:38.000000000 +0200 @@ -52,6 +53,7 @@ foreach my $libdir ( '/usr/local/lib', '/opt/local/lib', '/usr/lib', + '/usr/lib64', '/opt/lib', '/ops/tools/lib', '/sw/lib/', # default FINK installation