Hi Alexis, all: I've applied this patch and called it
PDL-Graphics-PLplot-0.67. I've sent this is CPAN, it should arrive
shortly. I've also disabled example 19, which now no longer works, but
which I don't have time to fix right now.
If anyone has time to look at the perl example scripts that no longer work
as of this release, they are in the t/not_covered directory:
examples: 16, 19 and 20. In this directory are the no longer working
perl scripts and the correct, current C programs whose output they should
match.
Regards,
Doug
[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611
On Thu, 14 Nov 2013, Alexis Praga wrote:
Thanks for the patch, it works :)
I had to use the --ignore-whitespace option for patching though.
Was this due to an issue with 64-bit addresses by older PDL versions ?
---
Alexis Praga
GPG key : 66F9 4BD4 70EC E5D5 2AA4 9097 0673 7CE2 4671 306F
Le 2013-11-14 02:32, [email protected] a ?crit :
Hi Alexis,
I think you just need to apply this simple patch to 'plplot.pd', then
re-build from scratch:
--- plplot.pd_orig 2013-11-10 11:14:30 +1100
+++ plplot.pd 2013-11-10 14:27:53 +1100
@@ -3813,7 +3813,11 @@
pdl *x_pdl, *y_pdl;
PLFLT *tx, *ty;
SV *x_sv, *y_sv;
+#if defined(PDL_CORE_VERSION) && PDL_CORE_VERSION >= 10
+ PDL_Indx dims, i;
+#else
int dims, i;
+#endif
I32 count, ax;
dSP;
(Worked for me.)
Cheers,
Rob
-----Original Message----- From: Alexis Praga
Sent: Thursday, November 14, 2013 3:43 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Perldl] Tests fail with custom PLplot installation
Thanks for the reply.
I'm on Fedora 14, 64-bit version. I had to specify the files output and
here is the result :
$ perl -Iblib/lib -Iblib/arch t/x19.pl -dev svg -o x19p.svg
*** PLPLOT WARNING ***
Use of the old plplot map file format is deprecated.
It is recommended that the shapelib library be used to provide map
support.
Probably false alloc of over 1Gb PDL! (set $PDL::BIGPDL = 1 to enable)
at t/x19.pl line 128.
Setting $PDL::BIGPDL = 1 in t/x19.pl led to :
$ perl -Iblib/lib -Iblib/arch t/x19.pl -dev svg -o x19p.svg
*** PLPLOT WARNING ***
Use of the old plplot map file format is deprecated.
It is recommended that the shapelib library be used to provide map
support.
Out of memory!
Cheers,
---
Alexis Praga
GPG key : 66F9 4BD4 70EC E5D5 2AA4 9097 0673 7CE2 4671 306F
Le 2013-11-13 16:43, Doug Hunt a ?crit :
Hi Alexis: Which architecture are you using?
It looks like one of the perl scripts in the PLplot examples suite did not
run.
You can get more information on the failure by running ./t/x19.pl
individually:
perl -Iblib/lib -Iblib/arch t/x19.pl
and see what kind of message you get.
Please email me the results of the above run and I'll see if I can help.
Please understand that PDL::Graphics::PLplot *mostly* works because
the first test (t/plplot.t) ran OK.
Regards,
Doug
[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611
On Wed, 13 Nov 2013, Alexis Praga wrote:
Hi,
I'm trying to install PDL::Graphics::PLplot (version 0.66) with cpan.
PLplot is installed in a custom folder and I had to set :
export PLPLOT_INCDIR=$SOFTWARES/plplot/include/plplot
export PLPLOT_LIBDIR=$SOFTWARES/plplot/lib
Just exporting LDFLAGS and CPPFLAGS did not work, the library was not
found. Why is that ?
But my real issue is the testing suite breaks with :
t/plplot.t ................ ok
t/plplot_library_tests.t .. 118/?
# Failed test 'Script ./t/x19.pl ran successfully'
# at t/plplot_library_tests.t line 68.
# Failed test 'Output file x19p.svg.3 matches C output'
# at t/plplot_library_tests.t line 74.
t/plplot_library_tests.t .. 229/? # Looks like you failed 2 tests of 233.
t/plplot_library_tests.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/233 subtests
Test Summary Report
-------------------
t/plplot_library_tests.t (Wstat: 512 Tests: 233 Failed: 2)
Failed tests: 119, 122
Non-zero exit status: 2
Files=2, Tests=268, 55 wallclock secs ( 0.06 usr 0.00 sys + 9.74 cusr
1.66 csys = 11.46 CPU)
Result: FAIL
Failed 1/2 test programs. 2/268 subtests failed.
make: *** [test_dynamic] Error 2
DHUNT/PDL-Graphics-PLplot-0.66.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DHUNT/PDL-Graphics-PLplot-0.66.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DHUNT/PDL-Graphics-PLplot-0.66.tar.gz : make_test NO
Cheers,
-- Alexis Praga
GPG key : 66F9 4BD4 70EC E5D5 2AA4 9097 0673 7CE2 4671 306F
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl