[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

613.0. "I m confused" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Mar 02 1994 17:50

Date Of Receipt: 	 2-MAR-1994 15:19:05.45
From: 	MINSRV::ftw "Farrell Woods USG"
To: 	minsrv::vandyck
CC: 	minsrv::odehelp, minsrv::janet
Subj: 	I'm confused

I hate to keep troubling you with this but I'm confused now.  I thought I'd go around
and make things executable.  But what I discover is that there are several copies
of the same image lying around.  For instance:

1.145 marvin:ftw> pwd
/x3/sandboxes/alphabox/tools/alpha_OSF1/alpha
1.146 marvin:ftw> ls
acc/      bin/      hostbin/  lib/
1.147 marvin:ftw> find . -name cc -print
./acc/usr/bin/cc
./acc/usr/ccs/bin/cc
./acc/usr/ccs/lib/cmplrs/cc
./acc/cc
1.148 marvin:ftw> find . -name ld -print
./acc/usr/bin/ld
./acc/usr/ccs/bin/ld
./acc/usr/ccs/lib/cmplrs/cc/ld
./acc/ld
1.149 marvin:ftw> find . -name as -print
./acc/usr/bin/as
./acc/usr/ccs/bin/as
./acc/usr/ccs/lib/cmplrs/as
./acc/as
1.150 marvin:ftw> find . -name make -print
./hostbin/make
./acc/usr/bin/make
./acc/usr/ccs/bin/make


Mostly these are the exact same image.  But occasionally not:

1.152 marvin:ftw> cmp ./acc/usr/bin/cc ./acc/usr/ccs/lib/cmplrs/cc
./acc/usr/bin/cc ./acc/usr/ccs/lib/cmplrs/cc differ: char 1, line 1
1.158 marvin:ftw> cmp ./acc/usr/bin/as ./acc/usr/ccs/lib/cmplrs/as
cmp: EOF on ./acc/usr/ccs/lib/cmplrs/as

After chmod-ing lots of things I ran into the next hurdle:

1.163 marvin:ftw> build FLAMINGO_vmunix
relative path: ./kernel.
cd ../../obj/alpha/kernel
cd FLAMINGO && make -cF  KCC=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/cc  LD=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/ld  CPP=cpp  AWK=awk  AR=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/ar  RANLIB='/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/ar ts'  SHELL=sh  SED=sed  SORT=sort  ECHO=echo  KSH=ksh  EGREP=egrep  GREP=grep  LINT=lint CONFIG=FLAMINGO vmunix
/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/cc  -c -O2 -g3  -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=FLAMINGO -DDEC3000_500 -DSWAPTYPE=1 -DMACH -DOSF -DCOMPAT_43 -DUFS -DTRN -DKERNEL -D_KERNEL -D_BSD -signed  -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alpha -Umips -UMIPS ../kern/lockinfo.c
cc: Error: can't find or exec: /x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe
  : Not a directory
*** Exit 1
Stop.
*** Exit 1
Stop.
1.164 marvin:ftw> pd /x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/usr/lib/
/x3/sandboxes/alphabox/tools/alpha_OSF1/alpha/acc/usr/lib /x3/sandboxes/alphabox/src/kernel 
1.165 marvin:ftw> ls -l
total 1138
-rw-r--r--   1 ftw      system         0 Mar  2 14:34 cmplrs
-rwxr-xr-x   1 ftw      system   1114112 Jan  8 16:53 cpp*
-rw-r--r--   1 ftw      system     42850 Jan  8 16:53 err.english.cc


Why do we have lots of copies of the same thing?  Which directory has the Right Stuff?

	-- Farrell

T.RTitleUserPersonal
Name
DateLines
613.1Re: I m confusedSMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Mar 02 1994 18:0797
Date Of Receipt: 	 2-MAR-1994 16:22:05.96
From: 	FLUME::"[email protected]" "Grant Van Dyck"
To: 	[email protected]
CC: 	[email protected], [email protected]
Subj: 	Re: I'm confused

It's a nest of links in there, I've never used mklinks -copy in the tools
dir, only mklinks. As I said earlier, If you REALLY want to do this,
nuke everything under tools in your sandbox, and as ROOT do this:

cd backingtree
rdist -Rwc tools localhost:/path/to/your/sandbox


This should recreate the structure exactly.


	-Grant


| I hate to keep troubling you with this but I'm confused now.  I thought I'd g
o around
| and make things executable.  But what I discover is that there are several co
pies
| of the same image lying around.  For instance:
| 
| 1.145 marvin:ftw> pwd
| /x3/sandboxes/alphabox/tools/alpha_OSF1/alpha
| 1.146 marvin:ftw> ls
| acc/      bin/      hostbin/  lib/
| 1.147 marvin:ftw> find . -name cc -print
| ./acc/usr/bin/cc
| ./acc/usr/ccs/bin/cc
| ./acc/usr/ccs/lib/cmplrs/cc
| ./acc/cc
| 1.148 marvin:ftw> find . -name ld -print
| ./acc/usr/bin/ld
| ./acc/usr/ccs/bin/ld
| ./acc/usr/ccs/lib/cmplrs/cc/ld
| ./acc/ld
| 1.149 marvin:ftw> find . -name as -print
| ./acc/usr/bin/as
| ./acc/usr/ccs/bin/as
| ./acc/usr/ccs/lib/cmplrs/as
| ./acc/as
| 1.150 marvin:ftw> find . -name make -print
| ./hostbin/make
| ./acc/usr/bin/make
| ./acc/usr/ccs/bin/make
| 
| 
| Mostly these are the exact same image.  But occasionally not:
| 
| 1.152 marvin:ftw> cmp ./acc/usr/bin/cc ./acc/usr/ccs/lib/cmplrs/cc
| ./acc/usr/bin/cc ./acc/usr/ccs/lib/cmplrs/cc differ: char 1, line 1
| 1.158 marvin:ftw> cmp ./acc/usr/bin/as ./acc/usr/ccs/lib/cmplrs/as
| cmp: EOF on ./acc/usr/ccs/lib/cmplrs/as
| 
| After chmod-ing lots of things I ran into the next hurdle:
| 
| 1.163 marvin:ftw> build FLAMINGO_vmunix
| relative path: ./kernel.
| cd ../../obj/alpha/kernel
| cd FLAMINGO && make -cF  KCC=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1
/alpha/acc/cc  LD=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/ld
  CPP=cpp  AWK=awk  AR=/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/a
cc/ar  RANLIB='/x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/ar ts
'  SHELL=sh  SED=sed  SORT=sort  ECHO=echo  KSH=ksh  EGREP=egrep  GREP=grep  LI
NT=lint CONFIG=FLAMINGO vmunix
| /x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/acc/cc  -c -O2 -g3  -D
LANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=FLAMINGO -DDEC3000_500 -DS
WAPTYPE=1 -DMACH -DOSF -DCOMPAT_43 -DUFS -DTRN -DKERNEL -D_KERNEL -D_BSD -signe
d  -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alpha -Umips -UMIPS ../
kern/lockinfo.c
| cc: Error: can't find or exec: /x3/sandboxes/alphabox/tools/alpha/../alpha_OS
F1/alpha/acc/usr/lib/cmplrs/cc/cfe
|   : Not a directory
| *** Exit 1
| Stop.
| *** Exit 1
| Stop.
| 1.164 marvin:ftw> pd /x3/sandboxes/alphabox/tools/alpha/../alpha_OSF1/alpha/a
cc/usr/lib/
| /x3/sandboxes/alphabox/tools/alpha_OSF1/alpha/acc/usr/lib /x3/sandboxes/alpha
box/src/kernel 
| 1.165 marvin:ftw> ls -l
| total 1138
| -rw-r--r--   1 ftw      system         0 Mar  2 14:34 cmplrs
| -rwxr-xr-x   1 ftw      system   1114112 Jan  8 16:53 cpp*
| -rw-r--r--   1 ftw      system     42850 Jan  8 16:53 err.english.cc
| 
| 
| Why do we have lots of copies of the same thing?  Which directory has the Rig
ht Stuff?
| 
| 	-- Farrell