LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-23-2011, 02:00 PM   #1
wills
LQ Newbie
 
Registered: Jun 2008
Posts: 28

Rep: Reputation: 0
CentOS 5.5 x86_64 Python 2.7


I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success. Have you been able to do this?

Any clues, suggestions or thoughts on how this is supposed to be done? There aren't too many resources describing the issue.
 
Old 02-23-2011, 02:36 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Building a standard rpm package is not a good idea.

If you installed it : All your administrative tools, yum included,
will stop working. They all depend on the system python. (Version 2.4.3).

However, you can install an extra python in /home/<user-name>/ :
Like : ./configure --prefix=/home/<user-name>/

..
 
Old 02-23-2011, 03:31 PM   #3
wills
LQ Newbie
 
Registered: Jun 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks for the input. I thought it was reverse compatible? Shows how much I don't know.
 
Old 02-24-2011, 03:41 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I thought it was reverse compatible ?
May be it is.

But it is not a thing, that is tested : A lot of things will / can
go wrong, when the system python is changed.
None of the administrative tools can be updated when python-2.4.3 is missing.
The rpm date base used by yum will be confused by a wrong version added by force.
( # 'yum localinstall python-2.7<etc.>rpm' would never work.)

A thing to try : # 'rpm -e python' will show the connected packages.

..
 
  


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
.htaccess not working in CentOS 5.5 x86_64 loganbest Linux - Server 9 09-29-2010 12:33 PM
LXer: Xen 3.2 on CentOS 5.2 x86_64 / RHEL 5.2 x86_64 LXer Syndicated Linux News 0 07-12-2008 05:51 PM
Install Python 2.4 on RHEL4 x86_64 - cannot find cc1plus? harryinaustin Linux - Newbie 1 03-08-2008 01:03 AM
k3b doesn't run on Centos 5 x86_64 dralexpe Linux - Software 7 08-05-2007 11:37 AM
CentOS 4 (x86_64 or i386) Mithrilhall Linux - Newbie 2 07-14-2006 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:11 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
Open Source Consulting | Domain Registration