LinuxQuestions.org
Visit the LQ Articles and Editorials section
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: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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


All times are GMT -5. The time now is 08:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration