Sawfish
Register
Advertisement

In case anyone wants to run sawfish on slackware-14.1 64-bit,

Here is what I did which is working nicely

. download the following current source packages -

note this includes librep

and note the version numbers may be higher when you look - take whatever is current

http://download.tuxfamily.org/librep/librep_0.92.4.tar.xz

http://download.tuxfamily.org/librep/rep-gtk/rep-gtk_0.90.8.2.tar.xz

http://download.tuxfamily.org/sawfish/sawfish-1.11.tar.xz

. in general , build these sources in the above order , as per instructions here

http://sawfish.wikia.com/wiki/Compilation_from_source

plus the INSTALL file in each untarred package directory

I chose --prefix=/usr/local and recommend that as it keeps your own built packages separate from the package manager's, but note you will then need to add this path (first one below) to your PKG_CONFIG_PATH

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib64/qt/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib/qt/lib/pkgconfig";

also ensure /usr/local/bin is in your PATH

I found I did not need to add any other prereqs - they were all present in my slackware-14.1

However - when configuring librep, add this obscure config option :

./configure --prefix=/usr/local --with-stack-direction=-1

And , after completing build of librep, so that you now have the rep executable

/usr/local/bin/rep , but *before* proceeding to build rep-gtk,

and assuming you did take the earlier advice and configure rep with --prefix=/usr/local,

then create these symlinks since apparently rep has some hardcoded assumptions about the location of its interpreter.jl and data/tables.so

ln -s ../local/share/rep /usr/share/rep

ln -s ../../local/lib/rep/rep /usr/lib64/rep/rep

Now proceed to build rep-gtk and sawfish and you should eventually have a working sawfish in

/usr/local/bin/sawfish

Advertisement