Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile python 2.7.9 with pyenv on Arch Linux. #1472

Closed
hongyi-zhao opened this issue Dec 2, 2019 · 2 comments
Closed

Failed to compile python 2.7.9 with pyenv on Arch Linux. #1472

hongyi-zhao opened this issue Dec 2, 2019 · 2 comments

Comments

@hongyi-zhao
Copy link

hongyi-zhao commented Dec 2, 2019

Hi,

I try to compile python 2.7.9 with pyenv on arch linx with the
following command:


$ pyenv install 2.7.9
Installing Python-2.7.9...
patching file ./Lib/site.py
patching file ./Lib/ssl.py
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems


BUILD FAILED (Arch Linux using python-build 1.2.15-2-g22c0202)

Inspect or clean up the working tree at /tmp/python-build.20191202134159.88051
Results logged to /tmp/python-build.20191202134159.88051.log

Last 10 log lines:
rm -f /home/werner/.pyenv/versions/2.7.9/share/man/man1/python.1
(cd /home/werner/.pyenv/versions/2.7.9/share/man/man1; ln -s python2.1 python.1)
if test "xno" != "xno"  ; then \
        case no in \
                upgrade) ensurepip="--upgrade" ;; \
                install|*) ensurepip="" ;; \
        esac; \
         ./python -E -m ensurepip \
                $ensurepip --root=/ ; \
fi

Any hints for this issue?

Regards

@joshfriend
Copy link
Member

Please check the suggested troubleshooting provided by the issue template. If that does not resolve your issue, please open a new one and provide the information requested by the template

@hongyi-zhao
Copy link
Author

Thanks, according to the notes here:
https://github.com/pyenv/pyenv/wiki/Common-build-problems
I solved the issue. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants