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.

Author ysj.ray
Recipients ysj.ray
Date 2011-04-27.10:09:31
SpamBayes Score 1.2808697e-09
Marked as misclassified No
Message-id <1303898972.2.0.53608607185.issue11934@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-04-27 10:09:32ysj.raysetrecipients: + ysj.ray
2011-04-27 10:09:32ysj.raysetmessageid: <1303898972.2.0.53608607185.issue11934@psf.upfronthosting.co.za>
2011-04-27 10:09:31ysj.raylinkissue11934 messages
2011-04-27 10:09:31ysj.raycreate