红帽 |如何编译 64 位 Python 2.6
我正在尝试编译 64 位的 Python 2.6,我尝试了各种编译命令,但不确定这些命令是否正确
./configure --with-universal-archs=32-bit --prefix="$HOME/python"
make
make install
正确的语法是什么...?
I'm trying to compile Python 2.6 for 64bit, I tried various compile commands but not sure whether those are correct
./configure --with-universal-archs=32-bit --prefix="$HOME/python"
make
make install
What is the correct syntax ... ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
究竟是什么不起作用?您收到任何错误消息吗?
尝试简单编译而不先安装:
另外,请确保已安装 make(GNU Make 或其他)。
你从哪里得到来源?如果您直接从存储库获取它,则源代码可能已损坏,或者您可能需要重新运行 autotool。
测试编译确实有效后,您可以:
What exactly doesn't work? Do you get any error message?
Try simple compilation without installing first:
also, make sure you have make (GNU Make or otherwise) installed.
Where did you get the source? If you're getting it directly from the repository, there is a chance that the source is broken or you may need to re-run autotool.
After testing that the compilation actually works, then you can: