The LessTif package contains an Open Source version of OSF/Motif(R).
Download (HTTP): http://prdownloads.sourceforge.net/lesstif/lesstif-0.93.94.tar.bz2
Download size: 3.4 MB
Estimated Disk space required: 40 MB
Estimated build time: 2.73 SBU
X (XFree86-4.4.0 or X.org-6.7.0)
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-20 \
--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-20: Build the Motif 2.0 compatible version of the LessTif libraries.
--enable-build-21: Also build the Motif 2.1 compatible versions.
--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.93.94/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 LessTif libraries.