linux - python 2.7.5 在安装 gentoo 前缀时无法构建模块

标签 linux python-2.7 gentoo

我试图在我的 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/

相关文章:

linux - 使用 Spike 引导 Linux 时出现故障?

python - 如何使用 Python 重命名电子表格中的工作表名称?

python-3.x - 如何在python中将png图像的目录转换为jpg

c - "#include <asm/io.h>"导致 "error: asm/io.h: No such file or directory"

linux - 初始化脚本是否应该守护进程并且 pid 是必不可少的?

linux - 退出状态代码 4479

c++ - 在 Linux 中使用 C/C++ 获取机器序列号和 CPU ID

linux - 反向合并文件

django - Django Ckeditor 的 Youtube 插件已更新

linux - 如何在 gentoo Linux 系统上处理 crontab 事件?