Gentoo Archives: gentoo-user

From: Frank Schwidom <schwidom@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Installing 2 version-different libs in the same time
Date: Sat, 16 Feb 2013 12:04:51
Message-Id: 20130216114715.GA17807@BiggerBoxer
In Reply to: Re: [gentoo-user] Installing 2 version-different libs in the same time by Kerin Millar
1 On Sat, Feb 16, 2013 at 09:13:13AM +0000, Kerin Millar wrote:
2 > On 16/02/2013 08:36, Frank Schwidom wrote:
3 > > Hi,
4 > >
5 > > I have an conflict wth 2 Versions of Readline:
6 > >
7 > > (sys-libs/readline-5.2_p12-r1::gentoo, installed) pulled in by
8 > > =sys-libs/readline-5* required by (dev-lang/ghc-6.8.2::gentoo, installed)
9 > >
10 > > (sys-libs/readline-6.2_p1::gentoo, ebuild scheduled for merge) pulled
11 > > in by =sys-libs/readline-6.2_p1
12 > >
13 > > Is ts possible to install both libraries in the same time?
14 >
15 > Yes. Portage can support different versions side-by-side if the ebuild
16 > makes use of the SLOT variable. For instance, I have
17 > sys-libs/readline-6.2_p1 installed and attempting to install readline-5*
18 > yields:
19 >
20 > Calculating dependencies... done!
21 > [ebuild NS ] sys-libs/readline-5.2_p14:5 [6.2_p1:0] 2,024 kB
22 >
23 > Note that this isn't a downgrade in so far as 6.2_p1 won't be removed.
24 > It's a new, slotted instance of the package. No problem there.
25
26 hangeLog: Stabilize old ABI SLOT version.
27 readline-4.3_p5.ebuild:SLOT="${PV:0:1}"
28 readline-5.2_p14.ebuild:SLOT="${PV:0:1}"
29 readline-6.1.ebuild:SLOT="0"
30 readline-6.1_p2.ebuild:SLOT="0"
31 readline-6.2.ebuild:SLOT="0"
32 readline-6.2_p1.ebuild:SLOT="0"
33 readline-6.2_p1-r1.ebuild:SLOT="0"
34 readline-6.2_p4.ebuild:SLOT="0"
35
36 it seems to be that in my case readline-5.2_p12-r1 ist installed under SLOT 0.
37 can i override the slot-variable ?
38
39 Regards

Replies

Subject Author
Re: [gentoo-user] Installing 2 version-different libs in the same time Kerin Millar <kerframil@×××××××××××.uk>