> On Mon, 13 Jun 2011 13:36:09 -0500
> David Mertens <[email protected]> wrote:
>
> Dima -
> 
> I cloned your repo and tried running tst.pl. I got a bunch of errors
> like this:
> 
> --------%<--------
> Cannot open load file '--persist'
> line 0: util.c: No such file or directory
> --------%<--------
> 
> The funny thing is that the number of such errors varied from run to
> run. Unfortunately, I never got anything to plot. I am running Ubuntu
> 10.04 and gnuplot says it's at version 4.2 patchlevel 6. The gnuplot
> manpage doesn't say anything about '--persist' as far as I can tell,
> and I think that my version only wants X11 options and file names, no
> gnuplot options.
> 
> Thoughts?
> 
> David

Hi David.

I think --persist was introduced in 4.3, so this is indeed your
problem. To test the rest, simply remove the '--persist' from the
script and it'll run. What persist gets you is that after the gnuplot
process exits, the plot will stick around. So with --persist your perl
program can exit and the plot will still be up (without interactivity,
though).  As an aside, you really should upgrade since 4.4 added a lot
of useful features.

I'll add some checks to make sure gnuplot is runnable and to make sure
it uses --persist if it exists; probably will do this later today.
Thanks for testing.

dima

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to