Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: less-378   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/  &&
tar -xjf less-378.tar.bz2 &&
cd less-378 &&
./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc &&
make &&
make install

The output should look something like this:

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for a BSD compatible install... /bin/install -c
checking for initscr in -lxcurses... no
checking for initscr in -lncurses... yes
checking for initscr in -lcurses... yes
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
.
.
.
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 output.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 position.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 prompt.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 search.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 signal.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 tags.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 ttyin.c
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 version.c
gcc  -o less main.o screen.o brac.o ch.o charset.o cmdbuf.o command.o decode.o edit.o filename.o forwback.o help.o ifile.o input.o jump.o line.o linenum.o lsystem.o mark.o optfunc.o option.o opttbl.o os.o output.o position.o prompt.o search.o signal.o tags.o ttyin.o version.o   -lncurses
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 lesskey.c
gcc  -o lesskey lesskey.o version.o
gcc -I. -c -DBINDIR=\"/bin\" -DSYSDIR=\"/etc\"  -g -O2 lessecho.c
gcc  -o lessecho lessecho.o version.o
./mkinstalldirs /bin /usr/man/man1
/bin/install -c less /bin/less
/bin/install -c lesskey /bin/lesskey
/bin/install -c lessecho /bin/lessecho
/bin/install -c -m 644 ./less.nro /usr/man/man1/less.1
/bin/install -c -m 644 ./lesskey.nro /usr/man/man1/lesskey.1


~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS