Python Dies on "make install"
jzgoda at o2.usun.pl
Fri Aug 10 23:39:39 CEST 2007
> When I try to build and install python from source It configures and
> makes fine but upon 'make install' I always get to 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
> I am currently trying to install 2.5.1. I get the error no matter what the
> version is. Does anyone have an idea what may be causing this?
> I have gone through the config.log and found no errors concerning
> zipfile.py or zipfile or zip. I am thinking the error is the next command
> after the zipfile.py installation because I can go into
> /usr/local/lib/python2.5 and zipfile.py is installed.
> Any help much appreciated.
I saw this (and reported this issue in SF's tracker) at some time around
2.2/2.3 (just cann't recall). I don't know what causes this problem
exactly, but in my case the installation succeeded if I removed prevoius
python's library directory (/usr/lib/python2.x or
/usr/local/lib/python2.x). The module that stopped installation was
exactly the same.
More information about the Python-list