[issue29899] zlib missing when --enable--optimizations option appended

2017-03-27 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #29641 "make install failure when using ./configure --enable-optimizations". -- ___ Python tracker

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-27 Thread STINNER Victor
STINNER Victor added the comment: Strange, I don't see any obvious error related to the C "z" lib or to the Python "zlib" module. Example on my system: haypo@selma$ python3 Python 3.5.2 (default, Sep 14 2016, 11:28:32) [GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux Type "help", "copyright",

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-27 Thread kyren
kyren added the comment: This is make.log. -- Added file: http://bugs.python.org/file46758/make.log ___ Python tracker ___

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-27 Thread kyren
kyren added the comment: This is the config.log. -- Added file: http://bugs.python.org/file46757/config.log ___ Python tracker ___

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-27 Thread STINNER Victor
STINNER Victor added the comment: Can you please attach config.log file? And maybe also redirect the output of "make" into a log file and then attach this log file as well? Example: make 2>&1 >make.log. -- nosy: +haypo ___ Python tracker

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-26 Thread kyren
kyren added the comment: There's no build errors. The compiling and installing process is error-free. Take 3.5.3 as example, it's all good until you enter 3.5.3 python shell and type `import zlib`, it gives `No module name zlib`. I solved by make a `libz.so` link in my `/lib` dir to the

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-25 Thread Ned Deily
Ned Deily added the comment: --enable-optimizations does not exist in Python 3.4.x so any failures there must be due to something else. Are there any build errors? Can you show exactly where the message comes from? -- nosy: +ned.deily ___ Python

[issue29899] zlib missing when --enable--optimizations option appended

2017-03-24 Thread kyren 原子喵
New submission from kyren 原子喵: i think it happens to all versions that recognizes the optimizations option. At least I confirmed python version 3.4.6, 3.5.3, 3.6.1, when `--enable-optimizations` is appended, `zlib` cannot be imported, `No module named zlib`. I'm working on Ubuntu 14.04 by the