View previous topic :: View next topic |
Author |
Message |
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Aug 02, 2009 4:05 pm Post subject: how do i do this python 3.1?? |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Aug 02, 2009 4:15 pm Post subject: Re: how do i do this python 3.1?? |
|
|
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 |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Aug 03, 2009 2:51 am Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Aug 03, 2009 3:21 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Mon Aug 03, 2009 5:41 am Post subject: |
|
|
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 |
|
|
|