Date: Mon, 30 Apr 2012 15:59:34 +1000 (EST) From: Peter Jeremy <peterjeremy@acm.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/167441: editors/libreoffice - Unable to print Message-ID: <201204300559.q3U5xYbI026201@server.vk2pj.dyndns.org> Resent-Message-ID: <201204300600.q3U60RME034743@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204300559.q3U5xYbI026201>