[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

457.0. "Re: Build breaks from my workstation... It appears that the environment" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Nov 30 1993 10:17

Date Of Receipt: 	29-NOV-1993 12:26:13.17
From: 	FLUME::"[email protected]"
To: 	[email protected]
CC: 	[email protected] (Bill Grava USG), [email protected]
Subj: 	Re: Build breaks from my workstation... It appears that the environment

It matters when COMP_****_ROOT is set to /. This says "look locally for libs
,includes, compiler etc".  This what you included in your error message.

For MOST of the build COMP_HOST_ROOT should be the backing tree, but there
are portions, especially in the kernel (like config) where the something must
be built to run on the local host and therefore MUST set COMP_HOST_ROOT to /
in order to guarantee that the resultant object will run.

Is Bill building kernels?

If you do a workon and then sbinfo COMP_HOST_ROOT, it should be the backing
tree, but it will get reset during portions of the build.

	-Grant

> 
>    I did a basic install but this should not matter. The build should not
> be looking into the root directory of my machine for the build environment.
> On Bill Grava's machine is picking up the correct paths:
> 
> COMP_HOST_ROOT=/usr/sde/osf1/build/agosminor.nightly/tools/alpha_OSF1/alpha/acc
> COMP_TARGET_ROOT=/usr/sde/osf1/build/agosminor.nightly/tools/alpha_OSF1/alpha/ac
> c
> 
> | 
> | variables of the workon are not getting picked up in the compile..?????
> | 
> | COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ 
> | 
> 
> 
>  Bill Grava I believe also did a basic installation. Do you feel that the
> build should be using private system components to build???
> 
> Karl
> 
> 


-- 
 Grant Van Dyck 		enet:    [email protected]	
 Release Engineering


T.RTitleUserPersonal
Name
DateLines
457.1Build breaks from my workstation... It appears that the environmentSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 30 1993 10:2452
Date Of Receipt: 	29-NOV-1993 14:20:43.82
From: 	WASTED::ebner "Karl Ebner USG  29-Nov-1993 1110"
To: 	odehelp@wasted:zko.dec
CC: 	ebner@wasted:zko.dec
Subj: 	Build breaks from my workstation... It appears that the environment

variables of the workon are not getting picked up in the compile..?????

COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ 

Karl

------- Forwarded Message

Forwarded: Wed, 24 Nov 93 17:32:45 -0500
Forwarded: brettebner
Forwarded: Wed, 24 Nov 93 15:56:48 -0500
Forwarded: jmf
Return-Path: ebner
Message-Id: <[email protected]>
To: brett
Cc: ebner
Subject: Some build problems... Thanks, Karl 
Date: Wed, 24 Nov 93 15:55:04 -0500
From: ebner
X-Mts: smtp


kepath ssc/. && cd ssc &&  exec make 'RELEASE_OPTIONS=-idfile `genloc /src/set
up/osf1_idlist`'    MAKEFILE_PASS=BASIC dopass_all
ssc: created directory
env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -EL -c  -DBSD44 -DMSG -D
NLS -D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH -DCMU -DOSF  -Dalpha -D__alpha__ -D__
alpha  -Dunix -D__unix__      -O2 -Olimit 5000    -O -DCMU -D_NO_PROTO -Dconst=
     `genpath -I.` `genpath   ` -I/usr/include  /usr/sde/osf1/build/agosminor.pr
e.bl8/src/kernel/io/cam/siop/ssc/main.c
/usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kernel/
io/cam/siop/ssc/main.c: 32: Cannot open file string.h for #include
/usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kernel/
io/cam/siop/ssc/portable.h: 40: Cannot open file string.h for #include
/usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kernel/
io/cam/siop/ssc/pass2.h: 45: Cannot open file stdio.h for #include
/usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kernel/
io/cam/siop/ssc/pass2.h: 46: Cannot open file string.h for #include
/usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kernel/
io/cam/siop/ssc/scsi.h: 48: Cannot open file stdio.h for #include
*** Exit 1
Stop.

------- End of Forwarded Message


457.2Re: Build breaks from my workstation... It appears that the environmentSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 30 1993 10:4371
Date Of Receipt: 	29-NOV-1993 14:23:20.92
From: 	FLUME::"[email protected]"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: Build breaks from my workstation... It appears that the environment

Sounds like you may not have a full installation on your machine.
Did you recently install? Did you do a full installation?  Do you
have stdio.h and string.h on your system in usr/include?

	-Grant


| 
| variables of the workon are not getting picked up in the compile..?????
| 
| COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ 
| 
| Karl
| 
| ------- Forwarded Message
| 
| Forwarded: Wed, 24 Nov 93 17:32:45 -0500
| Forwarded: brettebner
| Forwarded: Wed, 24 Nov 93 15:56:48 -0500
| Forwarded: jmf
| Return-Path: ebner
| Message-Id: <[email protected]>
| To: brett
| Cc: ebner
| Subject: Some build problems... Thanks, Karl 
| Date: Wed, 24 Nov 93 15:55:04 -0500
| From: ebner
| X-Mts: smtp
| 
| 
| kepath ssc/. && cd ssc &&  exec make 'RELEASE_OPTIONS=-idfile `genloc /src/se
t
| up/osf1_idlist`'    MAKEFILE_PASS=BASIC dopass_all
| ssc: created directory
| env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -EL -c  -DBSD44 -DMSG
 -D
| NLS -D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH -DCMU -DOSF  -Dalpha -D__alpha__ -
D__
| alpha  -Dunix -D__unix__      -O2 -Olimit 5000    -O -DCMU -D_NO_PROTO -Dcons
t=
|      `genpath -I.` `genpath   ` -I/usr/include  /usr/sde/osf1/build/agosminor
.pr
| e.bl8/src/kernel/io/cam/siop/ssc/main.c
| /usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kern
el/
| io/cam/siop/ssc/main.c: 32: Cannot open file string.h for #include
| /usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kern
el/
| io/cam/siop/ssc/portable.h: 40: Cannot open file string.h for #include
| /usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kern
el/
| io/cam/siop/ssc/pass2.h: 45: Cannot open file stdio.h for #include
| /usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kern
el/
| io/cam/siop/ssc/pass2.h: 46: Cannot open file string.h for #include
| /usr/lib/cmplrs/cc/cfe: Error: /usr/sde/osf1/build/agosminor.pre.bl8/src/kern
el/
| io/cam/siop/ssc/scsi.h: 48: Cannot open file stdio.h for #include
| *** Exit 1
| Stop.
| 
| ------- End of Forwarded Message
| 
|