473,434 Members | 2,422 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,434 software developers and data experts.

Python installation problem (sorry if this is a dup)

I've been trying to install Mailman, which requires a newer version
of the Python language compiler (p-code generator?) than the one I
currently have on my linux webserver/gateway box.

It's running a ClarkConnect 2.01 package based on Red Hat 7.2 linux.

I downloaded the zipped tarball (Python-2.4.4.tgz), ran gunzip, then
un-tarred it in /usr/local. Then (logged in as root) from
/usr/local/Python-2.4.4 I ran the configure script which appeared to
run properly. At least there were no error messages that I
saw. Then I attempted to run "make install" and ended up with an
error "make *** Error 1". It was right at the "libinstall" section
of the make, so I did some googling and came up with the following command:
[root@gateway Python-2.4.4]# make libinstall inclinstall

After thrashing for about 5 minutes, I got basically the same message:
Compiling /usr/local/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1

I dunno if this is relevant, but I have Python 2.2.2 in the
/usr/Python-2.2.2 directory. Do I have to blow this away in order to
install the newer distro? Or do I need to install the new one in/usr
instead of /usr/local?

Although I'm a retired programmer (mainframes), I'm still learning
this linux stuff. I guess that makes me a noob...I hope you'll take
that into consideration.

Thanks,

Ray

Mar 1 '07 #1
1 3532
On 1 mar, 06:22, Ray Buck <r...@xmission.comwrote:
I've been trying to install Mailman, which requires a newer version
of the Python language compiler (p-code generator?)
It's actually the whole thing : (byte-code) compiler, virtual machine,
and stdlib.
than the one I
currently have on my linux webserver/gateway box.

It's running a ClarkConnect 2.01 package based on Red Hat 7.2 linux.

I downloaded the zipped tarball (Python-2.4.4.tgz), ran gunzip, then
un-tarred it in /usr/local. Then (logged in as root) from
/usr/local/Python-2.4.4 I ran the configure script which appeared to
run properly. At least there were no error messages that I
saw. Then I attempted to run "make install" and ended up with an
error "make *** Error 1". It was right at the "libinstall" section
of the make, so I did some googling and came up with the following command:
[root@gateway Python-2.4.4]# make libinstall inclinstall

After thrashing for about 5 minutes, I got basically the same message:
Compiling /usr/local/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1
Nothing else between these two lines ?
I dunno if this is relevant, but I have Python 2.2.2 in the
/usr/Python-2.2.2 directory. Do I have to blow this away in order to
install the newer distro?
I don't know your distrib, but it may depend on this specific python
version.
<wild-guess>
You may want to specify the --prefix before running configure, and use
make altinstall instead of make install.
</wild-guess>
Or do I need to install the new one in/usr
instead of /usr/local?
The old one is in /usr/local ? If so, it may not be part of your linux
distro.

FWIW, you should perhaps post the same question on your linux distro's
mailing list.
Although I'm a retired programmer (mainframes), I'm still learning
this linux stuff. I guess that makes me a noob...I hope you'll take
that into consideration.
We're all newbies one way or another !-)

Mar 1 '07 #2

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

Similar topics

3
by: nushin | last post by:
Try to launch a test program that prints hello world for a minute or so using, spawnv( ) or spawnl( ). Check to see the process state code that the program is running. I am using RedHat Linux 7.3...
145
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity...
0
by: Adelein and Jeremy | last post by:
I have just installed Python 2.3.3, after first installing Tcl/Tk 8.4.6. After successful installation of Tcl/Tk (including passing configure the '--enable-shared' option), and testing both Tcl...
9
by: vegetax | last post by:
I was a java developer one year ago ,before i moved to python i realy liked it at the beggining, but i got very disapointed lately since my previus two python proyects where relatively big,and...
44
by: Xah Lee | last post by:
here's a large exercise that uses what we built before. suppose you have tens of thousands of files in various directories. Some of these files are identical, but you don't know which ones are...
38
by: BORT | last post by:
Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming...
5
by: EP | last post by:
This inquiry may either turn out to be about the suitability of the SHA-1 (160 bit digest) for file identification, the sha function in Python ... or about some error in my script. Any insight...
3
by: Sebastian Bassi | last post by:
I was trying to install Python 2.5 compiling from sources. I used: ../compile It run OK. Then: make altintall After a lot of output, got this: Listing /usr/local/lib/python2.5/xml/sax ......
7
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution...
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
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.