Python Dies on "make install"

F

fartknuckle

When I try to build and install python from source It configures and
makes fine but upon 'make install' I always get to this
point:



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.

Thanks
 
J

Jarek Zgoda

fartknuckle napisa³(a):
When I try to build and install python from source It configures and
makes fine but upon 'make install' I always get to this
point:



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.
 
F

fartknuckle

fartknuckle :
When I try to build and install python from source It configures and
makes fine but upon 'make install' I always get to this
point:



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.

That did the trick, thanks a million. :)
 

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,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top