Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Old version of Perl v5.8.8 howto use testing branch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Mon Apr 12, 2010 8:13 pm    Post subject: [SOLVED] Old version of Perl v5.8.8 howto use testing branch Reply with quote

Hi,

I am installing MythTv and have problems with XMLTV, I read that it can be the version of Perl that is the problem.

I looked in my Ubuntu instalation were XMLTV is working and there I have perl v5.10.0.

But my brand new Gentoo installation only have v5.8.8.

How come that Gentoo have that old version of Perl? Have I some setting wrong? Is it possible to upgrade to v5.10.0?


Any ideas?

Best regards,
/Christer


Last edited by agkbill on Sat Apr 24, 2010 9:53 am; edited 2 times in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Apr 12, 2010 8:22 pm    Post subject: Reply with quote

It's currently in the testing branch in Portage. If you need it, you need to keyword it. See Mixing Software Branches in the Handbook. :)

If you haven't done so already, emerge gentoolkit. It has tools that show you all available package versions:
Code:
~ # equery list -p -e perl
[ Searching for package 'perl' in all categories among: ]
 * installed packages
[I--] [  ] dev-lang/perl-5.10.1 (0)
 * Portage tree (/usr/portage)
[-P-] [  ] dev-lang/perl-5.8.8-r8 (0)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Mon Apr 12, 2010 8:45 pm    Post subject: Reply with quote

Ok, thank you.

I will take a look at how to do that.

But first I will try to find out if that is really the problem that XMLTV do not work as it should in MythTV.


Best regards,
/Christer
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Tue Apr 13, 2010 6:47 pm    Post subject: Reply with quote

No luck in getting this to work.

In directory /etc/portage/package.keywords I created a file that I called perl

In that file I added the line
Quote:
dev-lang/perl ~amd64


But when I run
Code:
emerge dev-lang/perl


It start to emerge dev-lang/perl-5.8.8-r8 not 5.10.0 I was hoping for.

What is it that I am not doing right?

How to uppgrade to the testing branch perl-5.10.0?

Thank you.


Regards,
/Christer
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Apr 13, 2010 7:00 pm    Post subject: Reply with quote

You missed the --update option:
Code:
emerge -u perl
:wink:
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Tue Apr 13, 2010 7:53 pm    Post subject: Reply with quote

Thanks, would have been great if it was only that.

But I do still have v5.8.8

Can I se in some way if I enable testing branch for perl?

Best regards,
/Christer




Quote:
gentoo_ce christer # emerge -u perl

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

gentoo_ce christer # perl -v

This is perl, v5.8.8 built for x86_64-linux

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

gentoo_ce christer #
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Apr 13, 2010 8:04 pm    Post subject: Reply with quote

Please post the output of
Code:
equery list -p -e perl
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Tue Apr 13, 2010 8:34 pm    Post subject: Reply with quote

Hi,

Code:
equery list -p -e perl


Gives:

Quote:
gentoo_ce christer # equery list -p -e perl
[ Searching for package 'perl' in all categories among: ]
* installed packages
[I--] [ ] dev-lang/perl-5.8.8-r8 (0)
* Portage tree (/usr/portage)
[-P-] [ ~] dev-lang/perl-5.10.1 (0)
gentoo_ce christer #



/Christer
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Apr 13, 2010 8:42 pm    Post subject: Reply with quote

Hmm. How about the output of
Code:
emerge --info
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Tue Apr 13, 2010 8:57 pm    Post subject: Reply with quote

Hi,

Code:
emerge --info


Give

Quote:
gentoo_ce christer # emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 13 Apr 2010 17:15:01 +0000
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4-r1
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc: 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ds.karen.hj.se/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 arts avahi berkdb bindist bluetooth branding bzip2 cairo caps cdb cddb cdparanoia cdr cli community consolekit cracklib crypt css cups custom_cflags custom_optimizations cxx daap dbus dri dts dvb dvd dvdr emboss encode exif fam fbcondecor ffmpeg firefox flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 java javascript joystick jpeg kde lcms ldap libnotify lirc lm_sensors mad mdnsresponder-compat mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl png posix ppds pppd python qt3 qt3support qt4 readline reflection rss samba sdl se_swedb server session spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threadsX tiff transcode truetype type1 unicode usb v4l vcd vorbis wifi wma x264 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

gentoo_ce christer #



/Christer
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Wed Apr 14, 2010 8:29 pm    Post subject: Reply with quote

In the directory /etc/portage/package.keywords I created a file that I called perl with

Quote:
dev-lang/perl ~amd64


But in when look at
Code:
emerge --info


I se
Quote:
2.6.31-gentoo-r10 x86_64


Should I write

Quote:
dev-lang/perl ~x86_64



Best regards,
/Christer
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 15, 2010 2:03 am    Post subject: Reply with quote

I confess I don't know exactly what's going on. Let's try to emerge the new version explicitly. Try
Code:
emerge =perl-5.10.1
and let's see what it complains about.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Thu Apr 15, 2010 6:38 pm    Post subject: Reply with quote

Hi,

I tried
Code:

emerge =perl-5.10.1


It gives me:

Quote:
gentoo_ce christer # emerge =perl-5.10.1

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=sys-devel/libperl-5.10.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/libperl-5.10.1 (masked by: ~amd64 keyword)

(dependency required by "dev-lang/perl-5.10.1" [ebuild])
(dependency required by "=perl-5.10.1" [argument])

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

gentoo_ce christer #


It looks like one package have been masked dev-lang/perl-5.10.1

should I add that in my "perl" file that I created in directory /etc/portage/package.keywords ?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 15, 2010 8:03 pm    Post subject: Reply with quote

Delete the line you currently have in there and then put exactly this:
Code:
=dev-lang/perl-5.10.1*
=sys-devel/libperl-5.10.1*
then try agan and let me know what happens.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Thu Apr 15, 2010 8:33 pm    Post subject: Reply with quote

Hi,

After adding the lines I get:



Quote:
gentoo_ce package.keywords # emerge =perl-5.10.1

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=app-admin/perl-cleaner-2_pre090920" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/perl-cleaner-2.0 (masked by: ~amd64 keyword)
- app-admin/perl-cleaner-2_pre091219 (masked by: ~amd64 keyword)
- app-admin/perl-cleaner-2_pre091024 (masked by: ~amd64 keyword)
- app-admin/perl-cleaner-2_pre091007 (masked by: ~amd64 keyword)

(dependency required by "dev-lang/perl-5.10.1" [ebuild])
(dependency required by "=perl-5.10.1" [argument])

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

gentoo_ce package.keywords #



/Christer
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Thu Apr 15, 2010 8:56 pm    Post subject: Reply with quote

doh you need app-admin/perl-cleaner-2.0

this is dangerous but you can do
ACCEPT_KEYWORDS=~amd64 emerge -u perl
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 15, 2010 8:57 pm    Post subject: Reply with quote

Now you're getting the iterative nature of keywording an unstable package's dependencies. Add
Code:
app-admin/perl-cleaner
to your package.keywords file. Try again. If you get another blocker, then keyword it. Wash, rinse, repeat. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Thu Apr 15, 2010 9:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 15, 2010 8:58 pm    Post subject: Reply with quote

MetalGod wrote:
this is dangerous but you can do
ACCEPT_KEYWORDS=~amd64 emerge -u perl
And the next time you update world, Portage will downgrade packages critical to perl-5.10. Better to keyword it properly.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Thu Apr 15, 2010 9:33 pm    Post subject: Reply with quote

Hurra!

It looks like it worked!

I added
Quote:
app-admin/perl-cleaner


Buildning started and now when I type

Code:
Perl -v


I get

Quote:
gentoo_ce christer # perl -v

This is perl, v5.10.1 (*) built for x86_64-linux

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

gentoo_ce christer #


Now it looks like I have right version on Perl so maybe XMLTV will work in my MythTV setup.


Thanks a lot for all help with this!

Best regards,
/Christer


PS: unfortunaly I dont understand fully what I did :?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 15, 2010 9:43 pm    Post subject: Reply with quote

For a few more details, see the Mixing Software Branches section of the Handbook.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum