Lesstif for XFree86-OS2

From OS2World.Com Wiki
Jump to navigation Jump to search

By Michael Holzapfel

This is the port of Lesstif for XFree86/OS2. The Lesstif docs are in Lesstif Document Project. Lesstif is a freely available libXm-clone.

Installation

Normally the OS/2-specific changes for Lesstif are integrated into the original Source-Tree. So you can download lesstif-current.tar.gz and compile it yourself by typing:

tar -xvzf lesstif-current.tar.gz (This creates the lesstif-current Source-Tree)
cd lesstif-current
configure
make
make install

Unfortunately the lesstif-Team made considerable changes in the Makefiles and configure, to make use autoconf, automake and libtool's features for the creation of shared libraries. All these tools have ports for OS/2 (with EMX), so in principle it should be possible to make use of the lesstif's standard configuration procedure.

For now this is only theory!! The tools are not working properly, so you don't have any use today. It is a long term go to make configure working with OS/2. So I decided to provide a set of Makefiles, which enables you to compile lesstif on OS/2 by typing:

cd lesstif-current
unzip Makefiles.zip
touch creation-date
x11make -f Makefile.emx
x11make -f Makefile.emx install

Nevertheless, I will try to make autoconf's configure working on OS/2. Thanks to Alexander Mai for contributing enhancements to these Makefiles.

Installation

If you don't want to compile the code, download the [lesstif-0.88.9-OS2.zip] and unzip the file in your Xfree86-tree by typing:

cd \ 
unzip lesstif-0.93.91-OS2.zip

Applications for Testing

There is a nice little application for testing the correct Lesstif-Installation named XBill. Click HERE for downloading the archive.

Additional Libraries using Lesstif

Gregory M. Messner has written a very nice extension to the Motif-Widget-Set called »The Xg Widget Set«. You can download the source with makefiles for XFree86/OS2 from HERE.