Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27532 - ghostscript doesn't find gs_init.ps
Summary: ghostscript doesn't find gs_init.ps
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 27696 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-29 06:36 UTC by Dirk Heinrichs
Modified: 2003-09-01 04:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2003-08-29 06:36:53 UTC
When I tried to render a dvi file with embedded eps graphics using xdvi the images 
where not displayed and in the console window a gs error message appeared: 
 
gs: ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps. 
xdvik gs_io: Broken pipe 
xdvik gs_io: Broken pipe 
ghostscript died unexpectedly. 
 

Reproducible: Always
Steps to Reproduce:
1. xdvi <dvi file with eps images> 
 
Actual Results:  
The document was displayed with no images, just empty frames. 

Expected Results:  
Display the images. 

ghostscript version is ghostscript-7.05.6-r3 
 
To resolve the problem, I had to set GS_LIB manually: 
 
export GS_LIB=/usr/share/ghostscript/7.05/lib:/usr/share/ghostscript/fonts 
 
Normally, this should be the compiled-in default (see: man gs).
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-29 16:09:12 UTC
what's the output of `gs -h`?
Comment 2 Dirk Heinrichs 2003-08-31 22:44:18 UTC
I guess you just want to see the search path, so I skipped everything else. 
 
=> gs -h 
ESP Ghostscript 7.05.6 (2003-02-05) 
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved. 
[...] 
Search path: 
   . : /home/dheinric/.kde/share/fonts : 
   /gentootmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/7.05/lib : 
   /gentootmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/fonts : 
   /usr/share/fonts/default/ghostscript : /usr/share/fonts/default/Type1 : 
   /usr/share/fonts/default/TrueType : /usr/lib/DPS/outline/base : 
   /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType 
 
I see, it has the image location built in. 
 
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-01 03:57:27 UTC
that's really strange, it has your portage build directory built in, try to recompile ghostscript. 
Comment 4 Dirk Heinrichs 2003-09-01 04:24:45 UTC
Re-emerging fixed it. 
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-01 04:26:31 UTC
fine -> close :) 
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-01 04:38:54 UTC
*** Bug 27696 has been marked as a duplicate of this bug. ***