Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38067 - app-text/ghostscript-afpl-8.13 doesn't find gs_init.ps
Summary: app-text/ghostscript-afpl-8.13 doesn't find gs_init.ps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 37611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-13 03:07 UTC by Andreas Simon
Modified: 2004-01-13 06: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 Andreas Simon 2004-01-13 03:07:20 UTC
ghostscript-afpl-8.13 is totally broken. No functionality at all.

Reason: Ghotscript can't find it's initialization file gs_init.ps although it is installed in /usr/share/ghostscript/8.13/lib/gs_init.ps.

Examples of the breakage:
$ gs
AFPL Ghostscript 8.13: Can't find initialization file gs_init.ps.

$ ps2pdf /usr/share/ghostscript/8.13/examples/escher.ps
AFPL Ghostscript 8.13: Can't find initialization file gs_init.ps.

$ ps2ps -sPAPERSIZE=a4 /usr/share/ghostscript/8.13/examples/escher.ps foo.ps
AFPL Ghostscript 8.13: Can't find initialization file gs_init.ps.

Printing to ps or pdf from KDE, or viewers like kghostview don't work too because gs will error out with "Can't find initialization file gs_init.ps".



$ emerge --info
Portage 2.0.50_pre14 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-rc2-love1)
=================================================================
System uname: 2.6.1-rc2-love1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fstack-protector -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dvb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex threads tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Marcel J. P. Möhring 2004-01-13 04:24:09 UTC
gsdatadir is set to 8.12-dirs instead 8.13-dirs in ebuild:

 # search path fix
 sed -i -e 's:$(gsdatadir)/lib:/usr/share/ghostscript/8.12/lib:' Makefile
 sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' Makefile
 sed -i -e 's:$(gsdatadir)/Resource:/usr/share/ghostscript/8.12/Resource:' Makefile
Comment 2 Marcel J. P. Möhring 2004-01-13 04:51:14 UTC
typo, gsdatadir is not set wrong, but search paths are set to 8.12-paths
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-13 06:34:01 UTC
*** Bug 37611 has been marked as a duplicate of this bug. ***
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-13 06:35:10 UTC
thx, fixed :)