Subject: pkg/15806: fix for kde2 printing problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marcello.balduccini@ttu.edu>
List: netbsd-bugs
Date: 03/04/2002 13:02:14
>Number: 15806
>Category: pkg
>Synopsis: fix for kde2 printing problem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 04 11:03:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marcello Balduccini
>Release: NetBSD 1.5.3_ALPHA/i386
>Organization:
Knowledge Representation Lab
Dept. of Computer Science
Texas Tech University
Lubbock, TX
>Environment:
System: NetBSD cucciolo 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (GENERIC) #0: Wed Feb 6 00:46:48 CET 2002 tron@colwyn.zhadum.de:/src/NetBSD-1.5/src/sys/arch/i386/compile/GENERIC i386
also tested on:
System: NetBSD krlab.cs.ttu.edu 1.5.2 NetBSD 1.5.2 (KRLAB) #90: Thu Nov 8 16:56:56 CST 2001 marcy@krlab.cs.ttu.edu:/usr/src/sys/arch/i386/compile/KRLAB i386
Architecture: i386
>Description:
As already reported by other users, there are problems printing from
kde-2.2.x (see pr 15196 for details).
According to the error message, library "libkded_kdeprintd.so" does not
work because symbol __ti10KDEDModule is not defined. Even upgrading to
NetBSD-1.5.3_ALPHA and recompiling kde does not seem to help, in my case.
>How-To-Repeat:
>Fix:
The problem seems to appear only when kded is launched by kdeinit. If,
instead, kded is started as a separate program, everything works fine.
Add the following simple patch to startkde to solve the problem by
starting kded separately, without the need to upgrade the OS and to
recompile the packages.
--- startkde.old Mon Mar 4 12:23:00 2002
+++ startkde
@@ -92,7 +92,8 @@
# We set LD_BIND_NOW to increase the efficiency of kdeinit.
# kdeinit unsets this variable before loading applications.
-LD_BIND_NOW=true kdeinit +kcminit +knotify
+LD_BIND_NOW=true kdeinit --no-kded +kcminit +knotify
+kded
# finally, give the session control to the session manager
# Syntax: ksmserver [--restore] [--windowmanager <wm>]
>Release-Note:
>Audit-Trail:
>Unformatted: