Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i do this python 3.1??
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
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sun Aug 02, 2009 4:05 pm    Post subject: how do i do this python 3.1?? Reply with quote

Code:
>>> /usr/share/man/man1/python3.1.1.bz2
>>> /usr/lib/libpython3.1.so -> libpython3.1.so.1.0
Switching to python3.1
 * Byte compiling python modules for python-3.1 .. ...                    [ ok ]
Switching to python2.6
 *
 * WARNING!
 * Many Python modules haven't been ported yet to Python 3.*.
 * /usr/bin/python hasn't been updated and still references your old Python installation.
 *
>>> Regenerating /etc/ld.so.cache...

>>> Emerging (2 of 44) media-libs/alsa-lib-1.0.20-r1
[Errno 8] Exec format error:
   /usr/lib/portage/bin/ebuild /usr/portage/media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild fetch
 * Fetch failed for 'media-libs/alsa-lib-1.0.20-r1', Log file:
 *  '/var/tmp/portage/media-libs/alsa-lib-1.0.20-r1/temp/build.log'

>>> Failed to emerge media-libs/alsa-lib-1.0.20-r1, Log file:

>>>  '/var/tmp/portage/media-libs/alsa-lib-1.0.20-r1/temp/build.log'

 * Messages for package dev-lang/python-3.1:

 *
 * WARNING!
 * Many Python modules haven't been ported yet to Python 3.*.
 * /usr/bin/python hasn't been updated and still references your old Python installation.
 *

 * Messages for package media-libs/alsa-lib-1.0.20-r1:

 * Fetch failed for 'media-libs/alsa-lib-1.0.20-r1', Log file:
 *  '/var/tmp/portage/media-libs/alsa-lib-1.0.20-r1/temp/build.log'

 * GNU info directory index is up-to-date.

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

padoor ~ #


emerge command fails everytime it does python.
any work around??
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Aug 02, 2009 4:15 pm    Post subject: Re: how do i do this python 3.1?? Reply with quote

padoor wrote:
Code:
 * WARNING!
 * Many Python modules haven't been ported yet to Python 3.*.
 * /usr/bin/python hasn't been updated and still references your old Python installation.
 *


I would mask it - just to be safe.Too many Gentooers are having trouble with this right now. :)

Code:
echo >dev-lang/python-2.7 >> /etc/portage/package.mask



Look at this https://forums.gentoo.org/viewtopic-t-786104.html
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Aug 03, 2009 2:51 am    Post subject: Reply with quote

Code:
[U] dev-lang/python
     Available versions: 
   (2.4)   2.4.6
   (2.5)   2.5.4-r2 2.5.4-r3
   (2.6)   (~)2.6.2-r1
   (3.1)   [m](~)3.1
   {berkdb bootstrap build cxx doc elibc_uclibc examples gdbm ipv6 ncurses readline sqlite ssl threads tk ucs2 wininst xml}
     Installed versions:  2.4.4-r15(2.4)(12:26:46 03/15/09)(berkdb cxx gdbm ipv6 ncurses readline ssl threads xml -bootstrap -build -doc -elibc_uclibc -examples -tk -ucs2 -wininst)
           2.5.4-r2(2.5)(08:10:48 03/15/09)(berkdb gdbm ipv6 ncurses readline ssl threads xml -build -doc -elibc_uclibc -examples -sqlite -tk -ucs2 -wininst)
           2.6.2-r1(2.6)(19:01:08 06/24/09)(berkdb gdbm ipv6 ncurses readline ssl threads xml -build -doc -elibc_uclibc -examples -sqlite -tk -ucs2 -wininst)
     Homepage:            http://www.python.org/
     Description:         Python is an interpreted, interactive, object-oriented programming language.


i have now masked version 3.1
i did not see version 2.7 at all
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Aug 03, 2009 3:21 am    Post subject: Reply with quote

padoor wrote:
i did not see version 2.7 at all


2.7 is just a random number >2.6.2-r1 and <3.1 :wink:
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Mon Aug 03, 2009 5:41 am    Post subject: Reply with quote

I had the same problems you did, Padoor.

I masked it for now, after screwing around for two hours yesterday trying to get it to work.

I'm not even sure why they unmasked 3.1 in the profile, since certain portage modules do not seem to have been remediated to work with it yet. (Or, alternatively, Portage should depend specifically upon Python 2 for the time being.)
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