From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 28-JUN-1993 09:49:04.06 To: EVERHART CC: Subj: Re: problem compiling ghostscript X-Newsgroups: comp.os.vms From: ROBERTS@curie.nsrl.rochester.edu (Roland B Roberts) Subject: Re: problem compiling ghostscript In-Reply-To: 's message of Fri, 25 Jun 1993 02:10:37 CDT Message-Id: Sender: news@galileo.cc.rochester.edu Nntp-Posting-Host: curie.nsrl.rochester.edu Organization: University of Rochester, Nuclear Structure Research Laboratory Date: 25 Jun 93 18:53:21 GMT Lines: 32 To: Info-VAX@kl.sri.com X-Gateway-Source-Info: USENET In article <93176.021037U16072@uicvm.uic.edu> writes: When I try to compile ghostsacript2.6.1 , I get several error messages from the compiler about bad structures or unions. I am using vms-cc.mak with VAX C 3.2. I have GCC but I haven't tested the installation yet so I would rather not use it. These have been reported in gnu.ghostscript.bug. The problem seems to be with VAXC's interpretation of ANSI being, shall we say, unique. To compile ghostscript 2.6.1, you'll have to use gcc on everything *except* gdevx.c and gdevxini.c. For these, you'll need to use VAXC. This weirdness is because gcc doesn't have X11 header files, and the ones supplied by DEC are VAXC specific---they use such non-standard forms as `#include stdio' instead of `#include '. Also, it would seem you need to have Motif installed. We have vanilla DECwindows and I can't get gdevxini.c compiled. There was a report in gnu.ghostscript.bug that this compiles under Motif. If anyone wants it, I can send/post a DCL command file that will do the compilation using the correct mix of VAXC and GNU C. It will work for the `out of the box' 2.6.1 distribution. roland -- Roland B Roberts Nuclear Structure Research Laboratory roberts@uornsrl.bitnet 271 East River Road roberts@nsrl.rochester.edu Rochester, NY 14627 -- (716) 275-8962 Just another graduate student about to join the unemployment line. Make a difference---offer me a job :-)