This section lists some things which have caused trouble during
installation. If you encounter other problems, please send a bug
report. See section 4. Bugs, for how to submit a useful bug report.
You may get a warning from the compiler about `-static' being an
unrecognized option. Ignore it. (This has already been reported to
Under SunOS 4.x, the programs which use X (XBfe and Limn) cannot be
dynamically linked, because (apparently) `/bin/ld' pulls in the
entire `.sa' file, and the Form, Label, and Viewport widgets are
multiply defined. (To us, this seems to defeat the whole purpose of
having libraries. It also seems bizarre to us that X was written so
that these multibyte functions are always needed (via
__Xsi...), and furthermore that the multibyte functions need
to specifically call the dynamic linking functions.)
The file `lib/dlsym.c' (from the MIT X distribution) defines the
dlopen symbols, so static
linking should work now.
If the current setup fails, it might work to change `-lXaw' in
the definition of
X_libraries in `lib/defs.make' to
the full pathname of the Xaw library.
On many machines (Sun 3 or Sun 4 running SunOS 4.1, Sun386i running
4.0.2, 386 running ISC 2.2), GCC 1.40 gets a fatal error compiling
`imageto/main.c' with `-O'. Just use `-g' for that file,
or use a newer version of GCC.
On a 386 running Interactive UNIX 2.2, `<math.h>' declares the
wrong prototype for
fmod: the routine takes two doubles, not one.
We simply corrected our system include file.
You may get compiler warnings for the file `widgets/Bitmap.c' at
the lines which use the Xt function
XtIsRealized on systems which
(void *) 0. The reason is that macro
XtIsRealized in `<X11/IntrinsicP.h>'
incorrectly compares the result of
NULL, instead of
0. If the warnings bother you, fix
The application resource files `limn/Limn' and `xbfe/XBfe'
must be installed in a directory where your X server can find them.
This directory varies according to how X was installed; in the default X
distribution, it is `/usr/lib/X11/app-defaults'. If you cannot (or
do not want to) write in the default directory, you can install them
elsewhere and set the
XAPPLRESDIR environment variable to that
directory. See the tutorial on resources that comes with the MIT X
distribution (`mit/doc/tutorial/resources.txt') for more