Versions Compared

Key

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

...

  1. Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python
  3. Ungzip and Untar the file Python-2.5.1.tgz
  4. Change directory to Python-2.5.1
  5. Set the environment variable EXTRA_CFLAGS to "-fno-common"
  6. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl3/gcc40 --enable-unicode=ucs2
  7. Edit the file Modules/posixmodule.c and change lines 342 and 360 to "#ifdef __APPLE__" (without quotes) and save/exit.
  8. Execute make
  9. Execute make install
  10. Leave and erase the current directory (Python-2.5.1)

...

  1. Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python
  3. Ungzip and Untar the file Python-2.5.1.tgz
  4. Change directory to Python-2.5.1
  5. Set the environment variable EXTRA_CFLAGS to "-fno-common"
  6. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40 --enable-unicode=ucs2
  7. Edit the file Modules/posixmodule.c and change lines 342 and 360 to "#ifdef _ _APPLE__" (without quotes) and save/exit.
  8. Execute make
  9. Execute make install
  10. Leave and erase the current directory (Python-2.5.1)

...

  1. Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.tar.gz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/ if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python
  3. Extract ipython-0.10.tar.gz
  4. Change directory to ipython-0.10
  5. Execute /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40/bin/python setup.py install
  6. Leave and erase ipython-0.10

redhat5-i686-64bit-gcc41

These instructions should be performed as the glastrm user 

  1. Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc41/python if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python
  3. Ungzip and Untar the file Python-2.5.1.tgz
  4. Change directory to Python-2.5.1
  5. Set the environment variable EXTRA_CFLAGS to "-fPIC"
  6. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python/2.5.1-gl4/gcc41
  7. Execute make
  8. Execute make install
  9. Leave and erase the current directory (Python-2.5.1)