Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problème lors de l'emerge de certain ports
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
yayien
n00b
n00b


Joined: 20 Nov 2006
Posts: 14

PostPosted: Sun Apr 17, 2011 10:10 pm    Post subject: [SOLVED] Problème lors de l'emerge de certain ports Reply with quote

Bonjour,
j'ai un petit soucis sur un système tout nouvellement installé en amd64. Lors de l'installation de certains ports tels que eix ou vmware-workstation par exemple il faut que à la main je force la version courante de python en 2.7 si je veux que ca marche.
Quelqu'un aurait-il eu deja ce problème ? Comment faire pour l'éviter car c'est lourd à la longue.

Merci


Last edited by yayien on Mon Apr 18, 2011 10:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1698
Location: 127.0.0.1

PostPosted: Mon Apr 18, 2011 8:11 am    Post subject: Reply with quote

Tu as dû la lire cette news non ?
Quote:

$ cat /portage/trees/gentoo/metadata/news/2010-03-25-python-3.1/2010-03-25-python-3.1.en.txt
Title: Python 3.1
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org>
Content-Type: text/plain
Posted: 2010-03-25
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: =dev-lang/python-3.1*

Python 3 is a new major version of Python and is intentionally incompatible
with Python 2. Many external modules have not been ported yet to Python 3,
so Python 2 still needs to be installed. You can benefit from having Python 3
installed without setting Python 3.1 as main active version of Python.
Currently you should not set Python 3.1 as main active version of Python.
When setting it becomes recommended, a separate news item will be created
to notify users.


Although Python 3.1 should not be set as main active version of Python,
you should run python-updater after installation of Python 3.1. By default,
modules that support both Python 2 and Python 3 are installed for both
the active version of Python 2 and the active version of Python 3 when both
Python 2 and Python 3 are installed.

It is recommended to use a UTF-8 locale to avoid potential problems. Especially
C and POSIX locales are discouraged. If locale has not been explicitly set,
then POSIX locale is used, so you should ensure that locale has been set.
Problems occurring only with non-UTF-8 locales should be reported directly
to upstream developers of given packages.
See http://www.gentoo.org/doc/en/utf-8.xml for more information about UTF-8.

Le système n'est pas encore totalement compatible avec python 3.1, donc il faut pour le moment rester en 2.x.
Que donne un :
Code:

$ eselect python list

:?:
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Apr 18, 2011 8:18 am    Post subject: Re: Problème lors de l'emerge de certain ports Reply with quote

yayien wrote:
il faut que à la main je force la version courante de python en 2.7 si je veux que ca marche.

Veux-tu dire que tu dois faire un eselect python set n avec n égal au numéro de liste correspondant à Python 2.7 ?

Si oui alors, ta version "normalement" courante de Python (avant que tu la refixe manuellement) c'est quoi : 2.6 , 3.x ?

Si c'est 3.x alors c'est normal. Un certain nombre de packages ne sont pas compatibles python 3 et Gentoo conseille de ne pas avoir Python 3 en tant que version par défaut. (Personellement, je n'utilise Python 3 qu'avec portage)

Si c'est 2.6 ou inférieure alors as-tu suivi la procédure d'upgrade de Python lorsque tu as upgradé à 2.7 ? (eselect 2.7 / python-updater / revdep-rebuild / emerge --depclean) ?
Back to top
View user's profile Send private message
yayien
n00b
n00b


Joined: 20 Nov 2006
Posts: 14

PostPosted: Mon Apr 18, 2011 10:14 pm    Post subject: Reply with quote

En fait, c'était donc simple, suffisait de lire les news...
Merci quand même d'avoir pris le temps de me répondre.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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