Problem installing Python 2.5

Jaroslaw Zabiello hipertracker at gmail.com
Tue Apr 3 11:22:53 EDT 2007


Dnia Tue, 3 Apr 2007 11:52:55 -0300, Sebastian Bassi napisał(a):

> I was trying to install Python 2.5 compiling from sources. I used:
> ./compile
> It run OK.
> Then:
> make altintall
> After a lot of output, got this:
> Listing /usr/local/lib/python2.5/xml/sax ...
> Compiling /usr/local/lib/python2.5/xml/sax/__init__.py ...
> Compiling /usr/local/lib/python2.5/xml/sax/_exceptions.py ...
> Compiling /usr/local/lib/python2.5/xml/sax/expatreader.py ...
> Compiling /usr/local/lib/python2.5/xml/sax/handler.py ...
> Compiling /usr/local/lib/python2.5/xml/sax/saxutils.py ...
> Compiling /usr/local/lib/python2.5/xml/sax/xmlreader.py ...
> Compiling /usr/local/lib/python2.5/xmllib.py ...
> Compiling /usr/local/lib/python2.5/xmlrpclib.py ...
> Compiling /usr/local/lib/python2.5/zipfile.py ...
> make: *** [libinstall] Error 1
> 
> It seems I am not the only one with this error:
> http://www.thescripts.com/forum/thread613458.html
> http://www.megasolutions.net/python/Python-installation-problem-(sorry-if-this-is-a-dup)-22624.aspx
> http://ubuntuforums.org/showthread.php?p=1912370
> 
> System: Freespire 1.0.13 (based on Debian).

After executing 

   ./configure 

you have to edito 

   Modules/Setup 

file and uncomment the following line:

#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz

Then continue with normal make; make install.

-- 
Jaroslaw Zabiello
http://blog.zabiello.com



More information about the Python-list mailing list