From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111205.tru64-unix-managers.marc@archive.invalid> From: Biswamber Lal Gurubacharya Date: Tue, 03 Mar 1998 03:09:29 +0000 To: tru64-unix-managers Subject: [SUMMARY] GhostScript and DU4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111205 ORIGINAL POSTING ---------------- I would appreciate some assistance in compiling and installing ghostscript in a DU4.0B machine. I have tried to compile a number of versions of ghostscript. The compilation process proceeds without any errors (some warnings with a couple of versions). When I execute gs, it inevitably ends up with unaligned access errors. I have tried various versions of source codes from both GNU and Aladdin. The modified source code supplied with the freeware CD from Digital produced the same result. I also tried compiling with cc as well as gcc. SUMMARY ------- Thanks to the following for their helpful responses: Jim Belonis Dejan Muhamedagic Dr Kevin McManus Bjorn S. Nilsson The consensus is that Ghostscript compiles in DU4.0B without problems. However the binary produced generates a lot of unaligned access errors while running. As Dejan Muhamedagic puts it 'Unaligned access should not be "too much trouble", i.e. take a look at man page for uac(1).' I was able to suppress the error messages with the command: 'uac p noprint' Rather than include this command in shell startup scripts, I included the following in the Ghostscript source file "gs.c": #include #include #include . . int uacbuf[2]; uacbuf[0] = SSIN_UACPROC; uacbuf[1] = UAC_NOPRINT; setsysinfo(SSI_NVPAIRS, uacbuf, 1, 0, 0); The binary produced does not generate unalligned access error messages while running. Not very elegant, but it works. -biswamber ----------------------------- Biswamber Lal Gurubacharya Asian Institute of Technology Bangkok THAILAND