Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] slotted package - how to switch
Date: Thu, 12 Nov 2009 12:11:51
Message-Id: tkrat.4b786028537c762d@igpm.rwth-aachen.de
In Reply to: Re: [gentoo-user] slotted package - how to switch by William Kenworthy
1 On 12 Nov, William Kenworthy wrote:
2 > On Thu, 2009-11-12 at 12:39 +0100, Helmut Jarausch wrote:
3 >> On 12 Nov, Alan McKinnon wrote:
4 >> > On Thursday 12 November 2009 13:05:29 Helmut Jarausch wrote:
5 >> >> Sorry if this is FAQ but I couldn't find the answer.
6 >> >> E.g. I have to versions of dev-libs/libusb installed, one in slot 0 and
7 >> >> the other one in slot 1.
8 >> >> For testing purposes I'd like to make the slot-0 version 'effective'.
9 >> >> How can I do that (other than unmerging the slot-1 version)
10 >> >> ASAIK, eselect cannot do this.
11 >> >
12 >> >
13 >> > Why do you want to do that? The package contains only libs, and apps that link
14 >> > to it already know which on they want.
15 >> >
16 >> > I suppose you could tinker with LDPATH but I think there's a basic
17 >> > misunderstanding of what the package is
18 >> >
19 >>
20 >> The reason is the following bug.
21 >> To use an old printer (no USB connector) I've purchased
22 >> a USB-to-parallel adapater (since some software like VirtualBox
23 >> cannot handle the parallel port).
24 >>
25 >> [my bug report 291596] :
26 >>
27 >> When I use 'add printer' from the cups web interface this "printer" isn't
28 >> shown and I get the following entry in /var/log/messages:
29 >> Nov 2 16:19:41 numa-be kernel: usb[9750]: segfault at 7fff14c30000 ip
30 >> 00007f8d3a50dc0b sp 00007fff14c2ced8 error 4 in
31 >> libc-2.10.1.so[7f8d3a490000+14d000]
32 >>
33 >> I have started cupsd in foreground but it doesn't show any errors.
34 >> Where does this error come from?
35 >>
36 >> -----
37 >>
38 >> Robin Johnson replied
39 >> Did this work on:
40 >> - a previous kernel?
41 >> - the libusb-0* series?
42 >> - ever (what changed since then)?
43 >>
44 >> Therefore I'd like to test with the older libusb.
45 >>
46 >> Many thanks for your help,
47 >> Helmut.
48 >>
49 >
50 > Just a thought as I have not been following the thread - why not use a
51 > network printer? If its gentoo in a virtualbox on a windows machine you
52 > can share the windows printer and use cups on the linux side to redirect
53 > to it via samba. No need to worry about parallel ports or physical
54 > printer connections in the vm, and the original host can continue to use
55 > the printer on the parallel port.
56 >
57 > http://www.gentoo.org/doc/en/printing-howto.xml
58 >
59
60 There are 2 reasons.
61
62 First, for my PC at home, I don't have a local network and my old
63 printer cannot be connected to a network.
64
65 Here, at our institute, we have some small (old) printers within a small
66 office (in addition to copiers connected by TCP/IP)
67
68 Helmut.
69
70
71
72 --
73 Helmut Jarausch
74
75 Lehrstuhl fuer Numerische Mathematik
76 RWTH - Aachen University
77 D 52056 Aachen, Germany

Replies

Subject Author
Re: [gentoo-user] slotted package - how to switch Alex Schuster <wonko@×××××××××.org>