Sometimes I have goofy thoughts about geeky stuff, family, and dogs. And other times, I just want to be stupid. Enjoy!

2005-06-26

Configure and compile Python with Zlib

I just spent an hour trying to figure this out, AGAIN! To compile Zlib support into your Python interpreter, do this:

1. Install the Zlib-dev package for your distribution. (you probably have zlib already, but not the dev package)
On Ubuntu it's called 'zlib1g-dev', on others it might just be: zlib-dev or zlib-devel. Do a search on your distro package lists to find it.
You should end up with a 'zlib.h' file in your system. In mine, Ubuntu, I have /usr/include/zlib.h

2. Get your python sources to compile and run the configure script like so:
./configure --with-zlib=/usr/include

See there that I included the '/usr/include' directory to find zlib.h in? After the make && make install it worked great!

Keep in mind your mileage may vary, but this might help I hope. More importantly, now I can remember how I did this! :)

5 Comments:

Anonymous Anonymous said...

Really interesting article. Hope to see same more!

12/15/2010 04:40:00 PM

 
Anonymous Anonymous said...

Acne After Accutane
25 Jan 2007 ... This link is the most updated and comprehensive info about accutane history, dosing and side effects. They list thinning hair as a "common" ...
26 Nov 2010 ... What Is Generic Isotretinoin | Isotretinoin Accutane Reviews Top Quality ... isotretinoin 20mg capsules what is isotretinoin used for ...
12 Nov 2010 ... accutane red nose low dose accutane hair loss accutane 40 mg day ... accutane dosage for oily skin acutane and ulceratis colitis ...
Hartford Accutane Lawyers
13 Apr 2010 ... The actos and twice daily dosing of racket and the vindesine profile of ...... However, the things to avoid while on accutane of this geltab ...
Le Lentic est un centre de recherche et d'intervention de l'Universite de Liege, centre sur les processus d'innovation organisationnelle.
Accutane Neck Pain Back Head

12/28/2010 11:52:00 PM

 
Anonymous Anonymous said...

Good article. Thank you.
http://valium.blog.com/2011/01/04/buy-valium-online

1/04/2011 08:26:00 PM

 
Anonymous Anonymous said...

oZzy moved away ever before, I miss his cock, and i
am always hungry for sexual intercourse.
FUCK MY PUSSY!

Feel free to surf to my weblog; hcg injections

3/16/2013 04:28:00 AM

 
Anonymous Anonymous said...

buy electronic cigarette, electronic cigarettes, best electronic cigarette, electronic cigarette, electronic cigarettes, electronic cigarette

11/30/2014 05:17:00 AM

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home