473,385 Members | 1,337 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.

Why zlib not included in Python tarball?

I need to install my own Python. I compiled Python 2.4.4 from sources. zlib
did not compile - it's not in the lib-dynload directory.

I did not have this problem with any of my earlier Python compiles. I
routinely compile Python from source.

What is the correct procedure for installing zlib from source into Python?

--
Milos Prudek
Sep 10 '07 #1
3 1566
I need to install my own Python. I compiled Python 2.4.4 from sources. zlib
did not compile - it's not in the lib-dynload directory.

I did not have this problem with any of my earlier Python compiles. I
routinely compile Python from source.

What is the correct procedure for installing zlib from source into Python?
Depends on the operating system and the Python version. On Unix, you
need to install zlib first; if you install a precompiled zlib package,
make sure you install the header files as well.

Regards,
Martin
Sep 10 '07 #2
I need to install my own Python. I compiled Python 2.4.4 from sources. zlib
did not compile - it's not in the lib-dynload directory.

I did not have this problem with any of my earlier Python compiles. I
routinely compile Python from source.

What is the correct procedure for installing zlib from source into Python?
Depends on the operating system and the Python version. On Unix, you
need to install zlib first; if you install a precompiled zlib package,
make sure you install the header files as well.

Regards,
Martin
Sep 10 '07 #3
Depends on the operating system and the Python version. On Unix, you
need to install zlib first; if you install a precompiled zlib package,
make sure you install the header files as well.
You were right. Thank you.

--
Milos Prudek
Sep 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alan Toppen | last post by:
I was unable to use the ZipFile class in the zipfile module in Python2.4. I got an error that zlib could not be found. Comparing my Python 2.2 installation I noticed Python 2.4 was missing a...
6
by: Laszlo Zsolt Nagy | last post by:
Sorry, I realized that the import zlib was not executed from my (working) service. So here is the question: why can't I use zlib from a win32 service? Is there any way to make it working? ...
1
by: Andreas Lobinger | last post by:
Aloha, is a pure _python_ implementation of the zlib available? I have broken zlib streams and need to patch the deocder to get them back. Wishing a happy day LOBI
4
by: shamzz | last post by:
Hi, I've compiled (configure/make/make install) Python 2.4.4 from source on Suse Linux Enterprise Server 9 (x64). I need Python to be compiled with Zlib so that I can compile and use Zope. ...
2
by: Milos Prudek | last post by:
Although I have Python 2.5 with zlib in my Linux disto, I need to install my own Python (as most Zope developers do). Zope requires zlib. Python 2.4.4 does not contain zlib. What is the correct...
4
by: ZedLep | last post by:
Hello, First of all I'm a relatively inexperienced C++ programmer so this may seem a simple question to answer. I'm trying to use zlib from www.zlib.net to decompress some data. However I run...
3
by: stuntgoat | last post by:
import zlib works in Python 2.4 (debian etch AMD64 - default python version for that distro) I built python 2.5 from source; zlib is not importable. I am trying to compile MySQLdb. any...
1
by: mhearne808[insert-at-sign-here]gmail[insert-dot-he | last post by:
I can't seem to get the zlib module to build on an RHEL box. I did the following: 1) Download zlib 1.2.3 2) configure;make;make install 3) Download python 2.5.2 4) configure;make;make install...
2
by: rajevar | last post by:
hi, i have seen various post related to this topic but i couldnt resolve my issue yet. Im using python version 2.5 on Linux environment this is the error im getting if i try to import zlib ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.