On 2007-04-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Apr 11, 9:14 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> In <[EMAIL PROTECTED]>, shamzz wrote: >> > Shouldn't zlib be compiled as a Python module automatically in Python >> > 2.4.4. I'm guessing Python is doing some kind of check and not >> > compiling zlib for some reason? >> >> It only gets compiled if the header files can be found. Is the zlib-dev >> or zlib-devel package installed? > > Thanks for the fast reply... this seems to be going off topic from > Python so sorry about that. > > But yep, I've just installed (through YAST) the zlib-devel and zlib- > devel-32 packages (zlib and zlib-32bit are already installed). > > I then did a make clean/configure/make/make install with the Python > source, but it's still not compiling with zlib.
carefully inspect the configure output. Where it gets to the zlib output, it should print a message about whether it found the libraries or not. Usually, in these situations, I find myself looking closely at the output in config.log to see exactly what gcc command it tried to run. If that doesn't help, take a look at the 'make' output. It might be that there is no check for zlib in configure, but Python goes to build the module and fails due to missing headers or libraries. Dave -- http://mail.python.org/mailman/listinfo/python-list