473,581 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python 2.3.3 compilation problem

Hi, i have RH9 and i need python 2.3. I executed tgz file and typed ./configue.
Then i type make. It is without problem. When I type make install ...
....
....
Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
Compiling /usr/local/lib/python2.3/xmllib.py ...
Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
Compiling /usr/local/lib/python2.3/zipfile.py ...
make: *** [libinstall] Error 1

Have somebody any idea where is error?
Thanks
Jul 18 '05 #1
3 2346
Zdenda wrote:
Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
Compiling /usr/local/lib/python2.3/xmllib.py ...
Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
Compiling /usr/local/lib/python2.3/zipfile.py ...
make: *** [libinstall] Error 1

Have somebody any idea where is error?


It's an error further up in the output, probably caused
by some erroneous file in /usr/local/lib/python2.3.

Regards,
Martin

Jul 18 '05 #2
Zdenda wrote:
Hi, i have RH9 and i need python 2.3. I executed tgz file and typed
./configue. Then i type make. It is without problem. When I type make
install ... ...
...
Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
Compiling /usr/local/lib/python2.3/xmllib.py ...
Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
Compiling /usr/local/lib/python2.3/zipfile.py ...
make: *** [libinstall] Error 1

Have somebody any idea where is error?
Thanks

I had the same problem on Mandrake. There seem to be some minor syntax
incompatibiliti es in zipfile.py, and others. Try make -i install, and all
should be fine.

Mike
Jul 18 '05 #3
There may be a conflict with the lib's directory with a previous
installation of Python 2.3 already installed. For the configure try
running:

../configure --prefix=/usr/local instead of ./configure
Zdenda wrote:
Hi, i have RH9 and i need python 2.3. I executed tgz file and typed
./configue. Then i type make. It is without problem. When I type make
install ... ...
...
Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
Compiling /usr/local/lib/python2.3/xmllib.py ...
Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
Compiling /usr/local/lib/python2.3/zipfile.py ...
make: *** [libinstall] Error 1

Have somebody any idea where is error?
Thanks

I had the same problem on Mandrake. There seem to be some minor syntax
incompatibiliti es in zipfile.py, and others. Try make -i install, and all
should be fine.

Mike
--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
3393
by: Max M | last post by:
There is a story today on Slashdot Open Source Project Management Lessons ====================================== http://developers.slashdot.org/article.pl?sid=03/07/02/1817220&mode=flat&tid=185 "Paul Baranowski takes a moment to reflect on Open Source Project Management in his blog. His reflections are based on the first two years of...
2
2436
by: gaool | last post by:
Hello, I try to launch a Python script on SunOS system but I have this error: """Traceback (most recent call last): File "ihm1_1.py", line 3, in ? from Tkinter import * File "/opt/sfw/lib/python2.3/lib-tk/Tkinter.py", line 38, in ? import _tkinter # If this fails your Python may not be configured for Tk
3
5209
by: codecraig | last post by:
Hi, I have a question about Python. I know that it is an interpreted language, meaning a python program is converted to binary on the fly each time it is run, or compiled. What would be the purpose of compiling? I guess the compiled python code (question, is compiled python code called byte code?..if not, what is it called?) is not...
53
3647
by: Stelios Xanthakis | last post by:
Hi. pyvm is a program which can run python 2.4 bytecode (the .pyc files). A demo pre-release is available at: http://students.ceid.upatras.gr/~sxanth/pyvm/ Facts about pyvm: - It's FAST. According to the "cooked-bench" benchmark suite it finishes in 55% of the time python takes;)
118
6669
by: 63q2o4i02 | last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely hated it, having learned C++ a few years prior. They didn't teach Lisp at all and instead expected us to learn on our own. I wasn't aware I had to...
3
1342
by: Steve Holden | last post by:
I know there are quite a few hosting companies now who represent themselves as Python-friendly. Rather than trawl through the Wiki pages, however, and email each one separately I am sending this request to the comp.lang.python list (and putting it on my blog) in the hope of attracting those companies who are more involved with the Python...
0
1973
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 385 open (+21) / 3790 closed (+21) / 4175 total (+42) Bugs : 1029 open (+43) / 6744 closed (+43) / 7773 total (+86) RFE : 262 open ( +4) / 291 closed ( +4) / 553 total ( +8) New / Reopened Patches ______________________
71
3260
by: Jack | last post by:
I understand that the standard Python distribution is considered the C-Python. Howerver, the current C-Python is really a combination of C and Python implementation. There are about 2000 Python files included in the Windows version of Python distribution. I'm not sure how much of the C-Python is implemented in C but I think the more modules...
145
4218
by: Dave Parker | last post by:
I've read that one of the design goals of Python was to create an easy- to-use English-like language. That's also one of the design goals of Flaming Thunder at http://www.flamingthunder.com/ , which has proven easy enough for even elementary school students, even though it is designed for scientists, mathematicians and engineers.
0
7873
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7800
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8153
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8309
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5365
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3806
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1405
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1141
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.