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-429   Print


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

Run these commands:

cd /sources/  &&
tar -xzf less-429.tar.gz &&
cd less-429 &&
./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc &&
make &&
make install

The output should look something like this:

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /bin/install -c
checking for special C compiler options needed for large
files... no
checking for _FILE_OFFSET_BITS value needed for large
files... 64
checking for tgoto in -ltinfo... no
checking for initscr in -lxcurses... no
checking for initscr in -lncursesw... 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
checking for regcmp in -lgen... no
checking for regcmp in -lintl... no
checking for regcmp in -lPW... no
checking for working terminal libraries... using -lncurses
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
.
.
.
checking termcap for ospeed... yes - in termcap.h
checking for regcomp... using POSIX regcomp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating defines.h
test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h
./config.status
touch stamp-h
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
main.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
screen.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
brac.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
ch.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
charset.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
cmdbuf.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
command.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
decode.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
edit.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
filename.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
forwback.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
help.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
ifile.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
input.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
jump.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
line.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
linenum.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
lsystem.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
mark.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
optfunc.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
option.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
opttbl.c
gcc -I. -c -DBINDIR=\""/bin\"" -DSYSDIR=\""/etc\""  -g -O2
os.c
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/share/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/share/man/man1/less.1
/bin/install -c -m 644 ./lesskey.nro
/usr/share/man/man1/lesskey.1
/bin/install -c -m 644 ./lessecho.nro
/usr/share/man/man1/lessecho.1


~~~
Please read our Terms of Use and our Privacy Policy
A tip o' the hat to the folks at Linux From Scratch, who provided a lot of the know-how and framing for the NoNIC OS.

Copyright 2006-2009 NoNIC.org

Created by:
MCJ
MCJ CMS