MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU InetUtils HOME Perl »

GNU Less

Name: GNU Less
Summary: A text viewer and pager
License: GPL v3 or later
Version: 685
URL: https://ftp.gnu.org/gnu/less/less-685.tar.gz

Average Build Time: less than 0.1 SBU
Used Install Space: 1.1 MiB

Configuration

To configure GNU Less for install into the build root, run the following command:

./configure --prefix=/usr --sysconfdir=/etc

Compilation and Installation

To compile GNU Less, run the following command:

make

Next, run the test suite:

make check

Note, there are a couple tests for UTF8 support that fail with this release.

Finally, to install GNU Less into the build tree, run the following command:

make install
install -v -m755 -o root -g root ../system_files/usr/bin/lessopen.sh /usr/bin/lessopen.sh

Contents

Contents  
Installed Programs less lessecho lesskey
Navigation    
« GNU InetUtils HOME Perl »