[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed
ysj.ray
report at bugs.python.org
Wed Apr 27 12:09:32 CEST 2011
New submission from ysj.ray <ysj.ray at gmail.com>:
The development guide(http://docs.python.org/devguide/setup.html) suggested that one can build with "--prefix=/dev/null" in order to avoid accidentally install it. But in the Modules/Setup.dist the zlib module is defined as:
zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
So configure with "--prefix=/dev/null " and enable zlib in Module/Setup and then make results in such error: (debian 5)
cc1: error: /dev/null/include: Not a directory
Not sure if this is really a problem. But I need to modify the Module/Setup zlib line to
"""
zlib zlibmodule.c -L$(exec_prefix)/lib -lz
"""
instead of just uncomment it to make my build process success. I think it's better to be improved.
----------
components: Build
messages: 134544
nosy: ysj.ray
priority: normal
severity: normal
status: open
title: build with --prefix=/dev/null and zlib enabled in Modules/Setup failed
type: compile error
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11934>
_______________________________________
More information about the Python-bugs-list
mailing list