View previous topic :: View next topic |
Author |
Message |
whoop n00b
Joined: 13 Apr 2011 Posts: 4
|
Posted: Mon Apr 18, 2011 12:04 am Post subject: Chromium fails t to build, says it needs python 2.6 |
|
|
Chromium fails t to build, it says:
dev-lang/python:2.6 is not installed
python -V lists Python 2.6.5
Any ideas what I should try?
Thanx |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Apr 18, 2011 12:46 am Post subject: |
|
|
eselect python list
you probably don't have py2.6 set as default _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
whoop n00b
Joined: 13 Apr 2011 Posts: 4
|
Posted: Mon Apr 18, 2011 1:05 am Post subject: |
|
|
Naib wrote: | eselect python list
you probably don't have py2.6 set as default |
Thank you for your response..
output gives me:
Available Python interpeters:
[1] python 2.6 *
[2] python 2.7
[3] python 3.1
If I am not mistaken this indicates py2.6 is set as default... |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Apr 18, 2011 7:42 am Post subject: |
|
|
try running python-updater.
chromium is prob looking for a specific py module as opose to a py version _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
whoop n00b
Joined: 13 Apr 2011 Posts: 4
|
Posted: Mon Apr 18, 2011 10:49 pm Post subject: |
|
|
Naib wrote: | try running python-updater.
chromium is prob looking for a specific py module as opose to a py version |
I ran python-updater, trying to compile chromium still gives me the same error:
ERROR: www-client/chromium-10.0.648.205 failed (setup phase):
dev-lang/python:2.6 is not installed |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Tue Apr 19, 2011 4:57 am Post subject: |
|
|
That sounds like a bug in the python eclass. Search bugzilla, file a new bug if there isn't one already and attach the output of emerge --info, and the emerge log for the failed chromium. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
whoop n00b
Joined: 13 Apr 2011 Posts: 4
|
Posted: Wed Apr 20, 2011 12:43 am Post subject: |
|
|
I seem to have fixed it via: emerge dev-lang\python:2.6
Don't know how that helped, maybe python was broken and portage was unaware? |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 647 Location: Los Angeles
|
Posted: Fri May 20, 2011 5:12 pm Post subject: |
|
|
I had a very similar problem that was caused by USE_PYTHON="2.6 2.7" in make.conf including python 2.6 when it was no longer installed. Just wanted to include that in case someone searching to forum finds it helpful. |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Sun May 22, 2011 4:24 am Post subject: |
|
|
whoop wrote: | I seem to have fixed it via: emerge dev-lang\python:2.6
Don't know how that helped, maybe python was broken and portage was unaware? |
I think you have USE_PYTHON="2.6..." somewhere in your /etc/make.conf. This makes python packages to look for python:2.6 even though it might just as well use, e.g. python:2.7. Either that, or some how your active version was 2.6 even though 2.6 is not merged (probably you unmerged via dpeclean but forgot to eselect new active version of python). _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
|