LessTif-0.93.94

Introduction to LessTif

The LessTif package contains an Open Source version of OSF/Motif(R).

Package information

LessTif dependencies

Required

X (XFree86-4.4.0 or X.org-6.7.0)

Installation of LessTif

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

Command explanations

sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g': This moves the location of 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.

Configuring LessTif

Configuration Information

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.

Testing LessTif

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

Contents

The LessTif package contains LessTif libraries.

Description

lesstif libraries

LessTif libraries are an OSF/Motif(R) source code compatible library for X Window System.