7.12. Mktemp-1.5

Le paquet Mktemp contient des programmes utilisés pour créer des fichiers temporaires sécurisés à partir de scripts shell.

7.12.1. Installation de Mktemp

The configure files in this package do not recognise all of the machines supported by CLFS. This patch updates config.guess and config.sub for other processors:

patch -Np1 -i ../mktemp-1.5-config_update-1.patch

Mktemp will try to pass the -s switch to install to strip the binaries. This will not work when cross compiling, so run the following commands to remove this:

cp -v Makefile.in{,.orig}
sed  's/\(0555 \)-s /\1/' Makefile.in.orig >Makefile.in

Préparez la compilation de Mktemp :

CC="${CC} ${BUILD64}" ./configure --prefix=/tools --with-libc\
    --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compilez le paquet :

make

Installez le paquet :

make install

Les détails sur ce paquet sont situés dans Section 10.56.2, “Contenu de Mktemp.”