Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35142 - app-text/ghostscript-7.07.1 search path problem
Summary: app-text/ghostscript-7.07.1 search path problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 09:33 UTC by Mikael Cluseau
Modified: 2004-09-24 06:42 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 Mikael Cluseau 2003-12-05 09:33:07 UTC
Hello,

I merged (and remarge ghostscript) but it always fails (cannot find gs_init.ps).

The problem is that the search path is invalid (it refers the image directory) :

gs --help
[...]
Search path:
   . :
   /var/tmp/portage/ghostscript-7.07.1/image//usr/share/ghostscript/7.07/lib :
   /var/tmp/portage/ghostscript-7.07.1/image//usr/share/ghostscript/fonts :
[...]

I did a quick fix with
# echo GS_LIB=/usr/share/ghostscript/7.07/lib:/usr/share/ghostscript/fonts >/etc/env.d/03ghostscript
# env-update
but it not a real fix.

I didn't found out how to fix this in the compilation process. Perhaps config.h or whatever (sorry, I do not have much time now, but if there is no fix soon I'll try to give a real fix).
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 09:31:23 UTC
it compiles fine, but the search path is wrong, right?

please attach a complete emerge log
Comment 2 Mikael Cluseau 2003-12-06 13:08:47 UTC
Re-emerging solved the problem.
I really don't understand since I already re-merged and even downgraded.
If I get new problems, I'll give the emerge log immediately.
Nethertheless, it really happened...
Comment 3 Dirk Heinrichs 2004-09-24 06:42:08 UTC
I have the same problem now with 7.07.1-r5. On another machine, where I emerged the same ebuild on 03.09.2004, everything is fine. The on where I emerged it yesterday, and a few minutes ago again, the problem persists. Was there any change in the ebuild between 03.09. and now which could cause the problem?