2 Installation Instructions for Window Maker
8 (ie: I've heard someone has compiled it on...)
10 - Intel GNU/Linux Slackware 3.5 (primary platform)
11 - Intel GNU/Linux other distributions
12 - Sparc GNU/Linux RedHat 5.1
14 - Alpha GNU/Linux RedHat 5.1
19 - Solaris 2.5.1, 2.5.2
27 - AIX 4.1.4 / IBM PowerPC
28 - AIX 4.3.1 / IBM CC compiler
29 - AIX 4.3.2 / IBM PowerPC
31 - DEC Alpha/Digital UNIX 4.x
35 - PowerMac / Power MachTen 4.1.1 over MacOS
36 - Amiga 3000 running RedHat Linux 5.1 (Rawhide)
38 Patches to make it work on other platforms are welcome.
40 If the latest version doesn't work for you, try 0.19.3,
41 which is known to be pretty stable on many platforms.
47 The following software is required to use Window Maker:
50 Window Maker can be compiled in older versions of X, like X11R5
51 (Solaris) or X11R4 (OpenWindows) but it will not work 100% correctly.
52 In such servers there will not be application icons and you'll have
53 trouble using the dock. Upgrading the client libraries (Xlib, Xt etc)
54 will help if you can't upgrade the server.
56 The following is required to build Window Maker:
59 If you will build Window Maker, make sure you have gcc (or some
60 other ANSI C compiler) and the X header files installed. Specially
61 for newbie Linux users: you must install all X development packages
62 and the gcc suite. Otherwise you won't be able to build any X
63 program, including Window Maker.
66 This library can be found in ftp://ftp.windowmaker.org/pub/libs
67 or in ftp://ftp.gnome.org/pub/libPropList
68 Install it before building Window Maker.
70 - autoconf, automake and libtool
71 These tools are NOT needed, but IF you have one or
72 more of them installed, make sure you have ALL of the following
73 with exactly these versions:
77 If you have a different version, disable them by temporarily
78 renaming them to something else or uninstalling them from your
79 system. If you don't develop software you don't need them,
80 so you can safely uninstall.
82 - lex (or flex) and yacc (or bison)
83 These are used by libPropList. lex is actually not needed since
84 it's output file is included, but either me or automake is stupid,
85 causing the configure script for libPropList to simply abort for no
86 convincent reason if lex is not found.
92 These libraries are not required to make Window Maker work, but they
93 are supported in case you want to use them. Version numbers are those
94 that I have (and therefore, guraranteed to work), but other versions
99 Older versions may not work!!!
100 Available at ftp://sunsite.unc.edu/pub/Linux/libs/X/
102 There is builtin support for XPM files, but it will not
103 load images in some uncommon encodings.
105 - libpng 0.96 or newer and zlib
106 For PNG image support.
107 http://www.cdrom.com/pub/png/
109 - libtiff 3.4 or newer
110 For TIFF image support.
111 You can get it at ftp://ftp.sgi.com/graphics/tiff
113 - libjpeg 6.0.1 or newer
114 For JPEG image support
117 - libgif 2.2 or libungif
118 For GIF image support
119 ftp://prtr-13.ucsc.edu/pub/libungif/
122 If you want to use translated messages, you will need GNU gettext.
123 Other versions of gettext are not compatible and will not work.
124 Get the GNU version from ftp://ftp.gnu.org
131 These options can be passed to the configure script to enable/disable
132 some Window Maker features. Example:
134 ./configure --enable-kde --enable-gnome
136 will configure Window Maker with KDE and GNOME supported compiled in.
139 To get a list of other options, run ./configure --help
142 specify additional paths for libraries to be searched.
143 The -L flag must precede each path, like:
144 --with-libs-from="-L/opt/libs -L/usr/local/lib"
147 specify additional paths for header files to be searched.
148 The -I flag must precede each paths, like:
149 --with-incs-from="-I/opt/headers -I/usr/local/include"
152 enables the collapsing of all appicons of the WM_CLASS+WM_INSTANCE
153 into a single one. This feature is not supported at all by the
154 developers. If you have some trouble with it, contact it's author:
155 Christopher Seawood <cls@seawood.org>
158 disable use of the MIT shared memory extension. This will slow down
159 texture generation a little bit, but in some cases it seems to be
160 necessary due to a bug that manifests as messed icons and textures.
163 disable support for mwm window manager hints
166 enable support for OPEN LOOK(tm) window manager hints
169 enable support for GNOME window manager hints
172 enable support for kde/kwm window manager hints
175 remove things that are already supported in desktop environments,
176 like KDE and GNOME. Disabled things are: window list, root
177 applications menu, multiple window selection. Note that you will not
178 be able to exit Window Maker from itself anymore; you will have to
179 use kill with the SIGTERM signal or exit it from KDE. It is not
180 advisable to enable it.
183 XKB language status lock support. If you don't know what it is you
184 probably don't need it.
187 enable support of sound effects module
190 disables use of the XPM library even if it is available on your
194 disables use of PNG library
197 disable use of TIFF library
200 disable use of GIF library
203 disable use of JPEG library
206 disables shaped windows (for oclock, xeyes etc.)
209 PLATFORM SPECIFIC NOTES:
210 ========================
213 You might need to pass the --disable-shm flag to configure, like
214 ./configure --disable-shm
216 - SCO Unix - run configure like
217 CFLAGS="-belf -DANSICPP" ./configure
220 If you have gcc installed, run configure as:
221 CPP_PATH="gcc -E -x c" ./configure
222 Sun's cpp lacks some features needed by Window Maker and it can
223 cause problems when parsing the config files.
224 You also might need to use the --with-libs-from and --with-incs-from
225 to supply the directory where libtiff is located.
226 Someone mailed me that you also must make /usr/local/lib be the
227 first path in LD_LIBRARY_PATH to make it work.
229 If you have a Ultra Creator 3D or some other machine with high-end
230 graphics, be sure to start the X server with the default visual
231 set to 24bpp or you might experience problems with mangled colors.
232 This is a wmaker bug and will be fixed.
234 - GNU/Linux in general
235 Make sure you have /usr/local/lib in /etc/ld.so.conf and that you
236 run ldconfig after installing.
237 Uninstall any packaged version of Window Maker before installing a new
241 RedHat systems have several annoying problems. If you use it,
242 be sure to follow the steps below or Window Maker will not work:
244 * if you installed the Window Maker that comes with RedHat, uninstall
247 * make sure you don't have the LANG and LINGUAS environment variables
250 * make sure you have /usr/local/bin in your PATH environment
253 * make sure you have /usr/local/lib in /etc/ld.so.conf before running
256 * if you have problems that mention an error message with --no-reexec
257 uninstall libtool-1.2b and install libtool-1.3 instead. libtool-1.3
258 can be found in ftp.gnu.org Also read the TROUBLESHOOTING section;
260 * if you installed the Window Maker package from RedHat and are
261 installing a new version of it by hand (compiling yourself), uninstall
262 the package from RedHat before.
264 * make sure you have a symbolic link from /usr/include/X11 to
265 /usr/X11R6/include/X11 (if not, type ln -s /usr/X11R6/include/X11
268 * make sure you have /lib/cpp pointing to the cpp program
270 If you have any doubts in doing any of the stuff above, please
271 don't hesitate to contact the RedHat user support. They will
272 kindly answer to all your questions regarding their system.
273 They also know much more about their own system than us
274 (we don't use RedHat).
278 You will need to have the latest version of Xpmac. Older versions
279 seem to have bugs that cause the system to hang.
282 If you want JPEG and TIFF support, make sure you have libtiff-dev
283 and libjpeg-dev installed.
286 If you installed the Window Maker package from SuSE,
287 uninstall it before trying to compile wmaker or you
290 - MetroX (unknown version)
291 MetroX has a bug that corrupts pixmaps that are set as window
292 backgrounds. If you use MetroX and has weird problems with
293 textures, do not use textures in titlebars. Or use a different
299 Unpack WindowMaker-extra-<version-number>.tar.gz in /usr/local/share
301 You can get the file at ftp://ftp.windowmaker.org. This file is optional
302 and only have a few icons, and themes. Look for the latest <version-number>
304 Also there is a WindowMaker-extra.readme to instruct you where that package
310 For a quick start, type the following in your shell prompt:
315 then, login as root and type:
320 or if you want to strip the debugging symbols from the binaries and make them
321 smaller, you can instead type:
326 This will build and install Window Maker with default parameters.
328 If you want to customize some compile-time options, you can do the
331 1. (optional) Look at the CONFIGURE OPTIONS section above for the
332 options available. Also run:
336 to get a complete listing of other options that are available.
338 2. Run configure with the options you want. For example, if you
339 want to use the --enable-kde option, type:
341 ./configure --enable-kde
343 3. (optional) Edit src/wconfig.h with your favorite text editor
344 and browse through it for some options you might want to change.
346 4. Compile. Just type:
350 5. Login as root (if you can't do that, read the "I don't have the
351 root password :-(" section) and install Window Maker in your system:
356 User specific configuration
357 ---------------------------
359 These instructions do not need to be followed when upgrading Window Maker
360 from an older version, unless stated differently in the NEWS file.
362 Every user on your system that wishes to run Window Maker must do the
365 1. Install Window Maker configuration files in your home directory.
369 wmaker.inst will install Window Maker configuration files and will
370 setup X to automatically launch Window Maker at startup.
374 You can type "man wmaker" to get some general help for configuration
377 Read the User Guide for a more in-depth explanation of Window Maker.
379 You might want to take a look at the FAQ too.
382 I don't have the root password :(
383 ---------------------------------
385 If you can't get superuser privileges (can't be root) you can install
386 wmaker in your own home directory. For that, supply the --prefix option
387 when running configure in step 2 of building Window Maker. You will
388 also need to supply the --with-appspath option, to specify the path for
391 ./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps
394 Then make /home/jshmoe/bin be included in your search PATH, add
395 /home/jshmoe/lib to your LD_LIBRARY_PATH environment variable and run
398 Of course, /home/jshmoe is supposed to be replaced with your actual home
406 If you are upgrading from an older version of Window Maker:
408 1. Configure and build Window Maker as always
409 2. Install Window Maker (but do not run wmaker.inst)
410 3. Read the NEWS file and update your configuration files,
416 When you have some trouble during configuration (while running configure),
417 like not being able to use a graphic format library you think you have
418 installed, look at the config.log file for clues of the problem.
421 == Error with loading fonts, even if they exist.
423 Try rebuilding without NLS support.
425 == Error when configuring
427 ltconfig: unrecognized option `--no-reexec'
428 Try `ltconfig --help' for more information.
429 configure: error: libtool configure failed
431 remove the --no-reexec option from aclocal.m4 and libPropList/aclocal.m4
433 Also make sure the autoconf and automake versions you have installed are:
438 Note that it must not be libtool 1.2b, it must be libtool 1.3,
441 == Cant find proplist.h or libPropList.something
443 Download and install libPropList from the places pointed to
444 somewhere else in this file.
447 == configure doesn't detect libtiff, or other graphic libraries.
449 Delete config.cache, then rerun configure adding the following options to
450 configure (among the other options you use):
451 --with-libs-from="-L/usr/local/lib"
452 --with-incs-from="-I/usr/local/include -I/usr/local/include/tiff"
453 Put the paths where your graphic libs and their corresponding header files are
454 located. You can put multiple paths in any of these options, as the example
455 of --with-incs-from shows. Just put a space between them.
458 == configure doesn't detect libXpm.
460 * Check if you have a symbolic link from libXpm.so.4.9 to libXpm.so
463 == Segmentation fault on startup
465 * Check if the version of libXPM you have is at least 4.7
467 * Check if you have an updated version of ~/GNUstep/Defaults/WindowMaker
469 If you're not sure, try renaming ~/GNUstep to ~/GNUtmp and then run wmaker.inst
471 == "...: your machine is misconfigured. gethostname() returned (none)"
473 * the hostname of your machine is set to something invalid, that starts
474 with a parenthesis. Do a man hostname for info about how to set it.
477 == The root menu contains only 2 entries. ("XTerm" and "Exit...")
479 * Window Maker is not finding cpp (the C preprocessor). If your cpp is
480 not located in /lib/cpp, edit src/config.h and correct the path in
483 == checking lex output file root... configure: error: cannot find output from true; giving up
485 * Read the REQUIREMENTS section of this file.
488 LOCALES/INTERNATIONALIZATION
489 ============================
491 Window Maker has national language support. To enable national language
492 support, you must compile Window Maker with some additional parameters.
495 0 - You must have the GNU gettext package installed. It can be
496 obtained at ftp://prep.ai.mit.edu/pub/gnu/gettext-nnn.tar.gz
498 Steps 1 to 3 can be skipped if you use the Install script.
500 1 - You have to select the languages you want to support. Set the
501 LINGUAS to the list of locales you want. English is always
504 setenv LINGUAS "pt ja de"
509 export LINGUAS;LINGUAS="pt ja de"
512 The list of supported locales can be found in po/README.
513 English is the default language.
515 Read po/README if you wish to translate and maintain locale files
518 2 - Additionally, if your language uses multi-byte characters, such
519 as Japanese or Korean, you must set the MultiByteText option to YES
520 in ~/GNUstep/Defaults/WMGLOBAL and ~/GNUstep/Defaults/WindowMaker
522 3 - Configure, build and install Window Maker normally.
524 4 - To select a particular locale at runtime you must set the LANG
525 environment variable to the locale you want. For example, if you want to set
526 the portuguese locale, you must run
534 in Bourne sh and similars
536 Note: If you have the LC_CTYPE environment variable set, you must
537 unset it before running wmaker.
539 For menu definition files, Window Maker searches for them in the
540 following order (for brazilian portuguese, in this case):
547 5 - If you chose a language that uses multi-byte characters, you must
548 configure the fonts appropriately. Read the manual page for XCreateFontSet
549 to have more details about it. You must change the ~/G/D/WindowMaker file
550 for fonts used in titlebars, menus and other things. For fonts used in
551 dialog windows, change ~/G/D/WMGLOBAL. The %d in the font names must not be
552 removed. You can also use the supplied wsetfont script for the task.
553 Read the script itself for instructions.
555 For example, you can specify the following in ~/G/D/WindowMaker:
557 WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
558 MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
559 MenuTextFont = "-*-helvetica-medium-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
560 IconTitleFont = "-*-helvetica-medium-r-normal-*-8-*,-*-*-medium-r-normal-*-12-*";
561 ClipTitleFont = "-*-helvetica-bold-r-normal-*-10-*,-*-*-medium-r-normal-*-12-*";
562 DisplayFont = "-*-helvetica-medium-r-normal-*-12-*,-*-*-medium-r-normal-*-12-*";
564 and in ~/G/D/WMGLOBAL:
566 SystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
567 BoldSystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
569 The above 2 fonts are only used by applications that use WINGs (WindowMaker
572 The wsetfont script that's supplied will allow you to change the font
573 settings in a easier way. Take a look in the script for details on usage.