Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PyQt4-4.7.3] erreur lors de la mise à jour (resolu)
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
KeNNys
Apprentice
Apprentice


Joined: 08 Mar 2010
Posts: 155
Location: Bourges (centre 18)

PostPosted: Tue Jun 22, 2010 5:59 pm    Post subject: [PyQt4-4.7.3] erreur lors de la mise à jour (resolu) Reply with quote

Bonjour a tous,

apres orbit c'est au tour de PyQt4

voici l'erreur
Quote:
* Configuration of dev-python/PyQt4-4.7.3 with CPython 3.1...
python3.1 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib/python3.1/site-packages --sipdir=/usr/share/sip --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtScript --enable=QtTest --enable=QtXml --enable=QtGui --enable=QtDesigner --enable=QtScriptTools --enable=QtOpenGL --enable=QtSql --enable=QtSvg --enable=QtWebKit CC=i686-pc-linux-gnu-gcc CXX=i686-pc-linux-gnu-g++ LINK=i686-pc-linux-gnu-g++ LINK_SHLIB=i686-pc-linux-gnu-g++ CFLAGS='-O2 -march=native -pipe -fomit-frame-pointer' CXXFLAGS='-O2 -march=native -pipe -fomit-frame-pointer ' LFLAGS='-Wl,-O1'
Traceback (most recent call last):
File "configure.py", line 37, in <module>
import sipconfig
ImportError: No module named sipconfig
* ERROR: dev-python/PyQt4-4.7.3 failed:
* Configuration failed with CPython 3.1 in configuration() function
*
* Call stack:
* ebuild.sh, line 54: Called src_configure
* environment, line 4711: Called python_execute_function '-s' 'configuration'
* environment, line 3400: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info =dev-python/PyQt4-4.7.3',
* the complete build log and the output of 'emerge -pqv =dev-python/PyQt4-4.7.3'.
* The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.7.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.7.3/temp/environment'.
* S: '/var/tmp/portage/dev-python/PyQt4-4.7.3/work/PyQt-x11-gpl-4.7.3'

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


Merci à tous[/code]
_________________
KeNNys
---------------
Gentoo
---------------
Think Linux


Last edited by KeNNys on Wed Jun 23, 2010 7:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Tue Jun 22, 2010 6:46 pm    Post subject: Reply with quote

rémerge dev-python/sip il semble que la version pour python 3.1 ne soit pas présente (module installé avant l'ajout de python 3.1 ?)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
KeNNys
Apprentice
Apprentice


Joined: 08 Mar 2010
Posts: 155
Location: Bourges (centre 18)

PostPosted: Tue Jun 22, 2010 8:23 pm    Post subject: Reply with quote

j'ai fait un eselect python set 2
qui correspond a python 3.1
Mais sa ne ne change pas
_________________
KeNNys
---------------
Gentoo
---------------
Think Linux
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Tue Jun 22, 2010 8:34 pm    Post subject: Reply with quote

Bien sur que non ça change pas...
re-émerge dev-python/sip


portage compile les modules pythons qui le supportent pour les 2 version de python : 2.6 et 3.1. La, il échoue en voulant compiler pyqt4 pour python 3.1 (Configuration of dev-python/PyQt4-4.7.3 with CPython 3.1... ), et il ne trouve pas le module sip.
Conclusion : tu as émergé sip AVANT la mise en place dans portage de ce processus, ou avant d'installer python 3.1. Donc sip est compilé pour seulement python 2.6, au lieu de python 2.6 ET 3.1...

re-émerger sip va résoudre le problème
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
KeNNys
Apprentice
Apprentice


Joined: 08 Mar 2010
Posts: 155
Location: Bourges (centre 18)

PostPosted: Tue Jun 22, 2010 8:41 pm    Post subject: Reply with quote

Merci guilc,

je suis en cours, c'est la seconde chose que j'avais fait en suivant tes conseils ;)
l'emerge de dev-python/sip est fini je relance un emerge -uDNav World.
La suite demain trop naze a cet heure et de plus demain Girolle tres tot (Miam miam ;) )
je tiens au courant le forum dans tout les cas.
Merci pour ton aide guilc
_________________
KeNNys
---------------
Gentoo
---------------
Think Linux
Back to top
View user's profile Send private message
KeNNys
Apprentice
Apprentice


Joined: 08 Mar 2010
Posts: 155
Location: Bourges (centre 18)

PostPosted: Wed Jun 23, 2010 6:59 pm    Post subject: Reply with quote

Merci ;)
_________________
KeNNys
---------------
Gentoo
---------------
Think Linux
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