The LessTif package contains an Open Source version of OSF/Motif(R).
Download (HTTP): http://prdownloads.sourceforge.net/lesstif/lesstif-0.94.0.tar.bz2
Download MD5 sum: 20f38a06c863e0c51ca0c862ef039601
Download size: 2.4 MB
Estimated disk space required: 109.9 MB (includes building test suite)
Estimated build time: 2.94 SBU (includes building test suite)
X (XFree86-4.4.0 or X.org-6.8.2)
Lynx-2.8.5 or Links-2.1pre15 and Dmalloc
Install LessTif by running the following commands:
find -name Makefile.in | \
xargs sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g' &&
./configure --prefix=/usr \
--enable-build-21 \
--disable-debug \
--enable-production \
--disable-build-tests \
--with-xdnd &&
make &&
make install
sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g': This moves the location of the non-FHS compliant /usr/LessTif directory to /usr/share/LessTif.
--enable-build-21: Build the Motif 2.1 compatible version of the LessTif libraries.
--disable-debug: Do not generate debugging information.
--enable-production: Build the release version of the LessTif libraries.
--disable-build-tests: Do not build the test/ tree (see Testing LessTif).
--with-xdnd: Enable XDND GNOME compatibility support.
As with most libraries, there is no configuration to do, save that the library directory i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.
It is advisable to test the installation of LessTif with the test suite located in lesstif-0.94.0/test. It is not required to install any of the resulting binaries to validate the installation. The following commands executed from the source directory will suffice:
cd test &&
./configure &&
make
The LessTif package contains mxmkmf, mwm, xmbind, uil and LessTif libraries.
uil is a user interface language compiler which translates a plain text description of the user interface of a Motif application into a machine-readable form.
Last updated on 2005-02-12 13:26:58 -0700