Linux From Scratch

(V028-20201230). This site is managed by VauLSMorg (vlsm.org) since 2020.
May the fork() be with Jolan Tru! --- operatingsystems (@T) vlsm dot org.

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


It is assumed that you understand how install a Debian VirtualBox Guest. If you have never installed a VirtualBox Guest before, visit OSP4DISS.


LFS: Chapter 6 part 1

Virtual Box Guest LFS-06



INPUT

ssh -p 6024 lfs@localhost

OUTPUT

rms46@pamulang1:~$ ssh -p 6024 lfs@localhost
lfs@localhost's password:

===== TL;DR =====

lfs@osp:~$ 


INPUT

echo $LFS
cd $LFS/sources/

OUTPUT

lfs:~$ echo $LFS
/mnt/lfs

lfs:~$ cd $LFS/sources/


Installation of M4

INPUT

tar xf m4-1.4.18.tar.xz
cd m4-1.4.18
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

OUTPUT

lfs:/mnt/lfs/sources$ tar xf m4-1.4.18.tar.xz

lfs:/mnt/lfs/sources$ cd m4-1.4.18

lfs:/mnt/lfs/sources/m4-1.4.18$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c

lfs:/mnt/lfs/sources/m4-1.4.18$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

lfs:/mnt/lfs/sources/m4-1.4.18$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --build=$(build-aux/config.guess)

===== TL;DR =====

config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing stamp-h commands

lfs:/mnt/lfs/sources/m4-1.4.18$


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/m4-1.4.18$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/m4-1.4.18'
Making all in .

===== TL;DR =====

real	0m3.821s
user	0m8.962s
sys	0m1.446s


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf m4-1.4.18

OUTPUT

lfs:/mnt/lfs/sources/m4-1.4.18$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/m4-1.4.18'
Making install in .

===== TL;DR =====

make[3]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/tests'
make[2]: Leaving directory '/mnt/lfs/sources/m4-1.4.18/tests'
make[1]: Leaving directory '/mnt/lfs/sources/m4-1.4.18'

lfs:/mnt/lfs/sources/m4-1.4.18$ cd ..

lfs:/mnt/lfs/sources$ rm -rf m4-1.4.18

lfs:/mnt/lfs/sources$ 


Ncurses-6.2

INPUT

tar xf ncurses-6.2.tar.gz
cd ncurses-6.2
sed -i s/mawk// configure
mkdir build
pushd build
  ../configure
  make -C include
  make -C progs tic
popd
./configure --prefix=/usr                \
            --host=$LFS_TGT              \
            --build=$(./config.guess)    \
            --mandir=/usr/share/man      \
            --with-manpage-format=normal \
            --with-shared                \
            --without-debug              \
            --without-ada                \
            --without-normal             \
            --enable-widec

OUTPUT

lfs:/mnt/lfs/sources$ tar xf ncurses-6.2.tar.gz

lfs:/mnt/lfs/sources$ cd ncurses-6.2

lfs:/mnt/lfs/sources/ncurses-6.2$ sed -i s/mawk// configure

lfs:/mnt/lfs/sources/ncurses-6.2$ mkdir build

lfs:/mnt/lfs/sources/ncurses-6.2$ pushd build
/mnt/lfs/sources/ncurses-6.2/build /mnt/lfs/sources/ncurses-6.2

lfs:/mnt/lfs/sources/ncurses-6.2/build$   ../configure
checking for egrep... grep -E
Configuring NCURSES 6.2 ABI 6 (Thu Nov 26 16:59:40 WIB 2020)
checking for package version... 6.2

===== TL;DR =====

    include directory: /usr/include
        man directory: /usr/share/man
   terminfo directory: /usr/share/terminfo

lfs:/mnt/lfs/sources/ncurses-6.2/build$   make -C include
make: Entering directory '/mnt/lfs/sources/ncurses-6.2/build/include'
cat curses.head >curses.h
/bin/sh ../../include/MKhashsize.sh ../../include/Caps ../../include/Caps-ncurses >hashsize.h

===== TL;DR =====

/bin/sh -c 'if test "chtype" = "cchar_t" ; then cat ../../include/curses.wide >>curses.h ; fi'
cat ../../include/curses.tail >>curses.h
make: Leaving directory '/mnt/lfs/sources/ncurses-6.2/build/include'

lfs:/mnt/lfs/sources/ncurses-6.2/build$   make -C progs tic
make: Entering directory '/mnt/lfs/sources/ncurses-6.2/build/progs'
echo "#ifndef __TRANSFORM_H"					>transform.h
/bin/sh ../../progs/MKtermsort.sh gawk ../../progs/../include/Caps >termsort.c

===== TL;DR =====

make[1]: Leaving directory '/mnt/lfs/sources/ncurses-6.2/build/ncurses'
gcc ../objects/tic.o ../objects/dump_entry.o ../objects/tparm_type.o
make: Leaving directory '/mnt/lfs/sources/ncurses-6.2/build/progs'


lfs:/mnt/lfs/sources/ncurses-6.2/build$ popd
/mnt/lfs/sources/ncurses-6.2

lfs:/mnt/lfs/sources/ncurses-6.2$ ./configure --prefix=/usr                \
>             --host=$LFS_TGT              \
>             --build=$(./config.guess)    \
>             --mandir=/usr/share/man      \

===== TL;DR =====

        lib directory: /usr/lib
    include directory: /usr/include
        man directory: /usr/share/man
   terminfo directory: /usr/share/terminfo

lfs:/mnt/lfs/sources/ncurses-6.2$


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/ncurses-6.2$ time make
cd man && make DESTDIR="" RPATH_LIST="/usr/lib" all
make[1]: Entering directory '/mnt/lfs/sources/ncurses-6.2/man'
/bin/sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./../include/Caps-ncurses ./terminfo.tail >terminfo.5

===== TL;DR =====

real	0m8.336s
user	0m34.254s
sys	0m6.055s

lfs:/mnt/lfs/sources/ncurses-6.2$


INPUT

time make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so
mv -v $LFS/usr/lib/libncursesw.so.6* $LFS/lib
ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so
cd ..
rm -rf ncurses-6.2

OUTPUT

lfs:/mnt/lfs/sources/ncurses-6.2$ time make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
cd man && make DESTDIR="/mnt/lfs" RPATH_LIST="/usr/lib" install
make[1]: Entering directory '/mnt/lfs/sources/ncurses-6.2/man'
/bin/sh ../edit_man.sh normal installing /mnt/lfs/usr/share/man . terminfo.5 *-config.1 ./*.[0-9]*

===== TL;DR =====

real	0m7.050s
user	0m6.211s
sys	0m1.168s

lfs:/mnt/lfs/sources/ncurses-6.2$ echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so

lfs:/mnt/lfs/sources/ncurses-6.2$ mv -v $LFS/usr/lib/libncursesw.so.6* $LFS/lib
renamed '/mnt/lfs/usr/lib/libncursesw.so.6' -> '/mnt/lfs/lib/libncursesw.so.6'
renamed '/mnt/lfs/usr/lib/libncursesw.so.6.2' -> '/mnt/lfs/lib/libncursesw.so.6.2'

lfs:/mnt/lfs/sources/ncurses-6.2$ ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so
'/mnt/lfs/usr/lib/libncursesw.so' -> '../../lib/libncursesw.so.6'

lfs:/mnt/lfs/sources/ncurses-6.2$ cd ..

lfs:/mnt/lfs/sources$ rm -rf ncurses-6.2

lfs:/mnt/lfs/sources$


Bash-5.0

INPUT

tar xf bash-5.0.tar.gz
cd bash-5.0
patch -Np1 -i ../bash-5.0-upstream_fixes-1.patch
./configure --prefix=/usr                   \
            --build=$(support/config.guess) \
            --host=$LFS_TGT                 \
            --without-bash-malloc

OUTPUT

lfs:/mnt/lfs/sources$ tar xf bash-5.0.tar.gz

lfs:/mnt/lfs/sources$ cd bash-5.0

lfs:/mnt/lfs/sources/bash-5.0$ patch -Np1 -i ../bash-5.0-upstream_fixes-1.patch
patching file bashhist.c
patching file bashline.c
patching file builtins/evalstring.c

===== TL;DR =====

patching file tests/varenv.right
patching file variables.c
patching file y.tab.c

lfs:/mnt/lfs/sources/bash-5.0$ ./configure --prefix=/usr                   \
>             --build=$(support/config.guess) \
>             --host=$LFS_TGT                 \
>             --without-bash-malloc

===== TL;DR =====

config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/bash-5.0$ time make
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' ...
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' ...

===== TL;DR =====

real	0m8.294s
user	0m30.051s
sys	0m2.976s


INPUT

time make DESTDIR=$LFS install
mv $LFS/usr/bin/bash $LFS/bin/bash
ln -sv bash $LFS/bin/sh
cd ..
rm -rf bash-5.0

OUTPUT

lfs:/mnt/lfs/sources/bash-5.0$ time  make DESTDIR=$LFS install

	  ***********************************************************
	  *                                                         *
	  * GNU bash, version 5.0.11(1)-release (x86_64-lfs-linux-gnu)
	  *                                                         *
	  ***********************************************************
mkdir -p -- /mnt/lfs/usr/share/doc/bash

===== TL;DR =====

setpgid
seq
make[1]: Leaving directory '/mnt/lfs/sources/bash-5.0/examples/loadables'

lfs:/mnt/lfs/sources/bash-5.0$ mv $LFS/usr/bin/bash $LFS/bin/bash

lfs:/mnt/lfs/sources/bash-5.0$ ln -sv bash $LFS/bin/sh
'/mnt/lfs/bin/sh' -> 'bash'

lfs:/mnt/lfs/sources/bash-5.0$ cd ..

lfs:/mnt/lfs/sources$ rm -rf bash-5.0

lfs:/mnt/lfs/sources$ 


Coreutils-8.32


INPUT

tar xf coreutils-8.32.tar.xz
cd coreutils-8.32
patch -Np1 -i ../coreutils-8.32-i18n-1.patch
./configure --prefix=/usr                     \
            --host=$LFS_TGT                   \
            --build=$(build-aux/config.guess) \
            --enable-install-program=hostname \
            --enable-no-install-program=kill,uptime

OUTPUT

lfs:/mnt/lfs/sources$ tar xf coreutils-8.32.tar.xz

lfs:/mnt/lfs/sources$ cd coreutils-8.32

lfs:/mnt/lfs/sources/coreutils-8.32$ patch -Np1 -i ../coreutils-8.32-i18n-1.patch
patching file bootstrap.conf
patching file configure.ac
patching file lib/linebuffer.h

===== TL;DR =====

patching file tests/misc/uniq.pl
patching file tests/pr/pr-tests.pl
patching file tests/unexpand/mb.sh

lfs:/mnt/lfs/sources/coreutils-8.32$ ./configure --prefix=/usr                     \
>             --host=$LFS_TGT                   \
>             --build=$(build-aux/config.guess) \
>             --enable-install-program=hostname \

===== TL;DR =====

config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/coreutils-8.32$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/coreutils-8.32$ time make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mnt/lfs/sources/coreutils-8.32/build-aux/missing aclocal-1.16 -I m4
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mnt/lfs/sources/coreutils-8.32/build-aux/missing autoconf
 cd . && /bin/sh /mnt/lfs/sources/coreutils-8.32/build-aux/missing automake-1.16 --gnu

===== TL;DR =====

real	0m39.615s
user	1m16.252s
sys	0m13.384s

lfs:/mnt/lfs/sources/coreutils-8.32$ 


INPUT

time make DESTDIR=$LFS install
mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin
mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin
mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin
mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin
mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
mkdir -pv $LFS/usr/share/man/man8
mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8
sed -i 's/"1"/"8"/'                                           $LFS/usr/share/man/man8/chroot.8
cd ..
rm -rf coreutils-8.32

OUTPUT

lfs:/mnt/lfs/sources/coreutils-8.32$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/coreutils-8.32'
Making install in po

===== TL;DR =====

real	0m3.069s
user	0m2.642s
sys	0m0.848s

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin
renamed '/mnt/lfs/usr/bin/cat' -> '/mnt/lfs/bin/cat'
renamed '/mnt/lfs/usr/bin/chgrp' -> '/mnt/lfs/bin/chgrp'
renamed '/mnt/lfs/usr/bin/chmod' -> '/mnt/lfs/bin/chmod'
renamed '/mnt/lfs/usr/bin/chown' -> '/mnt/lfs/bin/chown'
renamed '/mnt/lfs/usr/bin/cp' -> '/mnt/lfs/bin/cp'
renamed '/mnt/lfs/usr/bin/date' -> '/mnt/lfs/bin/date'
renamed '/mnt/lfs/usr/bin/dd' -> '/mnt/lfs/bin/dd'
renamed '/mnt/lfs/usr/bin/df' -> '/mnt/lfs/bin/df'
renamed '/mnt/lfs/usr/bin/echo' -> '/mnt/lfs/bin/echo'

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin
renamed '/mnt/lfs/usr/bin/false' -> '/mnt/lfs/bin/false'
renamed '/mnt/lfs/usr/bin/ln' -> '/mnt/lfs/bin/ln'
renamed '/mnt/lfs/usr/bin/ls' -> '/mnt/lfs/bin/ls'
renamed '/mnt/lfs/usr/bin/mkdir' -> '/mnt/lfs/bin/mkdir'
renamed '/mnt/lfs/usr/bin/mknod' -> '/mnt/lfs/bin/mknod'
renamed '/mnt/lfs/usr/bin/mv' -> '/mnt/lfs/bin/mv'
renamed '/mnt/lfs/usr/bin/pwd' -> '/mnt/lfs/bin/pwd'
renamed '/mnt/lfs/usr/bin/rm' -> '/mnt/lfs/bin/rm'

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin
renamed '/mnt/lfs/usr/bin/rmdir' -> '/mnt/lfs/bin/rmdir'
renamed '/mnt/lfs/usr/bin/stty' -> '/mnt/lfs/bin/stty'
renamed '/mnt/lfs/usr/bin/sync' -> '/mnt/lfs/bin/sync'
renamed '/mnt/lfs/usr/bin/true' -> '/mnt/lfs/bin/true'
renamed '/mnt/lfs/usr/bin/uname' -> '/mnt/lfs/bin/uname'

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin
renamed '/mnt/lfs/usr/bin/head' -> '/mnt/lfs/bin/head'
renamed '/mnt/lfs/usr/bin/nice' -> '/mnt/lfs/bin/nice'
renamed '/mnt/lfs/usr/bin/sleep' -> '/mnt/lfs/bin/sleep'
renamed '/mnt/lfs/usr/bin/touch' -> '/mnt/lfs/bin/touch'

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
renamed '/mnt/lfs/usr/bin/chroot' -> '/mnt/lfs/usr/sbin/chroot'

lfs:/mnt/lfs/sources/coreutils-8.32$ mkdir -pv $LFS/usr/share/man/man8

lfs:/mnt/lfs/sources/coreutils-8.32$ mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/mann8/chroot.8
renamed '/mnt/lfs/usr/share/man/man1/chroot.1' -> '/mnt/lfs/usr/share/man/man8/chroot.8'

lfs:/mnt/lfs/sources/coreutils-8.32$ sed -i 's/"1"/"8"/'                                           $LFS/usr/share/man/mann8/chroot.8
lfs:/mnt/lfs/sources/coreutils-8.32$ cd ..

lfs:/mnt/lfs/sources$ rm -rf coreutils-8.32

lfs:/mnt/lfs/sources$ 


Diffutils-3.7

INPUT

tar xf diffutils-3.7.tar.xz
cd diffutils-3.7
./configure --prefix=/usr --host=$LFS_TGT

OUTPUT

lfs:/mnt/lfs/sources$ tar xf diffutils-3.7.tar.xz

lfs:/mnt/lfs/sources$ cd diffutils-3.7

lfs:/mnt/lfs/sources/diffutils-3.7$ ./configure --prefix=/usr --host=$LFS_TGT
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-lfs-linux-gnu-strip... x86_64-lfs-linux-gnu-strip

===== TL;DR =====

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/diffutils-3.7$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/diffutils-3.7$ time make
Making all in lib
make[1]: Entering directory '/mnt/lfs/sources/diffutils-3.7/lib'
  GEN      alloca.h

===== TL;DR =====

real	0m3.633s
user	0m9.712s
sys	0m1.544s

lfs:/mnt/lfs/sources/diffutils-3.7$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf diffutils-3.7

OUTPUT

lfs:/mnt/lfs/sources/diffutils-3.7$ time make DESTDIR=$LFS install
Making install in lib
make[1]: Entering directory '/mnt/lfs/sources/diffutils-3.7/lib'
make  install-am

===== TL;DR =====

real	0m0.476s
user	0m0.423s
sys	0m0.080s

lfs:/mnt/lfs/sources/diffutils-3.7$ cd ..

lfs:/mnt/lfs/sources$ rm -rf diffutils-3.7

lfs:/mnt/lfs/sources$ 


File-5.39


INPUT

tar xf file-5.39.tar.gz
cd file-5.39
./configure --prefix=/usr --host=$LFS_TGT

OUTPUT

lfs:/mnt/lfs/sources$ tar xf file-5.39.tar.gz

lfs:/mnt/lfs/sources$ cd file-5.39

lfs:/mnt/lfs/sources/file-5.39$ ./configure --prefix=/usr --host=$LFS_TGT
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-lfs-linux-gnu-strip... x86_64-lfs-linux-gnu-strip

lfs:/mnt/lfs/sources/file-5.39$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/file-5.39$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/file-5.39'
Making all in src

===== TL;DR =====

real	0m1.758s
user	0m6.283s
sys	0m0.765s

lfs:/mnt/lfs/sources/file-5.39$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf file-5.39

OUTPUT

lfs:/mnt/lfs/sources/file-5.39$ make DESTDIR=$LFS install
Making install in src
make[1]: Entering directory '/mnt/lfs/sources/file-5.39/src'
make  install-am

===== TL;DR =====

 /usr/bin/mkdir -p '/mnt/lfs/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 libmagic.pc '/mnt/lfs/usr/lib/pkgconfig'
make[2]: Leaving directory '/mnt/lfs/sources/file-5.39'
make[1]: Leaving directory '/mnt/lfs/sources/file-5.39'

lfs:/mnt/lfs/sources/file-5.39$ cd ..

lfs:/mnt/lfs/sources$ rm -rf file-5.39

lfs:/mnt/lfs/sources$ 


Findutils-4.7.0

INPUT

tar xf findutils-4.7.0.tar.xz
cd findutils-4.7.0
./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

OUTPUT

lfs:/mnt/lfs/sources/findutils-4.7.0$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --build=$(build-aux/config.guess)
checking for a BSD-compatible install... /usr/bin/install -c

===== TL;DR =====

config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/findutils-4.7.0$ 


INPUT

time make

OUTPUT


lfs:/mnt/lfs/sources/findutils-4.7.0$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/findutils-4.7.0'
Making all in gl
make[2]: Entering directory '/mnt/lfs/sources/findutils-4.7.0/gl'

===== TL;DR =====

real	0m5.254s
user	0m13.391s
sys	0m1.953s

lfs:/mnt/lfs/sources/findutils-4.7.0$ 


INPUT

time make DESTDIR=$LFS install
mv -v $LFS/usr/bin/find $LFS/bin
sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb
cd ..
rm -rf findutils-4.7.0

OUTPUT

lfs:/mnt/lfs/sources/findutils-4.7.0$ time make DESTDIR=$LFS install
Making install in gl
make[1]: Entering directory '/mnt/lfs/sources/findutils-4.7.0/gl'
Making install in lib

===== TL;DR =====

real	0m0.755s
user	0m0.689s
sys	0m0.141s

lfs:/mnt/lfs/sources/findutils-4.7.0$ mv -v $LFS/usr/bin/find $LFS/bin
renamed '/mnt/lfs/usr/bin/find' -> '/mnt/lfs/bin/find'

lfs:/mnt/lfs/sources/findutils-4.7.0$ sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb

lfs:/mnt/lfs/sources/findutils-4.7.0$ 


Gawk-5.1.0

INPUT

tar xf gawk-5.1.0.tar.xz
cd gawk-5.1.0
sed -i 's/extras//' Makefile.in
./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(./config.guess)

OUTPUT

lfs:/mnt/lfs/sources$ tar xf gawk-5.1.0.tar.xz

lfs:/mnt/lfs/sources$ cd gawk-5.1.0

lfs:/mnt/lfs/sources/gawk-5.1.0$ sed -i 's/extras//' Makefile.in

lfs:/mnt/lfs/sources/gawk-5.1.0$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --build=$(./config.guess)
checking for a BSD-compatible install... ./install-sh -c

===== TL;DR =====

config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands

lfs:/mnt/lfs/sources/gawk-5.1.0$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/gawk-5.1.0$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/gawk-5.1.0'
Making all in support

===== TL;DR =====

real	0m5.680s
user	0m20.044s
sys	0m1.392s

lfs:/mnt/lfs/sources/gawk-5.1.0$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf gawk-5.1.0

OUTPUT

lfs:/mnt/lfs/sources/gawk-5.1.0$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/gawk-5.1.0'
Making install in support

===== TL;DR =====

real	0m1.296s
user	0m1.040s
sys	0m0.286s

lfs:/mnt/lfs/sources/gawk-5.1.0$ cd ..

lfs:/mnt/lfs/sources$ rm -rf gawk-5.1.0

lfs:/mnt/lfs/sources$ 


Grep-3.4

INPUT

tar xf grep-3.4.tar.xz
cd grep-3.4
./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --bindir=/bin

OUTPUT

lfs:/mnt/lfs/sources$ tar xf grep-3.4.tar.xz

lfs:/mnt/lfs/sources$ cd grep-3.4

lfs:/mnt/lfs/sources/grep-3.4$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --bindir=/bin
checking for a BSD-compatible install... /usr/bin/install -c

===== TL;DR =====

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/grep-3.4$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/grep-3.4$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/grep-3.4'
Making all in po
make[2]: Entering directory '/mnt/lfs/sources/grep-3.4/po'

===== TL;DR =====

real	0m3.776s
user	0m9.598s
sys	0m1.038s

lfs:/mnt/lfs/sources/grep-3.4$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf grep-3.4

OUTPUT

lfs:/mnt/lfs/sources/grep-3.4$ time make DESTDIR=$LFS install
Making install in po
make[1]: Entering directory '/mnt/lfs/sources/grep-3.4/po'
installing af.gmo as /mnt/lfs/usr/share/locale/af/LC_MESSAGES/grep.mo

===== TL;DR =====

real	0m0.829s
user	0m0.600s
sys	0m0.205s

lfs:/mnt/lfs/sources/grep-3.4$ 

lfs:/mnt/lfs/sources/grep-3.4$ cd ..

lfs:/mnt/lfs/sources$ rm -rf grep-3.4

lfs:/mnt/lfs/sources$ 


Gzip-1.10

INPUT

tar xf gzip-1.10.tar.xz
cd gzip-1.10
./configure --prefix=/usr --host=$LFS_TGT

OUTPUT

lfs:/mnt/lfs/sources$ tar xf gzip-1.10.tar.xz

lfs:/mnt/lfs/sources$ cd gzip-1.10

lfs:/mnt/lfs/sources/gzip-1.10$ ./configure --prefix=/usr --host=$LFS_TGT
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-lfs-linux-gnu-strip... x86_64-lfs-linux-gnu-strip

===== TL;DR =====

config.status: creating tests/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands

lfs:/mnt/lfs/sources/gzip-1.10$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/gzip-1.10$ time make
  GEN      version.c
  GEN      version.h
make  all-recursive

===== TL;DR =====

real	0m1.283s
user	0m4.258s
sys	0m0.704s

lfs:/mnt/lfs/sources/gzip-1.10$ 


INPUT

time make DESTDIR=$LFS install
mv -v $LFS/usr/bin/gzip $LFS/bin
cd ..
rm -rf gzip-1.10

OUTPUT

lfs:/mnt/lfs/sources/gzip-1.10$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/gzip-1.10'
Making install in lib

===== TL;DR =====

real	0m0.385s
user	0m0.345s
sys	0m0.081s

lfs:/mnt/lfs/sources/gzip-1.10$ mv -v $LFS/usr/bin/gzip $LFS/bin
renamed '/mnt/lfs/usr/bin/gzip' -> '/mnt/lfs/bin/gzip'

lfs:/mnt/lfs/sources/gzip-1.10$ cd ..

lfs:/mnt/lfs/sources$ rm -rf gzip-1.10

lfs:/mnt/lfs/sources$ 


Make-4.3

INPUT

tar xf make-4.3.tar.gz
cd make-4.3
./configure --prefix=/usr   \
            --without-guile \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

OUTPUT

lfs:/mnt/lfs/sources$ tar xf make-4.3.tar.gz

lfs:/mnt/lfs/sources$ cd make-4.3

lfs:/mnt/lfs/sources/make-4.3$ ./configure --prefix=/usr   \
>             --without-guile \
>             --host=$LFS_TGT \
>             --build=$(build-aux/config.guess)

===== TL;DR =====

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/make-4.3$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/make-4.3$ time make
Making all in lib
make[1]: Entering directory '/mnt/lfs/sources/make-4.3/lib'
rm -f alloca.h-t alloca.h && \

===== TL;DR =====

real	0m1.305s
user	0m5.598s
sys	0m0.503s

lfs:/mnt/lfs/sources/make-4.3$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf make-4.3

OUTPUT

lfs:/mnt/lfs/sources/make-4.3$ time make DESTDIR=$LFS install
Making install in lib
make[1]: Entering directory '/mnt/lfs/sources/make-4.3/lib'
make  install-recursive

===== TL;DR =====

real	0m0.312s
user	0m0.286s
sys	0m0.063s

lfs:/mnt/lfs/sources/make-4.3$ cd ..

lfs:/mnt/lfs/sources$ rm -rf make-4.3

lfs:/mnt/lfs/sources$ 


Patch-2.7.6

INPUT

tar xf patch-2.7.6.tar.xz
cd patch-2.7.6
./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

OUTPUT

lfs:/mnt/lfs/sources$ tar xf patch-2.7.6.tar.xz

lfs:/mnt/lfs/sources$ cd patch-2.7.6

lfs:/mnt/lfs/sources/patch-2.7.6$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --build=$(build-aux/config.guess)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

===== TL;DR =====

config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands

lfs:/mnt/lfs/sources/patch-2.7.6$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/patch-2.7.6$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/patch-2.7.6'
Making all in lib

===== TL;DR =====

real	0m1.812s
user	0m6.440s
sys	0m0.810s

lfs:/mnt/lfs/sources/patch-2.7.6$ 


INPUT

time make DESTDIR=$LFS install
cd ..
rm -rf patch-2.7.6

OUTPUT

lfs:/mnt/lfs/sources/patch-2.7.6$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/patch-2.7.6'
Making install in lib
make[2]: Entering directory '/mnt/lfs/sources/patch-2.7.6/lib'

===== TL;DR =====

real	0m0.277s
user	0m0.229s
sys	0m0.060s

lfs:/mnt/lfs/sources/patch-2.7.6$ 

lfs:/mnt/lfs/sources/patch-2.7.6$ cd ..

lfs:/mnt/lfs/sources$ rm -rf patch-2.7.6

lfs:/mnt/lfs/sources$ 


Sed-4.8

INPUT

tar xf sed-4.8.tar.xz

cd sed-4.8/

./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --bindir=/bin


OUTPUT

lfs:/mnt/lfs/sources$ tar xf sed-4.8.tar.xz

lfs:/mnt/lfs/sources$ cd sed-4.8/

lfs:/mnt/lfs/sources/sed-4.8$ ./configure --prefix=/usr   \
>             --host=$LFS_TGT \
>             --bindir=/bin
checking for a BSD-compatible install... /usr/bin/install -c

===== TL;DR =====

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/sed-4.8$ 


INPUT

time make 

OUTPUT

lfs:/mnt/lfs/sources/sed-4.8$ time make 
  GEN      lib/alloca.h
  GEN      lib/ctype.h

===== TL;DR =====

real	0m2.836s
user	0m6.898s
sys	0m0.745s

lfs:/mnt/lfs/sources/sed-4.8$ 


INPUT

time make DESTDIR=$LFS install
cd ../
rm -rf sed-4.8/

OUTPUT

lfs:/mnt/lfs/sources/sed-4.8$ time make DESTDIR=$LFS install
make  install-recursive
make[1]: Entering directory '/mnt/lfs/sources/sed-4.8'
Making install in po
make[2]: Entering directory '/mnt/lfs/sources/sed-4.8/po'

===== TL;DR =====

real	0m0.945s
user	0m0.411s
sys	0m0.072s

lfs:/mnt/lfs/sources/sed-4.8$ cd ../

lfs:/mnt/lfs/sources$ rm -rf sed-4.8/

lfs:/mnt/lfs/sources$ 


Tar-1.32

INPUT

tar xf tar-1.32.tar.xz
cd tar-1.32/
./configure --prefix=/usr                     \
            --host=$LFS_TGT                   \
            --build=$(build-aux/config.guess) \
            --bindir=/bin

OUTPUT

lfs:/mnt/lfs/sources$ tar xf tar-1.32.tar.xz

lfs:/mnt/lfs/sources$ cd tar-1.32/

lfs:/mnt/lfs/sources/tar-1.32$ ./configure --prefix=/usr                     \
>             --host=$LFS_TGT                   \
>             --build=$(build-aux/config.guess) \
>             --bindir=/bin

===== TL;DR =====

config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands

lfs:/mnt/lfs/sources/tar-1.32$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/tar-1.32$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/tar-1.32'
Making all in doc

===== TL;DR =====

real	0m5.555s
user	0m17.114s
sys	0m1.591s

lfs:/mnt/lfs/sources/tar-1.32$ 


INPUT

time make DESTDIR=$LFS install
cd ../
rm -rvf tar-1.32/

OUTPUT

lfs:/mnt/lfs/sources/tar-1.32$ time make DESTDIR=$LFS install
Making install in doc
make[1]: Entering directory '/mnt/lfs/sources/tar-1.32/doc'
make[2]: Entering directory '/mnt/lfs/sources/tar-1.32/doc'
make[2]: Nothing to be done for 'install-exec-am'.

===== TL;DR =====

real	0m0.528s
user	0m0.476s
sys	0m0.182s

lfs:/mnt/lfs/sources/tar-1.32$ 

lfs:/mnt/lfs/sources/tar-1.32$ cd ../

lfs:/mnt/lfs/sources$ rm -rf tar-1.32/

lfs:/mnt/lfs/sources$ 


Xz-5.2.5

INPUT

tar xf xz-5.2.5.tar.xz
cd xz-5.2.5/
./configure --prefix=/usr                     \
            --host=$LFS_TGT                   \
            --build=$(build-aux/config.guess) \
            --disable-static                  \
            --docdir=/usr/share/doc/xz-5.2.5

OUTPUT

lfs:/mnt/lfs/sources$ tar xf xz-5.2.5.tar.xz

lfs:/mnt/lfs/sources$ cd xz-5.2.5/

lfs:/mnt/lfs/sources/xz-5.2.5$ ./configure --prefix=/usr                     \
>             --host=$LFS_TGT                   \
>             --build=$(build-aux/config.guess) \
>             --disable-static                  \

===== TL;DR =====

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

lfs:/mnt/lfs/sources/xz-5.2.5$ 


INPUT

time make

OUTPUT

lfs:/mnt/lfs/sources/xz-5.2.5$ time make
make  all-recursive
make[1]: Entering directory '/mnt/lfs/sources/xz-5.2.5'
Making all in src

===== TL;DR =====

real	0m3.008s
user	0m11.388s
sys	0m1.875s

lfs:/mnt/lfs/sources/xz-5.2.5$ 


INPUT

time make DESTDIR=$LFS install
mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin
mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib
ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so
cd ../
rm -rf xz-5.2.5/

OUTPUT

lfs:/mnt/lfs/sources/xz-5.2.5$ time make DESTDIR=$LFS install
Making install in src
make[1]: Entering directory '/mnt/lfs/sources/xz-5.2.5/src'
Making install in liblzma

===== TL;DR =====

real	0m0.774s
user	0m0.919s
sys	0m0.117s

lfs:/mnt/lfs/sources/xz-5.2.5$ mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin
renamed '/mnt/lfs/usr/bin/lzma' -> '/mnt/lfs/bin/lzma'
renamed '/mnt/lfs/usr/bin/unlzma' -> '/mnt/lfs/bin/unlzma'
renamed '/mnt/lfs/usr/bin/lzcat' -> '/mnt/lfs/bin/lzcat'
renamed '/mnt/lfs/usr/bin/xz' -> '/mnt/lfs/bin/xz'
renamed '/mnt/lfs/usr/bin/unxz' -> '/mnt/lfs/bin/unxz'
renamed '/mnt/lfs/usr/bin/xzcat' -> '/mnt/lfs/bin/xzcat'

lfs:/mnt/lfs/sources/xz-5.2.5$ mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib
renamed '/mnt/lfs/usr/lib/liblzma.so.5' -> '/mnt/lfs/lib/liblzma.so.5'
renamed '/mnt/lfs/usr/lib/liblzma.so.5.2.5' -> '/mnt/lfs/lib/liblzma.so.5.2.5'

lfs:/mnt/lfs/sources/xz-5.2.5$ ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so
'/mnt/lfs/usr/lib/liblzma.so' -> '../../lib/liblzma.so.5.2.5'

lfs:/mnt/lfs/sources/xz-5.2.5$ cd ../

lfs:/mnt/lfs/sources$ rm -rf xz-5.2.5/

lfs:/mnt/lfs/sources$ 





EXIT

su -
cbkadal@osp:~$ su -
Password:

root:~#

shutdown -h now

root:~# shutdown -h now
Connection to localhost closed by remote host.
Connection to localhost closed.

rms46@pamulang1:~$


ENDOFPAGE

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT