下载了python之后的编译安装

浏览: 1189

下载: 

https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz


Install Python 2 by running the following commands:

./configure --prefix=/usr       \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--enable-unicode=ucs4 &&
make

To test the results, issue: make -k test. One test fails for unknown reasons.

Now, as the root user:

make install &&
chmod -v 755 /usr/lib/libpython2.7.so.1.0
推荐 0
本文由 Yuchi608 创作,采用 知识共享署名-相同方式共享 3.0 中国大陆许可协议 进行许可。
转载、引用前需联系作者,并署名作者且注明文章出处。
本站文章版权归原作者及原出处所有 。内容为作者个人观点, 并不代表本站赞同其观点和对其真实性负责。本站是一个个人学习交流的平台,并不用于任何商业目的,如果有任何问题,请及时联系我们,我们将根据著作权人的要求,立即更正或者删除有关内容。本站拥有对此声明的最终解释权。

0 个评论

要回复文章请先登录注册