public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] cups settup broken? - please help
@ 2013-05-14 15:21 Charles Waldman
  0 siblings, 0 replies; 9+ messages in thread
From: Charles Waldman @ 2013-05-14 15:21 UTC (permalink / raw
  To: gentoo-user; +Cc: jarausch, yks-uno

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

Hi - saw this thread about CUPS, I've seen the same problems since a recent upgrade, I don't think it's a permissions issue.  The clue is in this error message:

"/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops"  file not found

The string "${EPREFIX}" is appearing in that file name unexpanded; i.e. rather than treating EPREFIX as an environment variable, CUPS is actually looking for a directory literally called "/etc/cups/${EPREFIX}".  This looks like an install-time bug.  I will file a Gentoo bug report if it's not already filed.  But, in the meanwhile, there's a very hackish workaround:

#  cd /etc/cups
# ln -s /  '${EPREFIX}'   # quotes needed!

which will create a symlink

lrwxrwxrwx 1 root root    1 May 13 18:11 /etc/cups/${EPREFIX} -> /

After this, the path

"/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops"  

will resolve to /usr/libexec/cups/filter/commandtops

and you should have a working CUPS again.

Just a workaround hack, not a nice solution!  

Hope this helps,

  - Charles





^ permalink raw reply	[flat|nested] 9+ messages in thread
* [gentoo-user] cups settup broken? - please help
@ 2013-05-14  9:05 Helmut Jarausch
  2013-05-14  9:15 ` Yuri K. Shatroff
  0 siblings, 1 reply; 9+ messages in thread
From: Helmut Jarausch @ 2013-05-14  9:05 UTC (permalink / raw
  To: gentoo-user

Hi,
recently I have problems with CUPS (1.6.2) with cups-filters-1.0.34

I see lots of strange error messages in /var/log/cups/error_log like


Filter "pdftops" not found.

  but there is a /usr/libexec/cups/filter/pdftops

   and then


ps: File "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" not  
available: No such file or directory

These paths look strange.

Does any know what's going on here?

Many thanks for a hint,
Helmut.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-14 15:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 15:21 [gentoo-user] cups settup broken? - please help Charles Waldman
  -- strict thread matches above, loose matches on Subject: below --
2013-05-14  9:05 Helmut Jarausch
2013-05-14  9:15 ` Yuri K. Shatroff
2013-05-14  9:42   ` Helmut Jarausch
2013-05-14  9:55     ` Yuri K. Shatroff
2013-05-14 10:00       ` Helmut Jarausch
2013-05-14 10:05         ` Alan McKinnon
2013-05-14 10:41           ` Yuri K. Shatroff
2013-05-14 10:01       ` Yuri K. Shatroff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox