471,344 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

compiling python 2.5, missing zlib

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
4 4086
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
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
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
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.

Similar topics

6 posts views Thread by Andres Rosado-Sepulveda | last post: by
reply views Thread by A. B., Khalid | last post: by
6 posts views Thread by Fuzzyman | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
5 posts views Thread by Jagadish Kumar, Maripi | last post: by
reply views Thread by Javen | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.