*BSD News Article 12444


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd
From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.bugs
Subject: bugs remaining after patchkit, relating to directories...
Date: 9 Mar 93 16:24:37
Organization: Kernel Hackers 'r' Us
Lines: 41
Distribution: world
Message-ID: <CGD.93Mar9162437@eden.CS.Berkeley.EDU>
NNTP-Posting-Host: eden.cs.berkeley.edu

below are the problems that i see when building and installing /usr/src.
i've run into these, because i tend to do big makes, and make installs
via NFS, with /usr/src mounted ro, and /usr/obj mounted rw.
you should be able to do installs this way with no problems...
because of some of the below (particularly, those which don't put
binaries in /usr/obj) you can't...


tn3270 always relinks, even if constituent objs/libs doesn't change.
	(not had time to look into it -- obviously a makefile problem)

rm -r /usr/src/libexec/ftpd/obj
ln -s /usr/obj/libexec/ftpd /usr/src/libexec/ftpd/obj
rm -r /usr/src/libexec/telnetd/obj
ln -s /usr/obj/libexec/telnetd /usr/src/libexec/telnetd/obj
	(both had obj _dirs_ rather than links, but dirs in /usr/obj existed)

mkdir /usr/obj/sbin/netstat
ln -s /usr/obj/sbin/netstat obj
	(netstat had no obj dir or link

rm -r /usr/src/usr.bin/elvis/obj
mkdir /usr/obj/usr.bin/elvis
ln -s /usr/obj/usr.bin/elvis /usr/src/usr.bin/elvis/obj
	(elvis had an object link, to a dir which:
		(1) wasn't present in srcdist,
		(2) wasn't in a good place anyway.  (was to .../contrib/...)
	)

RCS binaries are made in rcs source dir
	(rcs makefile is old-style, and therefore RCS should probably
	not be in the standard build tree.)


(they've of course been dropped in jordan's box... 8-)

chris
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

                 MENTALLY CONTAMINATED and proud of it!