f



bug in eps terminal 'Can't find PostScript prologue'

I get this as soon as I use the eps terminal:

gnuplot> load 'gnuplot.plt'
Can't find PostScript prologue file C:\Program 
Files\gnuplot\\share/PostScript\p
rologue.ps
         loadpath is empty
Please copy prologue.ps to one of the above directories
or set the loadpath appropriately
or set the environmental variable GNUPLOT_PS_DIR
          "gnuplot.plt", line 59: Plot failed!

Using gp 4.4.0rc1

Matthias
0
3/7/2010 3:40:59 PM
comp.graphics.apps.gnuplot 5008 articles. 0 followers. Post Follow

2 Replies
1843 Views

Similar Articles

[PageSpeed] 31

On Sun, 07 Mar 2010 16:40:59 +0100, Matthias Pospiech wrote:

> I get this as soon as I use the eps terminal:
> 
> gnuplot> load 'gnuplot.plt'
> Can't find PostScript prologue file C:\Program
> Files\gnuplot\\share/PostScript\p
> rologue.ps
>          loadpath is empty
> Please copy prologue.ps to one of the above directories or set the
> loadpath appropriately
> or set the environmental variable GNUPLOT_PS_DIR
>           "gnuplot.plt", line 59: Plot failed!
> 
> Using gp 4.4.0rc1
> 
> Matthias

Hi,
Have you also installed ghostscript and ghostview?
They are need to handle postscript.
Cheers,
Peter
0
geep
3/7/2010 4:53:55 PM
Matthias Pospiech wrote:

> I get this as soon as I use the eps terminal:
> 
> gnuplot> load 'gnuplot.plt'
> Can't find PostScript prologue file C:\Program
> Files\gnuplot\\share/PostScript\p
> rologue.ps
>          loadpath is empty
> Please copy prologue.ps to one of the above directories
> or set the loadpath appropriately
> or set the environmental variable GNUPLOT_PS_DIR
>           "gnuplot.plt", line 59: Plot failed!
> 
> Using gp 4.4.0rc1

The issue of where to install shared auxilliary files like 
the PostScript prolog files has been one of the primary 
headaches holding up release of 4.4.0.  We've tried several
policies, but nothing seems to cover the whole variety of
ways that people have their system configured.

Anyhow, with respect to the PostScript files in particular,
you can fix it by doing exactly what the error message tells
you to:

Either 
(1) copy the prolog files to the directory that was chosen
    as default when the program was built
or
(2) set loadpath or the environmental variable GNUPLOT_PS_DIR
    to point to the directory that they _are_ in.
or
(3) re-build the program after removing any definition of
    GNUPLOT_PS_DIR from the configuration file. This will cause
    the program to build and use a purely internal version of
    these headers.  The downside of doing it this way is that
    you cannot locally customize the PostScript settings without
    rebuilding the whole program.


If you find the current error message confusing, can you suggest 
better wording?

0
sfeam
3/7/2010 4:57:26 PM
Reply: