Author palm.kevin
Recipients palm.kevin
Date 2016-07-26.13:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems that on linux (red hat), the "make install" fails when no zlib support is available. (I have no zlib installed and I don't want to do so)

I reproduced the problem with both python 3.5.1 and python 3.5.2

The command 'configure' and 'make' produced no errors, but the 'make install' failed with this error message:
if test "xupgrade" != "xno"  ; then \
                case upgrade in \
                        upgrade) ensurepip="--upgrade" ;; \
                        install|*) ensurepip="" ;; \
                esac; \
                LD_LIBRARY_PATH=/usr/ls/tmp/py/Python-3.5.2:/usr/ls/app/python35/lib:./ls/lib:./ls/lib:/usr/molis/uniface9606/common/lib:/usr/molis/dlm/Linux/amd64:/usr/oracle/product/11.2.0/lib:/usr/oracle/product/11.2.0/lib: ./python -E -m ensurepip \
                        $ensurepip --root=/ ; \
Traceback (most recent call last):
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/", line 4, in <module>
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/", line 209, in _main
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/", line 116, in bootstrap
    _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/", line 40, in _run_pip
    import pip
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [install] Error 1

zlib is not required to run Python 3.5, it should thus not be required neither for setting up python.
Date User Action Args
2016-07-26 13:52:00palm.kevinsetrecipients: + palm.kevin
2016-07-26 13:52:00palm.kevinsetmessageid: <>
2016-07-26 13:52:00palm.kevinlinkissue27625 messages
2016-07-26 13:51:59palm.kevincreate