> On Mon, 13 Jun 2011 10:07:47 -0400 > Chris Marshall <[email protected]> wrote: > > Hi Dima- > > I cloned the repo and and it built out of the box for my > cygwin install. Pretty impressive watching all the gnuplot > window appear when running tst.pl! The build and tests > passed for win32 ActiveState perl but the tst.pl program > failed with a bunch of messages like: > > 'gnuplot' is not recognized as an internal or external command, > operable program or batch file. > > So somehow the build and tests pass without the module > being able to run. I suggest adding an INSTALL file with > directions on where to obtain gnuplot and that it is required > for the module to work. > > Also, it is very helpful to module users if the module > install process is "friendly". At the least, the tests should > indicate that gnuplot was not found and refer the user > to where/how to get it. > > I had to change the git repository URL to http:// from > https:// before it would work. Maybe that would make > sense for the meta data and your github resource. > > Looking forward to seeing this on CPAN. If the platform > issues can be resolved, it could be a strong addition > to the PDL development environment. >
Hi Chris. Unlike plplot and pgplot, Gnuplot is NOT a programming API; rather it's a standalone interactive application that can also take in input on its STDIN. Since nothing is being linked, the perl module that talks to gnuplot can be loaded successfully even if gnuplot isn't installed. This is why the tests pass (the only test currently implemented is the 'use PDL::Graphics::Gnuplot' test). Getting better error handling is on my short-term todo list. I've never touched gnuplot on windows, but I believe at one point a different executable had to be used in order to pipe data to it. Does windows even have a concept of "standard input"? In either case, if this thing is to work on windows, somebody other than me will have to do the testing and getting it to work there. Hopefully that isn't a lot of work. dima _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
