Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] python 2.7 fails to build
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
codecaine21
n00b
n00b


Joined: 15 Mar 2014
Posts: 6

PostPosted: Mon Mar 17, 2014 6:10 pm    Post subject: [SOLVED] python 2.7 fails to build Reply with quote

im trying to build python-2.7 but it keeps complaining with this error
Code:


Python build finished, but the necessary bits to build these modules were not found:
bsddb185           sunaudiodev                       
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
readline


I unmerged readline and remerged it. If I use berkdb in the use flags when install python i get this error
Code:


Python build finished, but the necessary bits to build these modules were not found:
bsddb185           sunaudiodev                       
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
readline* 'bsddb' module is out-of-date and no longer maintained inside
 * dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally
 * removed in Python 3. A maintained alternative of 'bsddb3' module
 * is provided by dev-python/bsddb3.


The error the build threw about readline was
Code:

In function 'setup_readline error: 'Function' undeclared


I even tried emerge #preserved-rebuild and that too fails on python.

heres my emerge --info
http://pastebin.com/mcwNdgYZ

Any ideas?

SOLUTION: mask the readline-6.3 package and remerge python


Last edited by codecaine21 on Mon Mar 17, 2014 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
saikatbsk
n00b
n00b


Joined: 17 Mar 2014
Posts: 1
Location: India

PostPosted: Mon Mar 17, 2014 6:43 pm    Post subject: Reply with quote

found out emerge crashes while compiling python packages with readline-6.3 8O . adding >=readline-6.3 in package.mask resolves it. :idea:
Back to top
View user's profile Send private message
codecaine21
n00b
n00b


Joined: 15 Mar 2014
Posts: 6

PostPosted: Mon Mar 17, 2014 6:46 pm    Post subject: Reply with quote

saikatbsk wrote:
found out emerge crashes while compiling python packages with readline-6.3 8O . adding >=readline-6.3 in package.mask resolves it. :idea:

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