Date: Mon, 11 Mar 1996 18:08:35 GMT From: Nik Clayton <nik@blueberry.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/1076: 'make install' fails for /usr/src/share/examples in -stable Message-ID: <199603111808.SAA20100@plum.blueberry.co.uk> Resent-Message-ID: <199603111820.KAA00807@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1076 >Category: conf >Synopsis: 'make install' fails for /usr/src/share/examples in -stable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 10:20:00 PST 1996 >Last-Modified: >Originator: Nik Clayton >Organization: Blueberry Design >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: 2-1-stable sup'd over the weekend 9/10 March >Description: When 'make install'ing in /usr/src/share/examples, multiple errors of the type install: mkstemp: /usr/share/examples/etc for /usr/share/examples/etc/README.examples: No such file or directory (long line broken) are generated. Only occurs if the variable SHARED is set to 'copies'. This is the default in the supplied makefile. As far as I can tell, 'install' is objecting because the directories to install to do not exist. >How-To-Repeat: Install 2.1.0-RELEASE Sup -stable on top of it Do a 'make world' (or anything else that will cause 'make install' to be run in /usr/src/share/examples. >Fix: Set the variable SHARED to 'symlinks' (if that works for you), otherwise, apply this patch, which creates the directories first. *** Makefile.org Mon Mar 11 17:56:40 1996 --- Makefile Mon Mar 11 18:04:59 1996 *************** *** 19,27 **** --- 19,32 ---- copies: @${ECHO} installing ${DDIR} + @-for a in ${DIRS}; do \ rm -rf ${DDIR}/$$a; \ done + + find ${DIRS} \( -name CVS -prune \) -o -type d -print -exec \ + mkdir -p ${DDIR}/{} \; + find ${DIRS} \( -name CVS -prune \) -o -type f -print -exec \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 {} ${DDIR}/{} \; >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603111808.SAA20100>