[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This might help : https://devguide.python.org/setup/#install-dependencies

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Stéphane Wirtel

Stéphane Wirtel  added the comment:

fix your compilation with the zlib headers

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

not related to python itself.

--
nosy: +matrixise
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Apoorv Sachan


New submission from Apoorv Sachan :

#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 
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.

--
components: Installation
messages: 336749
nosy: apoos-maximus
priority: normal
severity: normal
status: open
title: altinstall error Makefile:1140: recipe for target 'altinstall' failed
type: compile error
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com