Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium fails t to build, says it needs python 2.6
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
whoop
n00b
n00b


Joined: 13 Apr 2011
Posts: 4

PostPosted: Mon Apr 18, 2011 12:04 am    Post subject: Chromium fails t to build, says it needs python 2.6 Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Mon Apr 18, 2011 12:46 am    Post subject: Reply with quote

eselect python list

you probably don't have py2.6 set as default
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
whoop
n00b
n00b


Joined: 13 Apr 2011
Posts: 4

PostPosted: Mon Apr 18, 2011 1:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Mon Apr 18, 2011 7:42 am    Post subject: Reply with quote

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
View user's profile Send private message
whoop
n00b
n00b


Joined: 13 Apr 2011
Posts: 4

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

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
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Apr 19, 2011 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
whoop
n00b
n00b


Joined: 13 Apr 2011
Posts: 4

PostPosted: Wed Apr 20, 2011 12:43 am    Post subject: Reply with quote

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
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Fri May 20, 2011 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Sun May 22, 2011 4:24 am    Post subject: Reply with quote

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
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