Here you go: tar xzvf WindowMaker-0.92.0
patch WindowMaker-0.92.0/wrlib/x86_specific.c < windowmaker-gcc4.patch.txt
./configure --x-includes=/usr/include/X11/ --x-libraries=/usr/lib/ > configure.log 2>&1
make > make.log 2>&1
make install > make_install.log 2>&1
Notes: Add /usr/local/lib entry in /etc/ld.so.conf and then run ldconfig as 'root' before starting WindowMaker using startx.
Apply the patch as shown in the following page:
Code:
http://translate.google.ca/translate?hl=en&sl=pt&u=http://www.vivaolinux.com.br/dicas/verDica.php%3Fcodigo%3D10364&sa=X&oi=translate&resnum=5&ct=result&prev=/search%3Fq%3D%2522can%2527t%2Bfind%2Ba%2Bregister%2Bin%2Bclass%2B%2527GENERAL_REGS%2527%2Bwhile%2522%2Bwindowmaker%26hl%3Den%26sa%3DG
After building and installing Window Maker with standard configure options, you may get the following message when trying to run WPrefs:
Code:
WPrefs warning: could not locate image file windowfocus
WPrefs warning: could not locate image file whandling
WPrefs warning: could not locate image file menuprefs
WPrefs warning: could not locate image file iconprefs
WPrefs warning: could not locate image file ergonomic
WPrefs warning: could not locate image file paths
WPrefs warning: could not locate image file workspace
WPrefs warning: could not locate image file configs
WPrefs warning: could not locate image file menus
WPrefs warning: could not locate image file keyshortcuts
WPrefs warning: could not locate image file mousesettings
WPrefs warning: could not locate image file appearance
WPrefs warning: could not locate image file fonts
WPrefs warning: could not locate image file expert
The missing WPrefs icons (tiff files) can be restored by simply creating the /usr/local/GNUstep/Applications directory followed by:
sudo ln -s /usr/local/share/WPrefs/ /usr/local/GNUstep/Applications/WPrefs.app
Hope others find this useful!