By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

compiling python 2.5, missing zlib

P: n/a
I'm trying to compile Python 2.5 on a RHEL system, using "./
configure;make;make install". The build seems to go alright, but the
zlib module is missing.

I've tried the following:
1) Download and build the zlib libraries myself
2) Specify '--without-system-zlib' to ./configure

Neither seems to work. What am I missing here?

Thanks,

Mike
Nov 19 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Neither seems to work. What am I missing here?

You forgot to install the zlib header files, which come in
an RPM provided by Redhat (probably called zlib-dev or some
such).

Regards,
Martin
Nov 19 '07 #2

P: n/a
On Nov 19, 2:19 pm, "Martin v. Lwis" <mar...@v.loewis.dewrote:
Neither seems to work. What am I missing here?

You forgot to install the zlib header files, which come in
an RPM provided by Redhat (probably called zlib-dev or some
such).

Regards,
Martin
Those headers are already installed, according to "up2date". Is there
a way to specify the header files used?

--Mike
Nov 19 '07 #3

P: n/a
Those headers are already installed, according to "up2date". Is there
a way to specify the header files used?
It will automatically use them if they are good. What's the value of
ZLIB_VERSION in /usr/include/zlib.h?

Regards,
Martin
Nov 20 '07 #4

P: n/a
On Nov 19, 8:22 pm, "Martin v. Lwis" <mar...@v.loewis.dewrote:
Those headers are already installed, according to "up2date". Is there
a way to specify the header files used?

It will automatically use them if they are good. What's the value of
ZLIB_VERSION in /usr/include/zlib.h?

Regards,
Martin
I got my Python compile to work, by setting recompiling the zlib
source I downloaded with a --shared configure option.

Now I'm having trouble getting the Python MySQL module to install.
That'll be a separate post!

--Mike
Nov 21 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.