Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Sep 2006 09:55:17 -0400
From:      Kurt Miller <lists@intricatesoftware.com>
To:        freebsd-java@freebsd.org
Subject:   Re: Printing with java under FreeBSD - CUPS symlinks
Message-ID:  <200609070955.17515.lists@intricatesoftware.com>
In-Reply-To: <44FFB278.8080302@stupidog.org>
References:  <200609032031.42080.nb_root@videotron.ca> <200609061759.59432.nb_root@videotron.ca> <44FFB278.8080302@stupidog.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 07 September 2006 1:47 am, Virgil Champlin wrote:
> This bit me on a couple of hosts with the 1.2.x upgrade which removes
> print/cups-lpd.  So I took a look in
> /usr/ports/print/cups-base/pkg-install.  The post install operation
> "unshades" the /usr/local/bin versions of lp*  by clearing the mode bits
> on the /usr/bin copies (chmod -h 0 ...).

The cups change assumes that all applications that use lpr search
the path for it. It is not a valid assumption IMHO.

It is not a valid approach for java. The jdk expects /usr/bin/lpr
to just work. It doesn't search the path for lpr.

> It no longer moves them out of 
> the way and replaces them with symlinks.  It also does it only if you
> have CUPS_OVERWRITE_BASE defined.  CUPS 1.2.x has been a real pain but
> for other reasons.  -virgil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609070955.17515.lists>