SCIENTIFIC-LINUX-USERS Archives

February 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dr Andrew C Aitchison <[log in to unmask]>
Reply To:
Dr Andrew C Aitchison <[log in to unmask]>
Date:
Fri, 29 Feb 2008 16:55:10 +0000
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (34 lines)
The SL 3.0.x ghostscript package ghostscript-7.05-32.1.13.i386.rpm
seems to have built incorrectly.

# ps2pdf Application.pdf Application.ps
GNU Ghostscript 7.05: Can't find initialization file gs_init.ps.

- gs and gv give the same error.

# rpmquery -l ghostscript-7.05-32.1.13.i386 | grep gs_init.ps
/usr/share/ghostscript/7.05/lib/gs_init.ps

# strace -eopen ps2pdf Application.pdf Application.ps 2>&1 | grep 
gs_init.ps
open("./gs_init.ps", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/var/tmp/ghostscript-7.05-root/usr/share/ghostscript/7.05/lib/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/tmp/ghostscript-7.05-root/usr/share/ghostscript/7.05/vflib/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/tmp/ghostscript-7.05-root/usr/share/ghostscript/fonts/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/ghostscript/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/Type1/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/amspsfnt/pfb/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/cmpsfont/pfb/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
GNU Ghostscript 7.05: Can't find initialization file gs_init.ps.

So the package puts the files in /usr/share/ghostscript/7.05/
but the apps look in /usr/share/fonts/default/... and 
/var/tmp/ghostscript-7.05-root/usr/share/ghostscript/7.05/lib

I'd look at a patch myself but it is the end of a long week and I have
a family event this evening.

-- 
Dr. Andrew C. Aitchison		Computer Officer, DPMMS, Cambridge
[log in to unmask]	http://www.dpmms.cam.ac.uk/~werdna

ATOM RSS1 RSS2