View previous topic :: View next topic |
Author |
Message |
codecaine21 n00b
Joined: 15 Mar 2014 Posts: 6
|
Posted: Mon Mar 17, 2014 6:10 pm Post subject: [SOLVED] python 2.7 fails to build |
|
|
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 |
|
|
saikatbsk n00b
Joined: 17 Mar 2014 Posts: 1 Location: India
|
Posted: Mon Mar 17, 2014 6:43 pm Post subject: |
|
|
found out emerge crashes while compiling python packages with readline-6.3 . adding >=readline-6.3 in package.mask resolves it. |
|
Back to top |
|
|
codecaine21 n00b
Joined: 15 Mar 2014 Posts: 6
|
Posted: Mon Mar 17, 2014 6:46 pm Post subject: |
|
|
saikatbsk wrote: | found out emerge crashes while compiling python packages with readline-6.3 . adding >=readline-6.3 in package.mask resolves it. |
Thanks saikatbsk |
|
Back to top |
|
|
|