[英]Is there a way to rebuild python on Ubuntu 14.04?
由于没有使用--enable-shared
标签构建 Python,一些下载失败,有什么方法可以摆脱我拥有的版本并重建 python? 或者更好的是,只需更改它而不重新安装?
获取资源:
apt-get source python2.7
在下载的目录中,更改python2.7.../debian/rules
:
with_interp := static
#with_interp := shared
至
#with_interp := static
with_interp := shared
然后在与debian
目录相同的级别,运行dpkg-buildpackage
。 您将准备好.deb
打包一个更高的目录。 只需使用dpkg -i python2.7.....deb
安装它们
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.