Subject: Re: make install under /usr/src/gnu error
To: CHAN Yiu Wah <clarence@cs.cuhk.hk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 03/11/1996 08:29:49
On Mon, 11 Mar 1996 14:19:12 +0800
CHAN Yiu Wah <clarence@cs.cuhk.hk> wrote:
> installing includes from include
> usage: cmp [-l | s] file1 file2 [skip1 [skip2]]
> usage: install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 file2
> install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory
> install -d [-g group] [-m mode] [-o owner] directory ...
> installing includes from libg++/src
> installing includes from include/gen
> installing includes from libstdc++/std
> install: /usr/libstdc++/g++/std/bastring.h: No such file or directory
This was due to some errors in the Makefile (and libg++2netbsd) script.
I have checked the fixes into the master sources. I've included the
Makefile for src/gnu/lib/libg++ with the fixes below.
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939
----- snip -----
# $NetBSD: Makefile,v 1.12 1996/03/09 00:19:02 phil Exp $
SUBDIR= libg++ libstdc++ # libio libiostream
beforeinstall:
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/g++
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/g++/gen
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/g++/std
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/g++/stl
@echo installing includes from libg++/src
@(cd libg++/src ; for j in *.[ih]; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from include/gen
@(cd include/gen ; for j in *.*P; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/gen/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/gen/$$j; \
done)
@echo installing includes from libstdc++/std
@(cd libstdc++/std ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/std/$$j; \
done)
@echo installing includes from libstdc++/stl
@(cd libstdc++/stl ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++stl/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/stl/$$j; \
done)
.include <bsd.subdir.mk>