Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] slotted package - how to switch Helmut Jarausch <jarausch@××××××××××××××××.de>