How do I get zlib installed on a python2.7 alt install?

N

Nzyme11

Installed python 2.7.7 on SLES from source to /opt/python2.7. It's already an installed module on 2.6. How do I get zlib installed on python2.7 as well??
 
D

dieter

Nzyme11 said:
Installed python 2.7.7 on SLES from source to /opt/python2.7.

Usually, an extension module is build automatically during the Python
generation (from source) when its preconditions are met. This usually means,
that the relevant development packages are installed. In your case,
this would mean the "zlib" development package.

I expect (but did not verify) that a Python rebuild+reinstall
after the "zlib" development package installation will make
Python "zlib" module available (in this Python installation).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top