Linux From Scratch: Version 20020515 | ||
---|---|---|
Prev | Chapter 6. Installation des logiciels de base du système | Next |
Estimation du temps de construction: 1 minute Estimation de l'espace disque requis: 6 MB |
Install Make by running the following commands:
./configure --prefix=/usr && make && make install && chgrp root /usr/bin/make && chmod 755 /usr/bin/make |
By default /usr/bin/make is installed setgid kmem. This is needed on some systems so it can check the load average by using /dev/kmem. However, on Linux systems, setgid kmem is not needed, so we remove this from our make binary. This also fixes problems with the make ignoring certain variables like LD_LIBRARY_PATH.
make
make détermine automatiquement quelles parties d'un gros programme ont besoin d'être recompilées, et exécute les commandes pour les recompiler.
Make-3.79.1 nécessite que les programmes suivants soient installés:
autoconf: autoconf, autoheader
automake: aclocal, automake
bash: sh
binutils: as, ld
diffutils: cmp
fileutils: chgrp, chmod, install, ls, mv, rm
gcc: cc, cc1, collect2, cpp0, gcc
glibc: getconf
grep: egrep, fgrep, grep
m4: m4
make: make
gawk: gawk
sed: sed
sh-utils: basename, echo, expr, hostname, sleep, uname
texinfo: install-info, makeinfo
textutils: cat, tr