collective / collective.hostout

zc.buildout deployment and remote control
22 stars 7 forks source link

Compiled python lacks zlib #29

Open jean opened 12 years ago

jean commented 12 years ago

I had to edit Python-2.4/Modules/Setup before zlib support was finally compiled successfully:

--- Python-2.4/Modules/Setup    2012-02-28 09:11:10.313091762 +0000
+++ Python-2.4-with-zlib/Modules/Setup  2012-02-28 08:52:28.121091224 +0000
@@ -443,6 +443,7 @@
 # This require zlib 1.1.3 (or later).
 # See http://www.gzip.org/zlib/
 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz

Use https://github.com/collective/buildout.python to do the compilation instead?

djay commented 12 years ago

There is alternative Fabric method which uses buildout.python but there is no zip package of this. You have to use svn.

Dylan Jay Technical solution manager PretaWeb 99552830

On 28/02/2012, at 4:16 PM, Jean Jordaan reply@reply.github.com wrote:

I had to edit Python-2.4/Modules/Setup before zlib support was finally compiled successfully:

--- Python-2.4/Modules/Setup 2012-02-28 09:11:10.313091762 +0000 +++ Python-2.4-with-zlib/Modules/Setup 2012-02-28 08:52:28.121091224 +0000 @@ -443,6 +443,7 @@

This require zlib 1.1.3 (or later).

# See http://www.gzip.org/zlib/
#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz

+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz

Use https://github.com/collective/buildout.python to do the compilation instead?


Reply to this email directly or view it on GitHub: https://github.com/collective/collective.hostout/issues/29