473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 4206
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. Löwis" <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. Löwis" <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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: A. B., Khalid | last post by:
Hello all. After the effort of getting most of Python 2.3.4 Final compiled in MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, and get the patch and read more...
6
by: Fuzzyman | last post by:
I'll post this to the image-sig as well, but the audience is a bit wider here. I've just upgraded to Python 2.4. I've installed the free microsoft optimising compiler and hacked distutils to use...
16
by: Claudio Grondi | last post by:
What started as a simple test if it is better to load uncompressed data directly from the harddisk or load compressed data and uncompress it (Windows XP SP 2, Pentium4 3.0 GHz system with 3 GByte...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 430 open ( -4) / 3447 closed (+17) / 3877 total (+13) Bugs : 922 open ( -7) / 6316 closed (+31) / 7238 total (+24) RFE : 245 open...
5
by: Jagadish Kumar, Maripi | last post by:
Hi, I got the following error while trying to compile php with mysql. I would be glad if anyone can help me on this. Here is the error that i've got in config.log The command i used is:...
0
by: Javen | last post by:
Hi All, I'm trying to compile Python 2.5 on AIX 5.3 ending with error message as following: ./Modules/ld_so_aix cc_r -bI:Modules/python.exp...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.