public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
@ 2011-06-19  0:18 William Kenworthy
  2011-06-19  0:28 ` Dale
  2011-06-19  9:51 ` Neil Bothwick
  0 siblings, 2 replies; 11+ messages in thread
From: William Kenworthy @ 2011-06-19  0:18 UTC (permalink / raw
  To: gentoo-user List

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



-- 
William Kenworthy <billk@iinet.net.au>
Home in Perth!




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  0:18 [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently? William Kenworthy
@ 2011-06-19  0:28 ` Dale
  2011-06-19  0:36   ` skiarxon
  2011-06-19  1:47   ` William Kenworthy
  2011-06-19  9:51 ` Neil Bothwick
  1 sibling, 2 replies; 11+ messages in thread
From: Dale @ 2011-06-19  0:28 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  0:28 ` Dale
@ 2011-06-19  0:36   ` skiarxon
  2011-06-19  1:47   ` William Kenworthy
  1 sibling, 0 replies; 11+ messages in thread
From: skiarxon @ 2011-06-19  0:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 67 bytes --]

You can't have multiple versions of Perl installed in your system.

[-- Attachment #2: Type: text/html, Size: 71 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  0:28 ` Dale
  2011-06-19  0:36   ` skiarxon
@ 2011-06-19  1:47   ` William Kenworthy
  2011-06-19  2:16     ` Dale
  2011-06-19  2:25     ` Albert Hopkins
  1 sibling, 2 replies; 11+ messages in thread
From: William Kenworthy @ 2011-06-19  1:47 UTC (permalink / raw
  To: gentoo-user

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



-- 
William Kenworthy <billk@iinet.net.au>
Home in Perth!




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  1:47   ` William Kenworthy
@ 2011-06-19  2:16     ` Dale
  2011-06-19  2:25     ` Albert Hopkins
  1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2011-06-19  2:16 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  1:47   ` William Kenworthy
  2011-06-19  2:16     ` Dale
@ 2011-06-19  2:25     ` Albert Hopkins
  1 sibling, 0 replies; 11+ messages in thread
From: Albert Hopkins @ 2011-06-19  2:25 UTC (permalink / raw
  To: gentoo-user



On Sunday, June 19 at 09:47 (+0800), William Kenworthy said:

> 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.

You are wrong. slots is the mechanism whereby "different versions of a
single package can coexist on a system".  "Setting a choice" I assume
means your eselect-style choices.   For example, you can eselect a
pager, which has nothing do do with slots.  Or you can eselect the
system python, which does (indirectly) have to do with slots.  But
eselect and slots are not the same.  




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  0:18 [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently? William Kenworthy
  2011-06-19  0:28 ` Dale
@ 2011-06-19  9:51 ` Neil Bothwick
  2011-06-19 12:11   ` William Kenworthy
  1 sibling, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2011-06-19  9:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On Sun, 19 Jun 2011 08:18:26 +0800, William Kenworthy wrote:

> 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.

MythTV have their own overlay, which I've been using all year with no
problems, apart from one dodgy release that crashed the front end, but
that was months ago and easy to mask. Details here,

 http://bugs.gentoo.org/show_bug.cgi?id=345271#c34


-- 
Neil Bothwick

Everything else being equal, fat people use more soap.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19  9:51 ` Neil Bothwick
@ 2011-06-19 12:11   ` William Kenworthy
  2011-06-19 15:40     ` Neil Bothwick
  2011-06-19 22:22     ` James Cloos
  0 siblings, 2 replies; 11+ messages in thread
From: William Kenworthy @ 2011-06-19 12:11 UTC (permalink / raw
  To: gentoo-user

On Sun, 2011-06-19 at 10:51 +0100, Neil Bothwick wrote:
> On Sun, 19 Jun 2011 08:18:26 +0800, William Kenworthy wrote:
> 
> > 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.
> 
> MythTV have their own overlay, which I've been using all year with no
> problems, apart from one dodgy release that crashed the front end, but
> that was months ago and easy to mask. Details here,
> 
>  http://bugs.gentoo.org/show_bug.cgi?id=345271#c34
> 
> 

Thats the one (mythtv-0.24_p20110524.ebuild) that wants libwww-perl-6 -
how did you work that?  mythtv-0.24_p20110101 (from
https://github.com/drscream/mythtv-gentoo) is building for me att.

Also ran into a weird problem - everytime I tried to compile any version
of .24 it died with svn taking up 100% of one cpu - traced to having
PORTAGE_TMP on a btrfs filesystem! - moved it to a reisierfs one and its
steaming along fine! - odd ... 

BillK





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19 12:11   ` William Kenworthy
@ 2011-06-19 15:40     ` Neil Bothwick
  2011-06-19 22:22     ` James Cloos
  1 sibling, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2011-06-19 15:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

On Sun, 19 Jun 2011 20:11:00 +0800, William Kenworthy wrote:

> > MythTV have their own overlay, which I've been using all year with no
> > problems, apart from one dodgy release that crashed the front end, but
> > that was months ago and easy to mask. Details here,
> > 
> >  http://bugs.gentoo.org/show_bug.cgi?id=345271#c34
> > 
> >   
> 
> Thats the one (mythtv-0.24_p20110524.ebuild) that wants libwww-perl-6 -
> how did you work that?

I didn't work anything, it pulled in libwww-perl-6, but I'm still using
perl-5.12.3-r1 and libperl-5.10.1


-- 
Neil Bothwick

Top Oxymorons Number 33: American history

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19 12:11   ` William Kenworthy
  2011-06-19 15:40     ` Neil Bothwick
@ 2011-06-19 22:22     ` James Cloos
  2011-06-19 23:22       ` William Kenworthy
  1 sibling, 1 reply; 11+ messages in thread
From: James Cloos @ 2011-06-19 22:22 UTC (permalink / raw
  To: gentoo-user

>>>>> "WK" == William Kenworthy <billk@iinet.net.au> writes:

WK> Thats the one (mythtv-0.24_p20110524.ebuild) that wants
WK> libwww-perl-6

"libwww-perl-6" seems to refer to dev-perl/libwww-perl version 6.20.0,
as found in the main portage tree.

Ie, not libwww-perl for perl6 but rather version 6 of libww-perl for perl5.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
  2011-06-19 22:22     ` James Cloos
@ 2011-06-19 23:22       ` William Kenworthy
  0 siblings, 0 replies; 11+ messages in thread
From: William Kenworthy @ 2011-06-19 23:22 UTC (permalink / raw
  To: gentoo-user

Thanks for that - I saw the 6 and panicked :)

BillK



On Sun, 2011-06-19 at 18:22 -0400, James Cloos wrote:
> >>>>> "WK" == William Kenworthy <billk@iinet.net.au> writes:
> 
> WK> Thats the one (mythtv-0.24_p20110524.ebuild) that wants
> WK> libwww-perl-6
> 
> "libwww-perl-6" seems to refer to dev-perl/libwww-perl version 6.20.0,
> as found in the main portage tree.
> 
> Ie, not libwww-perl for perl6 but rather version 6 of libww-perl for perl5.
> 
> -JimC

-- 
William Kenworthy <billk@iinet.net.au>
Home in Perth!




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-20  0:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-19  0:18 [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently? William Kenworthy
2011-06-19  0:28 ` Dale
2011-06-19  0:36   ` skiarxon
2011-06-19  1:47   ` William Kenworthy
2011-06-19  2:16     ` Dale
2011-06-19  2:25     ` Albert Hopkins
2011-06-19  9:51 ` Neil Bothwick
2011-06-19 12:11   ` William Kenworthy
2011-06-19 15:40     ` Neil Bothwick
2011-06-19 22:22     ` James Cloos
2011-06-19 23:22       ` William Kenworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox