----- Original Message -----
From: "chm"
The module appears to have a dependency on IPC::Run
which built and installed ok on cygwin perl 5.10.1
and on SPP 5.12.3.0.
There's some tests that get skipped on Win32 in the IPC::Run test suite.
Whether that might lead to troubles on Win32 probably depends upon the
actual IPC::Run capabilities that PDL::Graphics::Gnuplot wants to exploit.
Here's the IPC-Run-0.90 test suite results that I get:
#########################
t/adopt.t .................... skipped: adopt not implemented yet
t/binmode.t .................. ok
t/bogus.t .................... ok
t/filter.t ................... ok
t/harness.t .................. ok
t/io.t ....................... ok
t/kill_kill.t ................ skipped: Temporarily ignoring test failure on
Win32
t/parallel.t ................. skipped: Parallel tests are dangerous on
MSWin32
t/pty.t ...................... skipped: IO::Pty not installed
t/pump.t ..................... ok
t/run.t ...................... ok
t/signal.t ................... skipped: Skipping on Win32
t/timeout.t .................. ok
t/timer.t .................... ok
t/win32_compile.t ............ ok
t/windows_search_path.t ...... Constant subroutine IPC::Run::Win32_MODE
redefined at t/windows_search_path.t line 11.
t/windows_search_path.t ...... ok
All tests successful.
##########################
In Gnuplot_demo.pm I had to get rid of the unix-centric `which gnuplot`
command.
Then, having installed version 0.10ced of PDL::Graphics::Gnuplot and with
gnuplot.exe in my path, I tried running the following script:
use PDL::Demos::Screen;
do "Gnuplot_demo.pm";
PDL::Demos::Gnuplot_demo::run();
That produced the following output:
##########################
---- Code:
# ensure that the module is loaded
use PDL::Graphics::Gnuplot;
# Create a Gnuplot object - the default device displays on most
# operating systems. (No plot window yet - just the object).
$w = gpwin();
# Create variables to plot
$x = xvals(1000);
$y = $x/1000 * sin($x/10);
---- Output:
##########################
At that point nothing else happens, and I have to Ctrl-C to get back to a
command prompt.
Haven't had time to look any further.
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl