UserPreferences

PyroInstallRedHat9


1. Pyro Install Red Hat 9

Jim Marshall made these notes for getting Pyro to work on a normal Red Hat install.


SWIG installation
cd SWIG-1.3.21
./configure
make

# installs into /usr/local
make install

# make /usr/bin/swig point to new version
cd /usr/bin
mv swig swig1.1
ln -s /usr/local/bin/swig swig

# cleanup (optional)
make clean

Numeric installation
cd Numeric-23.1
python setup.py install

# cleanup (optional)
sh makeclean.sh

PIL installation
cd Imaging-1.1.4
cd libImaging
./configure
make
cd ..
cp Setup.in Setup
make -f Makefile.pre.in boot
make
cp PIL.pth /usr/lib/python2.2/site-packages
mkdir /usr/lib/python2.2/site-packages/PIL
cp *.so PIL/* /usr/lib/python2.2/site-packages/PIL

Tkinter installation

(Insert Red Hat 9 disc 3 in CDROM drive)

cd /mnt/cdrom/RedHat/RPMS
rpm -ihv itcl-3.2-88.i386.rpm
rpm -ihv tix-8.1.4-88.i386.rpm
rpm -ihv tkinter-2.2.2-26.i386.rpm


Pyro installation
cd /usr/local
tar xfz pyro-2.2.3.tgz
cd pyro
make

Configuration questions (system-specific):

  1. [empty]

  2. /usr/bin/python

  3. /usr/include/python2.2

  4. [none]

  5. /usr/X11R6

  6. through 9: y, y, y, y

cd /usr/local/bin
ln -s /usr/local/pyrobot/bin/pyro pyro

Add to .bashrc:

  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/pyrobot/lib
  export PYTHONPATH=/usr/local:$PYTHONPATH
  export PYTHONSTARTUP=$HOME/.python
  export PYRO=/usr/local/pyro

Player/Stage installation
cd gsl-1.3
./configure
make
make install

cd player-src-1.3.2
./configure
make install

cd librtk-src-2.2.0
./configure
make install

cd player-src-1.3.2
./configure
make install

cd stage-src-1.3.2
./configure
make install

instead of using LD_LIBRARY_PATH, you could put all of those paths in /etc/ld.so.conf file, like:

emacs /etc/ld.so.conf # $$$add /usr/local/lib$$$
ldconfig