Summary: | xprint cannot find it's config dir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jochen <jochen.eisinger> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jochen
2003-11-14 04:07:12 UTC
thx, i added /etc/env.d/97xprint to -r2 which defines this var. > thx, i added /etc/env.d/97xprint to -r2 which defines this var.
It isn't created here. Perhaps a sandbox thing?
Even a manual
echo "XPCONFIGDIR=/usr/share/Xprint/xserver/C/print" > /etc/env.d/97xprint
doesn't fix the path it looks in, and still gives:
* Starting xprint...
Fatal server error:
Xp Extension: could not find config dir /usr/X11R6/lib/X11/xserver/C/print
(and the server is not started)
Setting XPCONFIGDIR in /etc/conf.d/xprint also does not work.
"xprint" which the gentoo init script calls, is itself an init script. It looks like (Line 520) it unset's XPCONFIGDIR.
Also, running /etc/init.d/xprint get_xpserverlist, just tells me the init script has syntax errors.
Is this just me? This bug says FIXED, but I've had no luck.
Looking at the "xprint" init script (/usr/sbin/xprint) is not nice. It's a really ugly thing. Can't we just create our own to call Xprt ourselves? Or at least add a GentooGlue section to the existing one?...
Thanks,
Gav
see last comment Yes, the init script is really ugly. I changed the XPCUSTOMGLUE to debian, now it's working. Also fixed the get_xpserverlist error. |