Over the weekend, I was trying to experiment with PDL on the Windows 10 version of Strawberry Perl and received the following:
Test Summary Report ------------------- t/simple.t (Wstat: 256 Tests: 85 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=1, Tests=85, 3 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL Failed 1/1 test programs. 1/85 subtests failed. gmake: *** [Makefile:869: test_dynamic] Error 1 -> FAIL Testing PDL-Graphics-Simple-1.005 failed but installing it anyway. Installing C:\Users\xxxxx\PDL\strawberry-perl-5.26.1.1-64bit-PDL\perl\site\lib\PDL\Graphics\Simple\Gnuplot.pm Appending installation info to C:\Users\xxxxx\PDL\strawberry-perl-5.26.1.1-64bit-PDL\perl\lib/perllocal.pod "Updating PDL documentation database..."; -> OK Successfully reinstalled PDL-Graphics-Simple-1.005 Installing C:\Users\xxxxx\PDL\strawberry-perl-5.26.1.1-64bit-PDL\perl\site\lib\MSWin32-x64-multi-thread\.meta\PDL-Graphics-Simple-1.005\install.json 1 distribution installed ------------------- I forced the install and it appears that the Prima module is failing. I only have Gnuplot and Prima available on this installation. The graph will draw but the window will freeze the perl interpeter. It appears to be an identical bug was reported on Debian about 4 years ago. https://rt.cpan.org/Public/Bug/Display.html?id=86275 I tried switching to Gnuplot, but the version that comes with Strawberry Perl is not the wxt version, but uses the Windows GDL API, for which there is no PDL support. I have looked into the gnuplot docs and there seem to be 2 options that might resolve the issue I'd like some advice on. The gnuplot docs on my system state the Gnuplot supports SVG format. It should be possible to use Gnuplot to produce SVG and display them in a browser window. I think this would require hacking the gnuplot module to start an HTTP server when the other options fail. Gnuplot also has hooks into the Tcl/Tk toolkit. It doesn't seem like it would take much to add support for use of the tkcanvas option. Any advice on which option would be preferable for a patch submission when I have a bit more time to look into this? Thanks. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
