...
In addition there is an outstanding issue with zlib on rhel4, where it seems the libraries fails to build. We'll have to see if that behavior continues in this next build. (zlib did fail again Oct 2, 2008)
...
Versions installed:
numpy 1.2.0
pyfits 1.3
4SuiteXML 1.0.2
Installing Python 2.5.1 (built against tcltk 8.4) for Linux
...
- tar -zxvf Python-2.5.1.tgz
- cd Python-2.5.1
...
- ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/python/2.5.1-gl1/gcc34/
...
.
...
2
...
...
- make
- make install
* Step 3 must be done before 4. Running, "./configure," generates the file Modules/Setup
While running "make", if you run into any problems finding tcl8.4 or tk8.4 libraries, try setting the environment variable, LD_RUN_PATH to point to the location of the tcltk libraries:
make clean
setenv LD_RUN_PATH <Location of tcltk libraries>
make
make install
unsetenv LD_RUN_PATH
Installing Python 2.5.1 (built against tcltk 8.4) for Windows
...
- msiexec /a <python-msi-path>/python-2.5.1.msi ALLUSERS=1 TARGETDIR=<installation director
...
We have confirmed with Jim Chiang that it is numpy (rather than numarray) we should be supporting.
Update
Emmaunel has installed python 2.5.1 at SLAC in the GLAST_EXT rh9_gcc32 area. Documentation is available at https://confluence.slac.stanford.edu/display/SAS/Documentation+for+Installing+External+Libraries
Testing has commenced:
numpy tested via
...
pyfits tested by grabbing a FT2 file from: root://glast-rdr.slac.stanford.edu//glast/Data/Flight/Level1/LPA/prod/1.65/ft2/gll_pt_r0243158679_v001.fit then:
import pyfits
hdulist = pyfits.open('blah.fit')
hdulist.info()
4Suite-Xml tested via:
>>> from Ft.Xml import Domlette
>>> from Ft.Xml.Xslt import Processor
>>> print Processor
<module 'Ft.Xml.Xslt.Processor' from '/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/python/2.5.1-gl1/gcc32/lib/python2.5/Ft/Xml/Xslt/Processor.pyc'>
...