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:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Fri, 29 Feb 2008 11:06:58 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Dr Andrew C Aitchison wrote:
> 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

OK, thanks for letting us know, we'll look at this.

Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2