我试图在我的 lfs 上安装 gentoo prefix
32位。但是出现错误:
Python build finished, but the necessary bits to build these modules were not found: _bsddb _sqlite3 _tkinter bsddb185 dl nis sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.Failed to build these modules: crypt
它出现在最后一步emerge -e system
。
如果您需要任何问题。请告诉我。
最佳答案
试试这个:mv $EPREFIX/tmp/usr/lib/libpython2.7.a $EPREFIX/tmp/usr/lib/_libpython2.7.a
如以下链接所述:
http://forums.gentoo.org/viewtopic-t-890016-start-0.html
如果上述方法不起作用,另请参阅此帖子以解决某些模块问题: http://www.kelvinwong.ca/tag/python-2-7/
关于linux - python 2.7.5 在安装 gentoo 前缀时无法构建模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17512418/