Наши партнеры

Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

5.25. M4-1.4.14

The M4 package contains a macro processor.

Approximate build time: 0.2 SBU
Required disk space: 11.6 MB

5.25.1. Installation of M4

Add a missing include directive that prevents M4 successfully building against Glibc-2.12.1:

sed -i -e '/"m4.h"/a\
#include <sys/stat.h>' src/path.c

Prepare M4 for compilation:

./configure --prefix=/tools

Compile the package:


Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the M4 test suite anyway, issue the following command:

make check

Install the package:

make install

Details on this package are located in Section 6.24.2, “Contents of M4.”