Difference between revisions of "LessTif"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to LessTif ==
 +
 +
The LessTif package contains an Open Source version of OSF/Motif®.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 21:15, 2 December 2006

Download Source: http://prdownloads.sourceforge.net/lesstif/lesstif-0.95.0.tar.bz2

Introduction to LessTif

The LessTif package contains an Open Source version of OSF/Motif®.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.0

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 install

Multilib

32Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib &&
make rootdir=/usr/share/doc/lesstif-0.95.0

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 install &&
mv -v /usr/bin/motif-config{,-32}

N32

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib32 &&
make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32 install &&
mv -v /usr/bin/motif-config{,-n32}

64Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib64 &&
make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64 install &&
mv -v /usr/bin/motif-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/motif-config
Retrieved from "?title=LessTif&oldid=4285"