This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: altinstall error Makefile:1140: recipe for target 'altinstall' failed
Type: compile error Stage: resolved
Components: Installation Versions: Python 3.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: apoos-maximus, matrixise, xtreak
Priority: normal Keywords:

Created on 2019-02-27 12:52 by apoos-maximus, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg336749 - (view) Author: Apoorv Sachan (apoos-maximus) Date: 2019-02-27 12:52
#as directed in the README.rst file
#doing a 'make altinstall' instead of install to install python3.7.2 along side other versions

....this is to be performed after './configure' 'make' and 'make test' commands.
please refer issue 36134 :titled :: (two issues could be related)
"test failure : test_re; recipe for target 'test' failed"

as there was also a make test failure prior to 'make altinstall'

-------terminal--------------

user@host $ make altinstall
....
#... everything goes well....
#... process ends with this traceback


.
.
.
.

Traceback (most recent call last):
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 204, in _main
    default_pip=args.default_pip,
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 117, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 27, in _run_pip
    import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
Makefile:1140: recipe for target 'altinstall' failed
make: *** [altinstall] Error 1

=========end==============

i do end up with a python 3.7 installation and still can't make sense of the failure.
msg336753 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-02-27 13:03
fix your compilation with the zlib headers

zipimport.ZipImportError: can't decompress data; zlib not available

not related to python itself.
msg336759 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-02-27 13:58
This might help : https://devguide.python.org/setup/#install-dependencies
History
Date User Action Args
2022-04-11 14:59:11adminsetgithub: 80316
2019-02-27 13:58:50xtreaksetnosy: + xtreak
messages: + msg336759
2019-02-27 13:03:38matrixisesetstatus: open -> closed

nosy: + matrixise
messages: + msg336753

resolution: rejected
stage: resolved
2019-02-27 12:52:51apoos-maximuscreate