Sunday, December 27, 2020

Chapter 24 : Compile and Install Gawk - Cross Compiling Temporary Tools

Hi,

In this chapter we are going to compile and install Gawk package.

Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 5.1.0
- You should be logged in as lfs user, when you perform the actions described here.
- Change directory to the sources folder (/mnt/lfs/sources)

Unpack the package tarball and change directory.
$ tar -xvf gawk-5.1.0.tar.xz
$ cd gawk-5.1.0

Ensure some unneeded files are not installed.
sed -i 's/extras//' Makefile.in

Preparing the package for compilation.
$ ./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(./config.guess)

Compiling the package.
$ make -j4

Installing the package.
$ make DESTDIR=$LFS install




No comments:

Post a Comment

Changing the password of the root user of mysql in Ubuntu

Hi all,    In this post we are going to see how to reset the password of root user in mysql As we all know the root user of mysql is some...