Author palm.kevin
Recipients palm.kevin
Date 2016-07-26.13:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469541120.27.0.508347520885.issue27625@psf.upfronthosting.co.za>
In-reply-to
Content
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=/ ; \
        fi
Traceback (most recent call last):
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/__main__.py", line 4, in <module>
    ensurepip._main()
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/__init__.py", line 209, in _main
    default_pip=args.default_pip,
  File "/usr/ls/tmp/py/Python-3.5.2/Lib/ensurepip/__init__.py", 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/__init__.py", 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.
History
Date User Action Args
2016-07-26 13:52:00palm.kevinsetrecipients: + palm.kevin
2016-07-26 13:52:00palm.kevinsetmessageid: <1469541120.27.0.508347520885.issue27625@psf.upfronthosting.co.za>
2016-07-26 13:52:00palm.kevinlinkissue27625 messages
2016-07-26 13:51:59palm.kevincreate