Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] emerge fail - python borken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
philoo
n00b
n00b


Joined: 16 Jul 2008
Posts: 32

PostPosted: Sat Jul 26, 2008 4:40 pm    Post subject: [emerge] emerge fail - python borken Reply with quote

Hello everybody

I'm new with Gentoo,
after few manips, I've broken my python and emerge is KO with this message:
Code:
/usr/bin/emerge: /usr/bin/python: bad interpreter


I have an AMD64, have installed Gentoo AMD64 with the minimal CD ... and two installs of python (before the problem)
- version 2.4.4-r13
- and version 2.5.2-r5

Because, I have a problem with pygtk-2.12.0,
I do an emerge -C python-2.5.2-r5 and get the previous message with emerge.

I tried different method given on these threads, but all failed
https://forums.gentoo.org/viewtopic-p-4267052.html#4267052
https://forums.gentoo.org/viewtopic-p-27900.html#27900
https://forums.gentoo.org/viewtopic-t-5746-highlight-unmerged+python.html
or I mistaken??

So, I have downloaded this package:
http://tinderbox.x86.dev.gentoo.org/default-linux/amd64/python-2.4.4-r13.tbz2

but how can I run ./configure with it, because there only two directories in this package and no configure file?

I try also with http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tar.bz2, but unfortunately, error when I run "make".

PS: I run ./configure with this:
–prefix=/usr –host=x86_64-pc-linux-gnu –mandir=/usr/share/man –infodir=/usr/share/info –datadir=/usr/share –sysconfdir=/etc –localstatedir=/var/lib –with-fpectl –enable-shared –infodir=${prefix}/share/info –mandir=${prefix}/share/man –with-libc= –enable-unicode=ucs4 –with-threads –build=x86_64-pc-linux-gnu

Anybody can help me: I can make nothing without emerge, env-update, etc...


Thanks for all! :D
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Sat Jul 26, 2008 4:43 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.
See https://forums.gentoo.org/viewtopic.php?t=5746

Quote:
So, I have downloaded this package:
http://tinderbox.x86.dev.gentoo.org/default-linux/amd64/python-2.4.4-r13.tbz2

simply untar that tarball: tar -jxvf python-2.4.4-r13.tbz2 -C /
next you emerge python again: emerge -1 python
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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