Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35290 - ghostscript search path set to TPM_DIR.
Summary: ghostscript search path set to TPM_DIR.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 35318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-07 15:34 UTC by Kristian Benoit
Modified: 2003-12-08 03:35 UTC (History)
1 user (show)

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 Kristian Benoit 2003-12-07 15:34:21 UTC
ghostscript's ebuild set ghostscript search path to your TMP_DIR:

$ gs --help
[...]
Search path:
   . :
   /home/tmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/7.05/lib :
   /home/tmp/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
For more information, see
/home/tmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/7.05/doc/Use.htm.


That makes cups unusable, here's the error in error_log:
ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps.


Here's what's in the ghostscript doc about search path:
# The current directory (unless disabled by the -P- switch);
# The directories specified by -I switches in the command line, if any;
# The directories specified by the GS_LIB environment variable, if any;
# The directories specified by the GS_LIB_DEFAULT macro (if any) in the makefile
when this executable was built.

So the tips would be to modify the makefile so it uses the right path.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-07 15:36:55 UTC
remerge ghostscript
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-08 02:44:57 UTC
*** Bug 35318 has been marked as a duplicate of this bug. ***
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-08 03:35:40 UTC
although i cannot reproduce that, i replaced the macro in Makefile.in with hardcoded path, please remerge