LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2009, 12:01 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
python 2.4 on RHEL 4 Update 2?


Can Anyone help in Installing python 2.4 on RHEL 4 update 2?
 
Old 06-14-2009, 12:05 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
2.4? Well, if you insist.

What have you tried so far?
 
Old 06-15-2009, 12:16 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I am not getting right RPM for the same.
Googled it but no Help.
 
Old 06-15-2009, 12:49 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
install from source ,or call your red hat tech rep.
 
Old 06-15-2009, 12:59 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I tried downloading python 2.4 from http://fixunix.com/redhat/351362-python-2-4-rhel4.html as .src.rpm. It first ran:
Code:
rpm -ivh <>.src.rpm
cd /usr/src/redhat/SPEC
rpmbuild -bb <>.spec
was a long listing of compilation but it exited as:
Code:
error: Bad exit status from /var/tmp/rpm-tmp.3610 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.3610 (%install)

Last edited by your_shadow03; 06-15-2009 at 01:03 AM.
 
Old 06-15-2009, 01:11 AM   #6
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
The Complete Error is:
Code:
lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/time.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/parser.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/_locale.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/_codecs_cn.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/_codecs_jp.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/_hotshot.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/mmap.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/collections.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/math.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/itertools.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/datetime.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/struct.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/binascii.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/cPickle.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/operator.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/md5.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/unicodedata.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/grp.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/readline.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/_curses.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/audioop.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/array.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/linuxaudiodev.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/timing.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/pyexpat.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/cmath.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
copying build/lib.linux-x86_64-2.4/gdbm.so -> /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/fcntl.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_tw.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/sha.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_testcapi.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/crypt.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/cStringIO.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/regex.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_curses_panel.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_hk.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/select.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/termios.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_bsddb.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/strop.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_iso2022.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_socket.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/zlib.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_ssl.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/dbm.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/resource.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_bisect.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_weakref.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_random.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/pwd.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/syslog.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_multibytecodec.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/ossaudiodev.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_csv.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/bz2.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_kr.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/nis.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_heapq.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/time.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/parser.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_locale.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_cn.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_codecs_jp.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_hotshot.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/mmap.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/collections.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/math.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/itertools.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/datetime.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/struct.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/binascii.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/cPickle.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/operator.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/md5.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/unicodedata.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/grp.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/readline.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/_curses.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/audioop.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/array.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/linuxaudiodev.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/timing.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/pyexpat.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/cmath.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/gdbm.so to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/lib/python2.4/lib-dynload/ to 755
running install_scripts
copying build/scripts-2.4/idle -> /var/tmp/python2.4-2.4-root/usr/bin
copying build/scripts-2.4/smtpd.py -> /var/tmp/python2.4-2.4-root/usr/bin
copying build/scripts-2.4/pydoc -> /var/tmp/python2.4-2.4-root/usr/bin
changing mode of /var/tmp/python2.4-2.4-root/usr/bin/idle to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/bin/smtpd.py to 755
changing mode of /var/tmp/python2.4-2.4-root/usr/bin/pydoc to 755
if test -f /var/tmp/python2.4-2.4-root/usr/bin/python -o -h /var/tmp/python2.4-2.4-root/usr/bin/python; \
then rm -f /var/tmp/python2.4-2.4-root/usr/bin/python; \
else true; \
fi
(cd /var/tmp/python2.4-2.4-root/usr/bin; ln python2.4 python)
Creating directory /var/tmp/python2.4-2.4-root/usr/man
Creating directory /var/tmp/python2.4-2.4-root/usr/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
        /var/tmp/python2.4-2.4-root/usr/man/man1/python.1
+ '[' '!' -z 2.4 ']'
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ mv pydoc pydoc.old
+ sed 's|#!.*|#!/usr/bin/env python2.4|' pydoc.old
+ chmod 755 pydoc
+ rm -f pydoc.old
+ '[' '!' -z 2.4 ']'
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ rm -f python2.4
+ mv -f python python2.4
+ cd /var/tmp/python2.4-2.4-root/usr/man/man1
+ mv python.1 python2.4.1
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ mv -f pydoc pydoc2.4
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ mv -f idle idle2.4
+ echo '#!/bin/bash'
+ echo 'exec /usr/bin/python2.4 /usr/lib64/python2.4/idlelib/idle.py'
+ chmod 755 /var/tmp/python2.4-2.4-root/usr/bin/idle2.4
+ cp -a Tools /var/tmp/python2.4-2.4-root/usr/lib64/python2.4
+ rm -f mainpkg.files
+ find /var/tmp/python2.4-2.4-root/usr/lib64/python2.4/lib-dynload -type f
+ sed 's|^/var/tmp/python2.4-2.4-root|/|'
+ grep -v -e '_tkinter.so$'
error: Bad exit status from /var/tmp/rpm-tmp.51025 (%install)


RPM build errors:
    user jafo does not exist - using root
    group jafo does not exist - using root
    user jafo does not exist - using root
    group jafo does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.51025 (%install)
[root@server tmp]#
 
Old 06-15-2009, 01:03 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
have you tried the python 2.4.6 tar.bz2
http://www.python.org/ftp/python/2.4...-2.4.6.tar.bz2
or
http://www.python.org/ftp/python/
or the OLD one( from 2004 )
http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2
 
Old 06-16-2009, 12:29 AM   #8
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Yes I did it...
I downloaded python 2.6 .src file from python.org and follow up with .configure;make;make install.

It went well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Python 2.5 on RHEL 5 with Pyton 2.4 jazee Linux - Software 3 10-28-2010 07:11 PM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 04:44 AM
Upgrading RHEL 4 update 4 to RHEL 4 update 6?? your_shadow03 Linux - Newbie 4 09-05-2008 02:16 AM
python: can you update the current shell from python? BrianK Programming 4 01-31-2008 01:18 AM
updating RHEL AS4 update 1 to update 5 via CDs? icemaker Linux - Software 1 06-09-2007 07:29 PM


All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration