Sunday, December 27, 2020

Chapter 17 : Compiling and Installing M4 - Cross Compiling Temporary Tools

Hi,

In this chapter we are going to compile and install M4-1.4.18 package.

Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 1.4.18
- 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 M4 tar ball package and change directory to it.
$ tar -xvf m4-1.4.18.tar.xz
$ cd m4-1.4.18

Make some fixes required by glibc-2.28 and later.
$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

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

Compiling M4
make -j4

Installing M4
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...