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


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: grep-2.5.3.tar.bz2   Print


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

Run these commands:

cd /sources/  &&
rm -rf grep-2.5.3 &&
tar -xjf grep-2.5.3.tar.bz2 &&
cd grep-2.5.3 &&
./configure --prefix=/usr --bindir=/bin &&
make &&
make install

The output should look something like this:

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/bin/sh: /sources/grep-2.5.3/missing: No such file or
directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gawk... (cached) gawk
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for ranlib... ranlib
checking for getconf... getconf
checking for CFLAGS value to request large file support...
no
checking for LDFLAGS value to request large file support...
no
checking for LIBS value to request large file support... no
checking for _FILE_OFFSET_BITS... no
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for function prototypes... yes
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 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 for string.h... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for an ANSI C-conforming const... yes
checking for inttypes.h... yes
checking for unsigned long long... yes
.
.
.
test -z ""/usr/share/man/man1"" || /bin/mkdir -p
""/usr/share/man/man1""
 /bin/install -c -m 644 './grep.1'
'/usr/share/man/man1/grep.1'
 /bin/install -c -m 644 './fgrep.1'
'/usr/share/man/man1/fgrep.1'
 /bin/install -c -m 644 './egrep.1'
'/usr/share/man/man1/egrep.1'
make[2]: Leaving directory `/sources/grep-2.5.3/doc'
make[1]: Leaving directory `/sources/grep-2.5.3/doc'
Making install in src
make[1]: Entering directory `/sources/grep-2.5.3/src'
make[2]: Entering directory `/sources/grep-2.5.3/src'
test -z ""/bin"" || /bin/mkdir -p ""/bin""
  /bin/install -c 'grep' '/bin/grep'
  /bin/install -c 'egrep' '/bin/egrep'
  /bin/install -c 'fgrep' '/bin/fgrep'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3/src'
make[1]: Leaving directory `/sources/grep-2.5.3/src'
Making install in tests
make[1]: Entering directory `/sources/grep-2.5.3/tests'
make[2]: Entering directory `/sources/grep-2.5.3/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3/tests'
make[1]: Leaving directory `/sources/grep-2.5.3/tests'
Making install in m4
make[1]: Entering directory `/sources/grep-2.5.3/m4'
make[2]: Entering directory `/sources/grep-2.5.3/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3/m4'
make[1]: Leaving directory `/sources/grep-2.5.3/m4'
Making install in vms
make[1]: Entering directory `/sources/grep-2.5.3/vms'
make[2]: Entering directory `/sources/grep-2.5.3/vms'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3/vms'
make[1]: Leaving directory `/sources/grep-2.5.3/vms'
Making install in bootstrap
make[1]: Entering directory `/sources/grep-2.5.3/bootstrap'
make[2]: Entering directory `/sources/grep-2.5.3/bootstrap'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3/bootstrap'
make[1]: Leaving directory `/sources/grep-2.5.3/bootstrap'
make[1]: Entering directory `/sources/grep-2.5.3'
make[2]: Entering directory `/sources/grep-2.5.3'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/grep-2.5.3'
make[1]: Leaving directory `/sources/grep-2.5.3'


~~~
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