From: sysgaertner@cygnus.frm.maschinenbau.th-darmstadt.de (M. Gaertner, FRM, TH Darmstadt, Germany)
Subject: Cannot run PS-files with GS2.5.2 on VMS5.5
Reply-To: sysgaertner@cygnus.frm.maschinenbau.th-darmstadt.de
Organization: Fachbereichsrechner Maschinenbau, TH Darmstadt, Germany
Distribution: gnu
Date: Tue, 6 Oct 1992 08:46:55 GMT

Hi everybody,
yesterday I compiled the GS2.5.2 on my VAX. I made only ONE change in
the VMS-CC.MAK-file, that was changing the supported device from X11 to
EPSON. Well, after making GS.EXE, I tried three PS-files with it and
all of them stopped with the same error. Here's the protocol of
ALPHABET.PS (was delivered with GS):
$ set def dua0:[temp]
$ gs :== $dua0:[temp.gs252]gs.exe
$ def gs_lib "dua0:[temp.restore];dua0:[temp.gs252]"
$ def gs_lib_default "dua0:[temp.restore];dua0:[temp.gs252]"
$ gs alphabet

Initializing... done.
Error: /undefinedfilename in --file--
Operand stack:
   (alphabet)  (r)
Execution stack:
    %interp_exit    --nostringval--  --nostringval--  false  --nostringval--  
--nostringval--
Dictionary stack:
    391/479  4/200
Ghostscript 2.5.2 (9/20/92)Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.

 All rights reserved.
Distributed by Free Software Foundation, Inc.Ghostscript comes with NO WARRANTY
: see the file LICENSE for details.
GS<2>quit
$ ty hallo.ps
/box {newpath
0 0 moveto
0 1 lineto
1 1 lineto
1 0 lineto
closepath
} def

gsave
72 72 scale
box fill
2 2 translate
box fill
grestore
showpage
end
%%EOF
$ gs hallo
$ gs -hGhostscr.2 (9/20/92)
Usage: gs [switches] [file1.ps file2.ps ...]
  or : gs [switches] [file1.ps ...] -- filen.ps arg1 arg2 ...
The latter passes arg1 ... to the program in filen.ps.
Available devices:   
 epson
Switches: (you can use # in place of =)
    @<file>              treat file like part of the command line
                           (to get around DOS command line limit)
    -d<name>[=<token>]   define name as token, or null if no token given
    -f<name>             read this file even if its name begins with - or @
    -g<width>x<height>   set width and height (`geometry'), in pixels
    -I<prefix>           add prefix to search path
    -q                   `quiet' mode, suppress most messages
    -r<res>              set resolution, in pixels per inch
    -s<name>=<string>    define name as string
    -sDEVICE=<devname>   select initial device
    -sOutputFile=<file>  select output file: embed %d for page #,
                           - means stdout, use |command to pipe
`-' alone as a file name means read from stdin non-interactively.
For more information, please read the use.doc file.

Ok, some more informations:
DUA0:[TEMP.GS252] is the directory where the GS was built, right did not use
something like $ @VMS-CC.MAK <directory>
DUA0:[TEMP.RESTORE] is the directory where the fonts reside.
Admitted, it might be a problem with finding fonts, but HALLO.PS has no font
reference and results in the exact same error, as does a DVIPS-output.
Watching the process with SET WATCH/CLASS=MAJOR FILE shows that right
before the error occurs, GS.EXE tries to access the file with ID (0,0,0) three
times with error-status (such a file does not exist!).
So, what's the problem here? Any help ?
		M. Gaertner
		SYSGAERTNER@CYGNUS.FRM.MASCHINENBAU.TH-DARMSTADT.DE


-----------------------------------------------------------------------------

                      M. Gaertner
                TH Darmstadt, W. Germany
	     Rechnergruppe FB 16-Maschinenbau
      SYSGAERTNER@CYGNUS.FRM.MASCHINENBAU.TH-DARMSTADT.DE
      Phone: Germany, (0)6151/16 5145

Newsgroups: gnu.ghostscript.bug