By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,286 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,286 IT Pros & Developers. It's quick & easy.

Python Dies on "make install"

P: n/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.

Thanks

--
Take summa dis punk!
Aug 10 '07 #1
Share this Question
Share on Google+
2 Replies

P: n/a
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.

--
Jarek Zgoda
http://jpa.berlios.de/
Aug 10 '07 #2

P: n/a
On Fri, 10 Aug 2007 23:39:39 +0200, Jarek Zgoda wrote:
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. :)


--
Take summa dis punk!
Aug 10 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.