ports/167441: editors/libreoffice - Unable to print
Peter Jeremy
peterjeremy at acm.org
Mon Apr 30 06:00:27 UTC 2012
>Number: 167441
>Category: ports
>Synopsis: editors/libreoffice - Unable to print
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 30 06:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Peter Jeremy
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 8.2-STABLE FreeBSD 8.2-STABLE #15: Thu Feb 2 11:02:29 EST 2012 root at server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64
libreoffice-3.5.2_2
>Description:
By default, LibreOffice has no printers available. According to the
Help, printers should be installed using spadmin (this is similar to
OpenOffice.org) but when I start it, I get a popup window stating "No
printers can be installed because the file system is read-only." This
error message is obviously wrong because I don't have any read-only
filesystems.
After spending some time poring over kdump output and the source code,
I've ascertained that the problem is that the LibreOffice port doesn't
install any driver (PPD) files - it doesn't even create the relevant
directory.
After looking through the output of "configure --help" and the port
Makefiles, this appears to be a bug in the port. Tracking down this
bug was made unnecessarily hard due the erroneous error message.
>How-To-Repeat:
Install LO.
Run /usr/local/lib/libreoffice/program/spadmin
>Fix:
The immediate bug is "--without-ppds" in the port Makefile. I'm
not sure if further changes (eg fetching driver files) is necessary.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list