473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Python Dies on "make install"


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
2 17880
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alexander Skwar | last post by:
Hello! I'm having problems getting PHP 4.3.3RC4 successfully to install on my HP-UX 11.00 server. After a (successfull?) compile, "make install" errors out with this error message: ...
4
by: The Colonel | last post by:
Man, just got a new drive and realized I have to now install THREE versions of Visual Studio (6, 2003 & 2005). Why can I not use the latest version to work with EVERYTHING? You know, "make as...
0
by: Yang Zhang | last post by:
All the site-packages/*.so files get copied to the directory specified in my ~/.pydistutils.cfg instead of lib-dynload under the prefix dir, then proceeds to chmod 755 all the files in that...
4
by: Eric West | last post by:
First, thanks for taking the time to read this message. I am trying to build a LAMP stack for the first time, and have encountered the following problem: CentOS 4.3 mysql 4.1.20 apache 2.2.3...
4
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. ...
1
by: asafok | last post by:
hi, i have office 2007 on my win Xp and for some resone while i open some programs i get win installer for access 2000. i have access 2007 installed.... how can overcome this problem? and why...
3
by: jcor | last post by:
Hi, I'm trying the "make distclean" comand. but I allways get this error: if I use the "make clean" I get the same error. Can someone teach me to use this commands, please? Thanks a lot, ...
15
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or...
0
by: MIcahMIcah | last post by:
Alright.....bit of a trouble spot here. I took a step or two with my database without really taking the time to learn what I was doing and I think I may have messed it all up....sort of. I made a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.