Message134544
| 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:32 | ysj.ray | set | recipients:
+ ysj.ray |
| 2011年04月27日 10:09:32 | ysj.ray | set | messageid: <1303898972.2.0.53608607185.issue11934@psf.upfronthosting.co.za> |
| 2011年04月27日 10:09:31 | ysj.ray | link | issue11934 messages |
| 2011年04月27日 10:09:31 | ysj.ray | create |
|