[arch-general] Failed to compile python 2.7.9 with pyenv on arch.

Hongyi Zhao hongyi.zhao at gmail.com
Mon Dec 2 06:00:41 UTC 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
-- 
Hongsheng Zhao <hongyi.zhao at gmail.com>
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493


More information about the arch-general mailing list