I just want to annotate here how is that I finally got sawfish 1.5.2 working for
me on a RH5.3 installation. Enough convoluted as to not try this again in the
future.
Rodrigo
Updating to this sawfish version was more convoluted than
expected due to the need to update dependencies that do not work
well with the RH environment as a whole. Updating the dependencies into a
prefix path that I would share to run the gnome desktop made
things not to work properly (desktop freeze). I decided to try
then to istall dependencies and sawfish itself in a separated
prefix and point my environment to that path only for running
sawfish. That proved to work and I have been working like this
for a couple of months already.
The convolution for making this work comes now. Sawfish must
start with the desktop and I could not figure out a way for
encapsulating the sawfish execution such that I could set PATH
and LD_LIBRARY_PATH to my ad-hoc path before launching
sawfish. What I did then was to modify sawfish itself like this
(in src/main.c):
char *_path;
char _newpath[1024];
_path = getenv("PATH");
sprintf(_newpath, "PATH=/usr/local.sawfish/bin:%s", _path);
putenv(_newpath);
putenv("LD_LIBRARY_PATH=/usr/local.sawfish/lib");
This dismaying and convoluted change made the whole thing to fly
for me on RH5.3.
After all this time I do not remember the excat way I installed
the dependencies into the ad-hoc prefix path, however I can tell
that the list of libraries I have there at this moment is this one:
glib-2.13.5
libffi-3.0.8
pango-1.17.3
librep-0.90.2
glib-2.22.0
gtk+-2.12.12
rep-gtk-0.90.0
sawfish-1.5.2
taglib-1.5
xine-lib-1.1.16.2
ritz wrote:
Hi
On Tue, 2009-09-29 at 13:44 -0400, Rodrigo Amestica wrote:
Hi Christopher,
I gave the installation an other try. Taking into account gtk+'s configuration
output I installed the following modules manually:
pango-1.17.3
glib-2.13.5
but then gtk+'s compilation failed with an error on a missing definition for
GHashTableIter. Well, went back and pulled the latest glib (2.22.0) and
installed that. Now gtk+ compiles successfully and so it does rep-gtk and
sawfish! But I have not yet tried to run anything, therefore, I still do not
know whether all this convolution works or not.
thanks,
Rodrigo
Christopher Roy Bratusek wrote:
Am Dienstag, den 29.09.2009, 12:32 -0400 schrieb Rodrigo Amestica:
Hi,
I'm trying to install
librep 0.90.2
rep-gtk 0.90.0
sawfish 1.5.2
but I'm working on a red hat 5.3 distribution. librep goes okay, but rep-gtk
will fail because I do not have gtk+. If I try to install gtk+-2.12.12 I get so
mane dependency failures that make me think is not doable in this distribution.
Would sawfish still work without rep-gtk? What would I be missing without it?
no, try the below
$ yum install gtk2-devel
thanks,
Rodrigo
.. Use sawfish 1.5.1, it uses rep-gtk 0.18x (0.18.6r2 is the latest and
last), 1.5.2 only has one minor change in the Crux theme, doc updates
and compatibility with rep-gtk 0.90.0, so you won't miss much when using
1.5.1 instead 1.5.2, though 1.5.2+/1.6.0+ will require rep-gtk 0.90.0
and therefore gtk+2.12.
But you may try installing gtk+2.12 (and co) from RedHats SRPMS, that
should work.
Without rep-gtk you miss: all menus and SawfishUI (SawfishConfig in
1.6.0), so this is kind of no-go.
Chris