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
[EMAIL PROTECTED]       http://www.dpmms.cam.ac.uk/~werdna

Reply via email to