2 Installation Instructions for Window Maker
4 The latest version of Window Maker (-crm) can be found in the
7 http://repo.or.cz/w/wmaker-crm.git
13 - Intel GNU/Linux Systems in general
15 Patches to make it work on other platforms are welcome.
21 The following software is required to use Window Maker:
24 Window Maker can be compiled in older versions of X, like X11R5
25 (Solaris) or X11R4 (OpenWindows) but it will not work 100% correctly.
26 In such servers there will not be application icons and you'll have
27 trouble using the dock. Upgrading the client libraries (Xlib, Xt etc)
28 will help if you can't upgrade the server.
30 The following is required to build Window Maker:
33 gcc (or some other ANSI C compiler)
34 glibc development files (usually glibc-devel in Linux distributions)
35 X development files (XFree86-devel or something similar)
37 - autoconf, automake and libtool
43 and its dependencies (such as freetype2 and fontconfig)
44 You will also need the development files for it (xft2-devel)
50 These libraries are not required to make Window Maker work, but they
51 are supported in case you want to use them. Version numbers are those
52 that I have (and therefore, guraranteed to work), but other versions
57 Older versions may not work!!!
58 Available at ftp://sunsite.unc.edu/pub/Linux/libs/X/
60 There is builtin support for XPM files, but it will not
61 load images in some uncommon encodings.
63 - libpng 0.96 or newer and zlib
64 For PNG image support.
65 http://www.cdrom.com/pub/png/
67 - libtiff 3.4 or newer
68 For TIFF image support.
69 You can get it at ftp://ftp.sgi.com/graphics/tiff
71 - libjpeg 6.0.1 or newer
72 For JPEG image support
75 - libgif 2.2 or libungif
77 ftp://prtr-13.ucsc.edu/pub/libungif/
80 If you want to use translated messages, you will need GNU gettext.
81 Other versions of gettext are not compatible and will not work.
82 Get the GNU version from ftp://ftp.gnu.org
89 If you downloaded the cvs or git versions, type
93 to generate the config files.
95 These options can be passed to the configure script to enable/disable
96 some Window Maker features. Example:
98 ./configure --enable-modelock --disable-gif
100 will configure Window Maker with modelock supported and disable gif support.
101 Normally, you won't need any of them.
103 To get a list of other options, run ./configure --help
106 specify additional paths for libraries to be searched.
107 The -L flag must precede each path, like:
108 --with-libs-from="-L/opt/libs -L/usr/local/lib"
111 specify additional paths for header files to be searched.
112 The -I flag must precede each paths, like:
113 --with-incs-from="-I/opt/headers -I/usr/local/include"
116 disable use of the MIT shared memory extension. This will slow down
117 texture generation a little bit, but in some cases it seems to be
118 necessary due to a bug that manifests as messed icons and textures.
121 disable support for mwm window manager hints
124 XKB language status lock support. If you don't know what it is you
125 probably don't need it.
128 disables use of the XPM library even if it is available on your
132 disables use of PNG library
135 disable use of TIFF library
138 disable use of GIF library
141 disable use of JPEG library
144 disables shaped windows (for oclock, xeyes etc.)
147 PLATFORM SPECIFIC NOTES:
148 ========================
150 - GNU/Linux in general
151 Make sure you have /usr/local/lib in /etc/ld.so.conf and that you
152 run ldconfig after installing.
153 Uninstall any packaged version of Window Maker before installing a new
157 RedHat systems have several annoying problems. If you use it,
158 be sure to follow the steps below or Window Maker will not work:
160 * if you installed the Window Maker that comes with RedHat, uninstall
163 * make sure you don't have the LANG and LINGUAS environment variables
166 * make sure you have /usr/local/bin in your PATH environment
169 * make sure you have /usr/local/lib in /etc/ld.so.conf before running
173 You will need to have the latest version of Xpmac. Older versions
174 seem to have bugs that cause the system to hang.
177 If you want JPEG and TIFF support, make sure you have libtiff-dev
178 and libjpeg-dev installed.
181 If you installed the Window Maker package from SuSE,
182 uninstall it before trying to compile wmaker or you
185 - MetroX (unknown version)
186 MetroX has a bug that corrupts pixmaps that are set as window
187 backgrounds. If you use MetroX and has weird problems with
188 textures, do not use textures in titlebars. Or use a different
196 For a quick start, type the following in your shell prompt:
201 then, login as root and type:
206 or if you want to strip the debugging symbols from the binaries and make them
207 smaller, you can instead type:
212 This will build and install Window Maker with default parameters.
214 If you want to customize some compile-time options, you can do the
217 1. (optional) Look at the CONFIGURE OPTIONS section above for the
218 options available. Also run:
222 to get a complete listing of other options that are available.
224 2. Run configure with the options you want. For example, if you
225 want to use the --enable-modelock option, type:
227 ./configure --enable-modelock
229 3. (optional) Edit src/wconfig.h with your favorite text editor
230 and browse through it for some options you might want to change.
232 4. Compile. Just type:
236 5. Login as root (if you can't do that, read the "I don't have the
237 root password :-(" section) and install Window Maker in your system:
242 User specific configuration
243 ---------------------------
245 These instructions do not need to be followed when upgrading Window Maker
246 from an older version, unless stated differently in the NEWS file.
248 Every user on your system that wishes to run Window Maker must do the
251 1. Install Window Maker configuration files in your home directory.
255 wmaker.inst will install Window Maker configuration files and will
256 setup X to automatically launch Window Maker at startup.
260 You can type "man wmaker" to get some general help for configuration
263 Read the User Guide for a more in-depth explanation of Window Maker.
265 You might want to take a look at the FAQ too.
269 Installing the extras package
270 -----------------------------
272 Unpack WindowMaker-extra-<version-number>.tar.gz in /usr/local/share
274 You can get the file at http://windowmaker.org/pub/source/release/. This file
275 is optional and only have a few icons, and themes. Look for the latest
276 <version-number> available. Also there is a WindowMaker-extra.readme to
277 instruct you where that package should go.
281 I don't have the root password :(
282 ---------------------------------
284 If you can't get superuser privileges (can't be root) you can install
285 wmaker in your own home directory. For that, supply the --prefix option
286 when running configure in step 2 of building Window Maker. You will
287 also need to supply the --with-gnustepdir option, to specify the path for
290 ./configure --prefix=/home/jshmoe --with-gnustepdir=/home/jshmoe/GNUstep/Applications
293 Then make /home/jshmoe/bin be included in your search PATH, add
294 /home/jshmoe/lib to your LD_LIBRARY_PATH environment variable and run
297 Of course, /home/jshmoe is supposed to be replaced with your actual home
305 If you are upgrading from an older version of Window Maker:
307 1. Configure and build Window Maker as always
308 2. Install Window Maker (but do not run wmaker.inst)
309 3. Read the NEWS file and update your configuration files if necessary.
315 When you have some trouble during configuration (while running configure),
316 like not being able to use a graphic format library you think you have
317 installed, look at the config.log file for clues of the problem.
320 == Error with loading fonts, even if they exist.
322 Try rebuilding without NLS support.
324 == Error when configuring
326 ltconfig: unrecognized option `--no-reexec'
327 Try `ltconfig --help' for more information.
328 configure: error: libtool configure failed
330 remove the --no-reexec option from aclocal.m4 and reconfigure
331 Also make sure the autoconf and automake versions you have installed are:
336 Note that it must not be libtool 1.2b, it must be libtool 1.3,
339 == configure doesn't detect libtiff, or other graphic libraries.
341 Delete config.cache, then rerun configure adding the following options to
342 configure (among the other options you use):
343 --with-libs-from="-L/usr/local/lib"
344 --with-incs-from="-I/usr/local/include -I/usr/local/include/tiff"
345 Put the paths where your graphic libs and their corresponding header files are
346 located. You can put multiple paths in any of these options, as the example
347 of --with-incs-from shows. Just put a space between them.
350 == configure doesn't detect libXpm.
352 * Check if you have a symbolic link from libXpm.so.4.9 to libXpm.so
355 == Segmentation fault on startup
357 * Check if the version of libXPM you have is at least 4.7
359 * Check if you have an updated version of ~/GNUstep/Defaults/WindowMaker
361 If you're not sure, try renaming ~/GNUstep to ~/GNUtmp and then run wmaker.inst
363 == "...: your machine is misconfigured. gethostname() returned (none)"
365 * the hostname of your machine is set to something invalid, that starts
366 with a parenthesis. Do a man hostname for info about how to set it.
369 == The root menu contains only 2 entries. ("XTerm" and "Exit...")
371 * Window Maker is not finding cpp (the C preprocessor). If your cpp is
372 not located in /lib/cpp, edit config.h and correct the path in
375 == checking lex output file root... configure: error: cannot find output from true; giving up
377 * Read the REQUIREMENTS section of this file.
380 LOCALES/INTERNATIONALIZATION
381 ============================
383 Window Maker has national language support. To enable national language
384 support, you must compile Window Maker with some additional parameters.
387 0 - You must have the GNU gettext package installed. It can be
388 obtained at ftp://prep.ai.mit.edu/pub/gnu/gettext-nnn.tar.gz
390 Steps 1 to 3 can be skipped if you use the Install script.
392 1 - You have to select the languages you want to support. Set the
393 LINGUAS to the list of locales you want. English is always
396 setenv LINGUAS "pt ja de"
401 export LINGUAS;LINGUAS="pt ja de"
404 The list of supported locales can be found in po/README.
405 English is the default language.
407 Read po/README if you wish to translate and maintain locale files
410 2 - Additionally, if your language uses multi-byte characters, such
411 as Japanese or Korean, you must set the MultiByteText option to YES
412 in ~/GNUstep/Defaults/WMGLOBAL
414 3 - Configure, build and install Window Maker normally.
416 4 - To select a particular locale at runtime you must set the LANG
417 environment variable to the locale you want. For example, if you want to set
418 the portuguese locale, you must run
426 in Bourne sh and similars
428 Note: If you have the LC_CTYPE environment variable set, you must
429 unset it before running wmaker.
431 For menu definition files, Window Maker searches for them in the
432 following order (for brazilian portuguese, in this case):