1 wxWindows 2.0 for Motif installation
2 ------------------------------------
4 - Prerequisites: Motif 1.2 or above, or
5 Lesstif (not yet tested).
7 - Download the files wx200gen.zip and wx200mot.zip, and
8 documentation in a preferred format, such as wx200htm.zip
11 - Make a directory such as ~/wx and unzip the files into this
12 directory. Use the -a option if available to convert the ASCII
13 files to Unix format. Don't worry about files being
14 overwritten: they should be identical anyway.
16 - Edit src/make.env to change options according to your local
17 environment. In particular, change WXDIR to where wxWindows is
19 Later, there will be a better makefile system
20 and/or alternate make.env files as per wxWindows 1.68.
21 Please feel free to contribute settings files for your environment.
23 - Change directory to src/motif and type:
25 make -f makefile.unx motif
27 This should make the library libwx_motif.a in the lib
30 - Make a sample, such as the minimal sample:
33 make -f makefile.unx motif
35 and run the resulting minimal_motif binary.
40 - Better installation and makefile systems are
41 required. I didn't use the wxGTK system because I couldn't
42 understand it or make it work with wxMotif. Also I think
43 we should use something that can be made to work easily
44 with applications outside the wxWindows hierarchy.
46 - Debugging mode is switched on by default. To compile in non-debug
47 mode, remove the -D__WXDEBUG__ switch in make.env.
49 - Some classes can be switched off in include/wx/motif/setup.h,
50 if you are having trouble with a particular file. However,
51 I'd prefer you to fix the problem and send the fix to me :-) or at
52 least let me know about it.
54 - If you run into problems with a missing X11/Xpm.h header, you
55 need to install the XPM package. It can be obtained from:
57 ftp://ftp.x.org/contrib/libraries/xpm-3.4k.tar.gz
59 Alternatively, edit include/motif/setup.h, set wxUSE_XPM
60 to 0, and recompile. You will not be able to load any XPMs,
61 though (currently the only supported colour bitmap format).
63 - Please send bug reports with a description of your environment,
64 compiler and the error message(s) to the wxwin-users mailing list at:
66 wxwin-users@wx.dent.med.uni-muenchen.de
69 Julian Smart, November 1998.
70 julian.smart@ukonline.co.uk