root:/sources# tar zxf mktemp-1.5.tar.gz root:/sources# cd mktemp-1.5 root:/sources/mktemp-1.5# patch -Np1 -i ../mktemp-1.5-add_tempfile-3.patch patching file Makefile.in patching file tempfile root:/sources/mktemp-1.5# root:/sources/mktemp-1.5# ./configure --prefix=/usr --with-libc checking build system type... sparc64-unknown-linux-gnu checking host system type... sparc64-unknown-linux-gnu checking for nroff... ./nroff checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for ssize_t... yes checking for random... yes checking for srandomdev... no checking for strerror... yes checking for strdup... yes checking for __progname... yes checking for random device... /dev/urandom checking whether to use mk{s,d}temp from libc... (cached) yes checking for mkdtemp... yes checking which macro set to use for manual... man configure: creating ./config.status config.status: creating Makefile config.status: creating config.h root:/sources/mktemp-1.5# root:/sources/mktemp-1.5# make gcc -c -I. -I. "-DMKTEMP_VERSION=\"1.5\"" -g -O2 mktemp.c gcc -o mktemp mktemp.o root:/sources/mktemp-1.5# root:/sources/mktemp-1.5# make install /bin/sh ./mkinstalldirs /usr/bin /usr/man/man1 /bin/sh ./install-sh -c -m 0555 -s mktemp /usr/bin/mktemp /bin/sh ./install-sh -c -m 0444 ./mktemp.man /usr/man/man1/mktemp.1 root:/sources/mktemp-1.5# root:/sources/mktemp-1.5# make install-tempfile /bin/sh ./install-sh -c -m 0555 ./tempfile /usr/bin/tempfile root:/sources/mktemp-1.5#