[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

2417.0. "build question/ris" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Jul 15 1996 19:35

Date Of Receipt: 	15-JUL-1996 15:27:24.57
From: 	WASTED::jchang "Janice Chang USG"
To: 	buildhelp@zk3.dec.com
CC: 	
Subj: 	build question/ris
Grant: 	

Thanks for the info on what was going wrong with my build.  I used ris
and installed a couple things like "standard libraries" and "kernel
include files and common files", etc.  The first got
/usr/include/string.h installed, which was one of the things I needed.
The build seemed to go all right.

Later, I tried installing the set OFSPGMR, like you had suggested, but
got this message:

# setld -l unixris: OSFPGMR
        Working....Mon Jul 15 15:18:34 EDT 1996
setld: specified subset(s) not available on media

Wondering if I'll have to get it via CD?

Also, is OSFPGMR the solution to this kind of build trouble in general
(looking for local include, etc. files)?  I'm getting a different error
in another build now (backed to steelos.nightly):

/usr/sde/osf1/build/steelos.nightly/src/usr/ccs/lib/libAF/AFsetdflt.c
env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -call_shared
-O2  -non_shared -tr -h/usr/lib/cmplrs/cc -B    `genpath  -L/usr/lib
-L/lib ` -L/usr/lib -L/lib -o config.X y.tab.o lex.yy.o main.o
mkioconf.o mkmakefile.o  mkglue.o mkheaders.o mkswapconf.o mklocalconf.o
AFclose.o AFgetatr.o AFgetent.o AFgetval.o       AFnxtatr.o AFnxtent.o
AFnxtval.o AFopen.o        AFread.o AFrewind.o AFsetdflt.o  -lln  
ld:
Can't locate file for: -lln
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.


I indeed don't have /usr/include/libln.a.

Thanks again for your help.

-Janice


=========================================================================

Yes, it is looking on your system. And there are several places in the build 
where it does that. Most things come from the backing tree, but whenever 
COMP_HOST_ROOT is set to / it uses the system stuff because the resultant 
object must be able to actually run on the build host. There's no guarantee 
that will happen unless you build it locally. You'll need to get a CD or 
register for RIS on unixris for the release your system is running and add the 
missing subset OSFPGMR.


| 
| Hi Grant.  Thanks for the reply.  I assumed that since string.h exists
| in the backing tree (in both obj and src), it would find it.  Is it not 
| looking there, or is it looking on my system?  /usr/include/string.h
| isn't on my system...
| 
| Thanks.  I'm not sure how I should fix this .. thx for your advice.
| 
| -Janice

-- 

				-Grant




T.RTitleUserPersonal
Name
DateLines
2417.1Re: build question/risAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 16 1996 14:45125
Date Of Receipt: 	16-JUL-1996 10:20:51.80
From: 	HUNCH::"vandyck@lynx.zk3.dec.com" "16-Jul-1996 1020"
To: 	Janice Chang USG <jchang@lynx.zk3.dec.com>
CC: 	buildhelp@zk3.dec.com
Subj: 	Re: build question/ris
Not sure what version of OS you are loading. OSFPGMR contains things like: 	

./usr/bin/atom
./usr/bin/btou
./usr/bin/cb
./usr/bin/ctags
./usr/bin/dis
./usr/bin/error
./usr/bin/indent
./usr/bin/lex
./usr/bin/lorder
./usr/bin/mig
./usr/bin/mkstr
./usr/bin/ppu
./usr/bin/ranlib
./usr/bin/rpcgen
./usr/bin/unifdef
./usr/bin/utob
./usr/bin/xstr
./usr/bin/yacc
./usr/ccs/bin/btou
./usr/ccs/bin/cb
./usr/ccs/bin/ctags
./usr/ccs/bin/dis
./usr/ccs/bin/error
./usr/ccs/bin/indent
./usr/ccs/bin/lex


If you are registered for the right version on unixris, then just do this:

setld -l unixris:

and you'll get a menu of uninstalled subsets you can choose from. If you 
install any new kernel objects, don't forget to run doconfig and build 
yourself a new kernel.


		-Grant

| 
| 
| Grant:
| 
| Thanks for the info on what was going wrong with my build.  I used ris
| and installed a couple things like "standard libraries" and "kernel
| include files and common files", etc.  The first got
| /usr/include/string.h installed, which was one of the things I needed.
| The build seemed to go all right.
| 
| Later, I tried installing the set OFSPGMR, like you had suggested, but
| got this message:
| 
| # setld -l unixris: OSFPGMR
|         Working....Mon Jul 15 15:18:34 EDT 1996
| setld: specified subset(s) not available on media
| 
| Wondering if I'll have to get it via CD?
| 
| Also, is OSFPGMR the solution to this kind of build trouble in general
| (looking for local include, etc. files)?  I'm getting a different error
| in another build now (backed to steelos.nightly):
| 
| /usr/sde/osf1/build/steelos.nightly/src/usr/ccs/lib/libAF/AFsetdflt.c
| env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -call_shared
| -O2  -non_shared -tr -h/usr/lib/cmplrs/cc -B    `genpath  -L/usr/lib
| -L/lib ` -L/usr/lib -L/lib -o config.X y.tab.o lex.yy.o main.o
| mkioconf.o mkmakefile.o  mkglue.o mkheaders.o mkswapconf.o mklocalconf.o
| AFclose.o AFgetatr.o AFgetent.o AFgetval.o       AFnxtatr.o AFnxtent.o
| AFnxtval.o AFopen.o        AFread.o AFrewind.o AFsetdflt.o  -lln  
| ld:
| Can't locate file for: -lln
| *** Exit 1
| Stop.
| *** Exit 1
| Stop.
| *** Exit 1
| Stop.
| *** Exit 1
| Stop.
| 
| 
| I indeed don't have /usr/include/libln.a.
| 
| Thanks again for your help.
| 
| -Janice
| 
| 
| =========================================================================
| 
| Yes, it is looking on your system. And there are several places in the build 
| where it does that. Most things come from the backing tree, but whenever 
| COMP_HOST_ROOT is set to / it uses the system stuff because the resultant 
| object must be able to actually run on the build host. There's no guarantee 
| that will happen unless you build it locally. You'll need to get a CD or 
| register for RIS on unixris for the release your system is running and add th
e 
| missing subset OSFPGMR.
| 
| 
| | 
| | Hi Grant.  Thanks for the reply.  I assumed that since string.h exists
| | in the backing tree (in both obj and src), it would find it.  Is it not 
| | looking there, or is it looking on my system?  /usr/include/string.h
| | isn't on my system...
| | 
| | Thanks.  I'm not sure how I should fix this .. thx for your advice.
| | 
| | -Janice
| 
| -- 
| 
| 				-Grant
| 
| 
|