[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

1671.0. "can t build stuff in old backing trees" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Aug 14 1995 10:54

Date Of Receipt: 	11-AUG-1995 10:01:36.11
From: 	SMURF::QUARRY::"[email protected]" "11-Aug-1995 1000"
To: 	[email protected]
CC: 	
Subj: 	can't build stuff in old backing trees

I just tried to build a utility from the agosminor tree and was unsuccessful.
I thought what I could do was to create a sandbox backed by agosminor and
then cd to the appropriate directory and say "build" to get the appropriate
version of a utility that I need to debug a problem.  But it didn't work:

1.206 marvin:ftw> mksb -back agosminor -dir /x3/sandboxes minos
creating new set: Farrell_Woods_minos, setdir: .
creating lock file for new set.
[ creating /x3/sandboxes/minos/tmp ]
/x3/sandboxes/minos/tmp: created directory
drwxr-xr-x   2 ftw      system       512 Aug 11 09:56 /x3/sandboxes/minos/tmp
1.207 marvin:ftw> exit
0.515 marvin:ftw> workon -sb minos
cd'ing to sandbox source directory: /x3/sandboxes/minos/src.
starting new shell: /bin/tcsh.
1.201 marvin:ftw> mkdir -p usr/sbin/bootpd
1.202 marvin:ftw> cd !$
cd usr/sbin/bootpd
1.203 marvin:ftw> build
relative path: ./usr/sbin/bootpd.
make: illegal option -- c
usage: make [-eiknqrst] [-D variable] [-d flags] [-f makefile ]
        [-I directory] [-j max_jobs] [variable=value]

	-- Farrell


T.RTitleUserPersonal
Name
DateLines
1671.1Re: can t build stuff in old backing treesAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 10:5551
Date Of Receipt: 	11-AUG-1995 10:22:32.31
From: 	SMURF::WASTED::"[email protected]" "Joshua M. Friedman OSF/UNIX SDE  11-Aug-1995 1021"
To: 	[email protected]
CC: 	[email protected], [email protected]
Subj: 	Re: can't build stuff in old backing trees

Farrell, you have a PATH setup problem - you're getting the ODE make,
not the make in the backingtree.  Your path could be set like this
eg, in .login and not in .cshrc:

	set path=(/usr/bin /blah/blah/blah /usr/sde.../bin)

or if in .cshrc

	set path=($path /usr/bin /blah/blah/blah /usr/sde.../bin)

Similar logic with .profile & ksh envir file.

I don't know why this isn't causing you a problem in new pools, however.

-josh

> I just tried to build a utility from the agosminor tree and was unsuccessful.
> I thought what I could do was to create a sandbox backed by agosminor and
> then cd to the appropriate directory and say "build" to get the appropriate
> version of a utility that I need to debug a problem.  But it didn't work:
> 
> 1.206 marvin:ftw> mksb -back agosminor -dir /x3/sandboxes minos
> creating new set: Farrell_Woods_minos, setdir: .
> creating lock file for new set.
> [ creating /x3/sandboxes/minos/tmp ]
> /x3/sandboxes/minos/tmp: created directory
> drwxr-xr-x   2 ftw      system       512 Aug 11 09:56 /x3/sandboxes/minos/tmp
> 1.207 marvin:ftw> exit
> 0.515 marvin:ftw> workon -sb minos
> cd'ing to sandbox source directory: /x3/sandboxes/minos/src.
> starting new shell: /bin/tcsh.
> 1.201 marvin:ftw> mkdir -p usr/sbin/bootpd
> 1.202 marvin:ftw> cd !$
> cd usr/sbin/bootpd
> 1.203 marvin:ftw> build
> relative path: ./usr/sbin/bootpd.
> make: illegal option -- c
> usage: make [-eiknqrst] [-D variable] [-d flags] [-f makefile ]
>         [-I directory] [-j max_jobs] [variable=value]
> 
> 	-- Farrell
> 



1671.2Re: can t build stuff in old backing treesAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 12:3942
Date Of Receipt: 	14-AUG-1995 10:27:37.87
From: 	SMURF::WASTED::"[email protected]" "14-Aug-1995 1026"
To: 	"Joshua M. Friedman, OSF/UNIX SDE 381-1548" <[email protected]>
CC: 	[email protected], [email protected]
Subj: 	Re: can't build stuff in old backing trees

> Farrell, you have a PATH setup problem - you're getting the ODE make,
> not the make in the backingtree.

Josh,

Your suggestion doesn't appear to work: same error.

I long, long time ago I arranged for the tools in ODE's bin directory to
appear before /bin, et. al. in my path because if I didn't then I'd get
/usr/bin/make when I really wanted /usr/sde/alpha_osf1 (or alpha_OSF1 or
whatever the name of that symlink is today...).../bin

My .cshrc sets up an explicit path with ODE's bin directory near the
front when I do a workon.  It's been like this since ODE was originally
inflicted on us years ago.  If I didn't do this then *nothing* worked right
from within a workon.


	-- Farrell

P.S. I tried to leave a workon a moment ago and got this:

1.203 marvin:ftw> exit
ODE CLIENT ERROR: Failed call to: connect() Connection refused
ODE CLIENT: Check with ode admin, the ode_server daemon could be down.
ODE CLIENT: DECode client will retry
Retrying connection to secret.zk3.dec.com: retry number 1
Retrying connection to secret.zk3.dec.com: retry number 2
Retrying connection to secret.zk3.dec.com: retry number 3
Retrying connection to secret.zk3.dec.com: retry number 4
Retrying connection to secret.zk3.dec.com: retry number 5
Retrying connection to secret.zk3.dec.com: retry number 6
Retrying connection to secret.zk3.dec.com: retry number 7
Retrying connection to secret.zk3.dec.com: retry number 8


1671.3Re: can t build stuff in old backing treesAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 13:4056
Date Of Receipt: 	14-AUG-1995 10:33:42.68
From: 	SMURF::WASTED::"[email protected]" "14-Aug-1995 1032"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: can't build stuff in old backing trees

But the make you want lives in backingtree/tools/alpha_OSF1alpha/hostbin/make

This gets defined when you do a workon. If your setup overrides that, your 
path will get scrambled. Try sbinfo PATH and see if the hostbin directory is 
BEFORE the ode tools directory. If so, then check to see if make is actually 
IN hostbin where it's pointing to.


		-Grant 


| 
| > Farrell, you have a PATH setup problem - you're getting the ODE make,
| > not the make in the backingtree.
| 
| Josh,
| 
| Your suggestion doesn't appear to work: same error.
| 
| I long, long time ago I arranged for the tools in ODE's bin directory to
| appear before /bin, et. al. in my path because if I didn't then I'd get
| /usr/bin/make when I really wanted /usr/sde/alpha_osf1 (or alpha_OSF1 or
| whatever the name of that symlink is today...).../bin
| 
| My .cshrc sets up an explicit path with ODE's bin directory near the
| front when I do a workon.  It's been like this since ODE was originally
| inflicted on us years ago.  If I didn't do this then *nothing* worked right
| from within a workon.
| 
| 
| 	-- Farrell
| 
| P.S. I tried to leave a workon a moment ago and got this:
| 
| 1.203 marvin:ftw> exit
| ODE CLIENT ERROR: Failed call to: connect() Connection refused
| ODE CLIENT: Check with ode admin, the ode_server daemon could be down.
| ODE CLIENT: DECode client will retry
| Retrying connection to secret.zk3.dec.com: retry number 1
| Retrying connection to secret.zk3.dec.com: retry number 2
| Retrying connection to secret.zk3.dec.com: retry number 3
| Retrying connection to secret.zk3.dec.com: retry number 4
| Retrying connection to secret.zk3.dec.com: retry number 5
| Retrying connection to secret.zk3.dec.com: retry number 6
| Retrying connection to secret.zk3.dec.com: retry number 7
| Retrying connection to secret.zk3.dec.com: retry number 8
|