William Kenworthy wrote:
On Sat, 2011-06-18 at 19:28 -0500, Dale wrote:
William Kenworthy wrote:
Is it possible to have perl-5 and perl-6 installed and in use
concurrently?

This has come up because I am trying to upgrade mythtv using overlays
because gentoos mythtv builds are getting rather ancient - the drscream
(layman) overlay is requiring a perl 6 module, but the manual github
overlay which doesnt is January so is getting out of date anyway.

or can someone point me to a recent overlay thats regularly updated and
works(!)  Currently want to go from mythtv .23-gentoo to .24-fixes and
then .25 as its soon to be stable.

BillK


I had a look at the ebuild, it doesn't appear to be slotted.  So, it is
most likely not possible to have both at the same time.  The relavant
portion:

LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390
~sh ~sparc ~x86 ~x86-fbsd"

All the ebuilds I looked at had the SLOT="0" which means no slots.

If I am wrong, someone post and correct me.

Dale

:-)  :-)

Its actually not "slotting" I am after - slots are a choice of setting
the system to one or the other (correct me if I am wrong) whereas I want
to use perl-5 for eveyting except this which wants perl-6.

One item is that the ebuild for perl5 is "dev-perl/libwww-perl" whereas
for perl 6 its "dev-perl/libwww-perl-6" which indicates co-existence
might be possible - but I dont want to break a system to prove it
doesnt :)

BillK


In order to have two versions of the same package on a system at the same time, the system has to be able to figure out which is which. That is what Gentoo calls slots. Here, I have python 2 and 3 installed. I have the system set to python 2, with eselect, but some packages CAN use python 3 if it so chooses. Maybe this link explains it better:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap5

Hope that helps.

Dale

:-)  :-)

Reply via email to