Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing Python 2.5.1 (built against tcltk 8.4) for Linux

  1. Download Python 2.5.1 from http://www.python.org/download/releases/2.5.1/

...

  1. Unzip and change to the directory of the unpacked archive

...

  1. , E.g.,

...

  1. *Run, "./configure --prefix=<installation directory>"
  2. Edit the file, "Setup," in the "Modules" directory, "Modules/Setup"
    • Uncomment the line corresponding to "zlib"
    • Find the section on tcltk and uncomment
  3. Run, make
  4. Run, make installtar -zxvf  Python-2.5.1.tgz

...

  1. cd Python-2.5.

...

  1. 1Run configure

 run

    ./configure --prefix=<INSTALLATION DIRECTORY>

 where <INSTALLATION DIRECTORY> is the location where you want to install the bin/ and include/ directories.  Example,

    ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/python/2.5.1-gl1/gcc34/ 

Running ./configure then creates a file named, "Setup" in the Modules directory, Modules/Setup 

Step 3 must be done before 4.   Running, "./configure," generates the file Modules/Setup 

We have confirmed with Jim Chiang that it is numpy (rather than numarray) we should be supporting.

...