Tech Blog
Friday 2nd May 2003
Straw RSS Reader Install:
I managed to install Straw
yesterday, but had to go through a lot to get it working. Its installation
requires a recent version of Python and quite a few additional libraries
which RedHat (9.0) doesn't have by default. After installing those, you
find out that RH's 'pygtk2' package comes with thread support disabled and
that causes Straw to freeze with the runtime error pygtk threading
disabled at compile time right after startup.
To fix this, you have to recompile the package with the '--enable-thread' flag. Easiest way to do this (on RedHat at least) is to install the source RPM and edit the spec file (/usr/src/redhat/SPECS/pygtk.spec), then recompile.
I just changed the line %configure to %configure
--enable-thread and incremented the release number
Release: 5. Then ran
rpmbuild -ba /usr/src/redhat/SPECS/pygtk.spec which built a
new package /usr/src/redhat/RPMS/i386/pygtk2-1.99.14-5.i386.rpm.
Then just upgrading to this new package fixed the problem.
Another note. It is a bit unclear what the STRAW_LIB environment variable
should be set to. Since I installed Straw under /usr/local/straw,
I set it to /usr/local/straw/lib/python2.2/site-packages.

