Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Python 2.3 on RedHat 9

Reply
Thread Tools

Re: Python 2.3 on RedHat 9

 
 
Bill Scherer
Guest
Posts: n/a
 
      04-15-2004


Stephen Ng wrote:

> Hi!
>
> Has anyone installed Python 2.3 on RedHat 9?


Yes.

> Did you install on top of Python 2.2 or did you install in a separate
> directory (eg the default)?


2.3 prefix is /usr/local, RedHat's installed python prefix is /usr

> I'm trying to find out in advance if it's hassle free to install as I
> am planning to do it.


It's no hassle having them side by side, for me anyway.

>
>
> Thanks.
>
> Stephen Ng



HTH,

Bill


 
Reply With Quote
 
 
 
 
simo
Guest
Posts: n/a
 
      04-16-2004
Bill Scherer <> wrote:

> > Did you install on top of Python 2.2 or did you install in a separate
> > directory (eg the default)?


> 2.3 prefix is /usr/local, RedHat's installed python prefix is /usr


Yes, and that seems to be the root of all evil for me - everything I
install wants to go into the /usr/<lib or bin>/python2.2 directories
instead of /usr/local/<lib or bin>/python2.3!

Forget the RPMs, compile everything from source is my advice (I
installed 2.3.3, VPython, Installer, wxPython, PyQt, SIPs,
wxGlade....)

What annoyed me was when I was evaluating LindowsOS and "apt-get
install libwxgtk24" installed everything for me (including Python
2.3.3!) in about 3 minutes as apposed to about 8 hours of compilation
time and hunting around for source tarballs! It was even easier that
Windows I think!
 
Reply With Quote
 
 
 
 
Bill Scherer
Guest
Posts: n/a
 
      04-16-2004
simo wrote:

>Bill Scherer <> wrote:
>
>
>
>>>Did you install on top of Python 2.2 or did you install in a separate
>>>directory (eg the default)?
>>>
>>>

>
>
>
>>2.3 prefix is /usr/local, RedHat's installed python prefix is /usr
>>
>>

>
>Yes, and that seems to be the root of all evil for me - everything I
>install wants to go into the /usr/<lib or bin>/python2.2 directories
>instead of /usr/local/<lib or bin>/python2.3!
>
>Forget the RPMs,
>

Many RPM's are relocatable; from the rpm man page:

--prefix NEWPATH
For relocateable binary packages, translate all file paths that
start with the installation prefix in the package relocation
hint(s) to NEWPATH.

--relocate OLDPATH=NEWPATH
For relocatable binary packages, translate all file paths that
start with OLDPATH in the package relocation hint(s) to NEWPATH.
This option can be used repeatedly if several OLDPATH’s in the
package are to be relocated.


>compile everything from source is my advice (I
>installed 2.3.3, VPython, Installer, wxPython, PyQt, SIPs,
>wxGlade....)
>
>What annoyed me was when I was evaluating LindowsOS and "apt-get
>install libwxgtk24" installed everything for me (including Python
>2.3.3!) in about 3 minutes as apposed to about 8 hours of compilation
>time and hunting around for source tarballs! It was even easier that
>Windows I think!
>

I too compille most of the Python add-ons I use.
It's never taken 8 hours....it must be the 3Ghz cpu...





 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone try this on RedHat Linux/jre1.5 or redhat linux/jdk1.6? U. George Java 4 08-11-2005 12:33 PM
Python 2.3 on RedHat 9 Stephen Ng Python 1 05-06-2004 05:18 PM
Re: Python 2.3.2 RPM's for Redhat 8.0 or Python source RPM andupgrade procedure? Cliff Wells Python 1 10-13-2003 01:03 PM
Python 2.3.2 RPM's for Redhat 8.0 or Python source RPM and upgrade procedure? Scott Chapman Python 0 10-03-2003 05:43 PM
Something strange with python 2.2.1 under RedHat 8.0 Richard Kuhns Python 1 06-26-2003 05:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57