PrintLogo

Base: findutils-4.1




Source code is available here.

Run these commands:

cd /sources/ &&
rm -rf findutils-4.1 &&
tar -xjf findutils-4.1.tar.bz2 &&
cd findutils-4.1 &&
patch -Np1 -i ../findutils-4.1.patch &&
patch -Np1 -i ../findutils-4.1-segfault.patch &&
./configure --prefix=/usr &&
make libexecdir=/usr/bin &&
make libexecdir=/usr/bin install

The output should look something like this:

patching file find/defs.h
patching file find/fstype.c
patching file find/parser.c
patching file find/pred.c
patching file find/util.c
patching file lib/nextelem.c
patching file xargs/xargs.c
patching file locate/locate.c
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether make sets $MAKE... yes
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for -lsun... no
checking for fcntl.h... yes
checking for string.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for -ldir... no
.
.
.
../mkinstalldirs /usr/var
make[1]: Leaving directory `/sources/findutils-4.1/locate'
making install in doc
make[1]: Entering directory `/sources/findutils-4.1/doc'
../mkinstalldirs /usr/info
cd .; for file in *.info*; do \
  /bin/install -c -m 644 $file /usr/info/$file; \
done
make[1]: Leaving directory `/sources/findutils-4.1/doc'
making install in testsuite
make[1]: Entering directory `/sources/findutils-4.1/testsuite'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/sources/findutils-4.1/testsuite'





This article comes from NoNIC:
http://nonic.org/

The URL for this story is:
http://nonic.org/art11.html



Copyright 2006-2008 NoNIC.org. Read our Terms of Use.