This file contains some known problems with particular releases, and suggests work arounds or upgrades as appropriate.
It is not supposed to be a complete list of all shortcomings and bugs within LessTif. Especially it doesn't list in detail what's fine & wrong with all the known software to run or fail with LessTif.
For more general information about LessTif, you may want to read the FAQ.

## Release 0.90.0

- The source distribution has a problem : a number of symbolic links made it into the distribution. If your system doesn't have automake, autoconf, and libtool installed in the places where these links point to, then the configuration phase will fail.

  The binary distributions don't have this problem.

  Fix this by running CVSMake. You'll need the tools mentioned above for that.

## Release 0.88.1

- /usr/lib/dld.sl: Unresolved symbol: _XmNSEEditResCheckMessages (code)

  This happens when compiling with X11R5, and without builtin editres support. Remove the #ifdef and #endif at the beginning and end of lib/Xm/LTV5Editres.c

- Building on Digital UNIX with CC compiler is known to work after installing GNU flex 2.5.4, making sure GLOB_MAGCHAR gets defined at line 53 in include/LTglob.h, and starting configure with

      	CC="cc -std1" LEX="/usr/local/bin/flex" ./configure

- On a Sun Solaris 2.6 SPARC with the SUNWspro compiler. In order to get past an undefined _Xconst in lesstif-0.88.1/lib/Xm/AtomMgr.c, I hacked in the following lines at the front of lesstif-0.88.1/include/LTconf.h:

      	#define FUNCPROTO 1
      	#include <X11/Xfuncproto.h>

- configure is broken in 0.88.1

      Change these two tests in configure

          if libtool --features | grep shared | grep -q ....
                lt_libtool_shared="no"
          fi
          if libtool --features | grep static | grep -q ....
                lt_libtool_static="no"
          fi

      by

          lt_libtool_shared=enable_shared
          lt_libtool_static=enable_static

      or add "." in your PATH before run configure.

      You should re run configure.

      You could also manually create links as:

      cd /usr/local/lib
      ln -s ../LessTif/Motif1.2/lib/lib*.so* .
      ln -s ../Lesstif/Motif2.0/lib/lib*.so* .

## Release 0.87.0

- No important problems known.

## Release 0.86.9

- No important problems known.

## Release 0.86.5

- Problem:
    The version number in configure.in wasn't updated properly. This will probably only affect the LesstifVERSION_STRING in Xm.h.
  Solution:
    This is pretty safe to ignore, but for the pedantic, upgrade to lesstif-current.tar.gz, or edit include/Motif-1.2/Xm/Xm.h, and set LesstifVERSION_STRING to "GNU LessTif 0.86 5".
- Problem:
    Mwm doesn't build out of the box. Error messages complain about LEXLIB and such. The reason is that we inadvertently used an automake 1.3 macro in configure.in while our server still runs automake 1.2.
  Clean solution:
    Replace the call of AM_PROG_LEX in configure.in by AC_PROG_LEX and AC_DECL_YYTEXT. (These need to be two distinct lines with just one word each on them.) Then run autoheader; automake -i; autoconf (as you would need to with a copy of our CVS sources), then rerun configure.
  Quick solution:
    edit clients/Motif-1.2/mwm/Makefile and replace the strings @LEXLIB@ and @LEX_OUTPUT_ROOT@ . If you have flex, then @LEXLIB@ needs to become -lfl. If you have lex, then @LEXLIB@ needs to become -ll. Either way, @LEX_OUTPUT_ROOT@ should be lex.yy .
- Problem:
    The NOTES files in releases from 0.85 up to and including 0.86.5 aren't an accurate description of what changed. This is due to bugs in our release script.
  Solution:
    We're trying to reconstruct the NOTES files so releases after 0.86.5 will have a decent content in it.
- Problem:
    A 2.0 build fails because of an undefined symbol "TB_ToggleMode".
  Quick solution:
    Edit lib/Xm-2.0/ToggleB.c. Around line 1011, find the reference to to TB_ToggleMode, and replace the entire if/then/else clause with:
    TB_VisualSet(w) = TB_IndicatorSet(w) = !TB_Set(w);
  Better solution:
    Upgrade to lesstif-current.