dale@jack.ci.com (Dale Gallaher) (05/04/90)
When I try to compile with f77 I sometimes get an error message: f77: Error in finding run directory. Using default /usr/lang/SC0.0 I am running on a SparcStation 1 with O.S. version 4.0.3. The Fortran version is 1.3. While I cannot say exactly what causes this it only seems to happen in a very specific set of cercumstances: 1) When I have the following enviornment: HOME=/usr/users/builder SHELL=/bin/csh TERM=xterm USER=builder PATH=/usr/lang:.:/usr/build:/usr/ci:/usr/bin:/etc:/usr/ucb:/usr/local/bin:/usr/new:/usr/new/rcs:/usr/X/bin:/bin:/usr/new/mh/bin:/ma/bin:/ma/workbench LOGNAME=dale PWD=/builds5/MA3-0-41s4/ma/src/applications/gateway/f77 MORE=-c MAIL=/usr/spool/mail/dale EDITOR=/usr/ci/mg MASTER_SOURCE=dlion:/ma/src LESS=csmqQph7 DBPATH=/usr/users/informix INFORMIXDIR=/usr/users/informix KEEPMAIL=true UVADIR=/u/dale/debug SRCDIR=/u/dale/code PREMAKE=/usr/build/data/premake.SUN4 OPENWINHOME=/home/openwin LD_LIBRARY_PATH=/usr/lib:/home/openwin/lib DISPLAY=jack:0 CMGBUILD=/builds1 MABUILD=/builds1 XNEWSHOME=/home/openwin XVIEWHOME=/home/openwin BUILDS1=/builds1 BUILDS2=/builds2 BUILDS3=/builds3 STDBUILD=/builds1 RMTBUILD=/builds2 LOCBUILD=/builds1 RMTBUILDHOST=nasturtium RMTBUILDDIR=/builds2/remote_tree BUILDDATA=/usr/build/data BUILDSTATS=/builds1/status USRCI=/usr/ci MABUILDLOCK=/usr/build/data/mabuildlock BUILDERENVFLAG=/usr/build/data/setbuilderenv BUILDERENV=/usr/build/data/setbuilderenv CISOURCE=/ci MASOURCE=/ma/src CMGSOURCE=/es CMEBUILDER= QUOTARGS=/usr/build/quotargs 2) Then the following bourne shell script is run: #!/bin/sh /usr/ci/make create INCDIR=/builds1/MA3-0-41s4/ma/include MASTERDIR=/builds1/MA3-0-41s4/ma/src/applications/gateway LOCALINCROOT=/builds1/MA3-0-41s4/ma/localinclude LOCAL_INCDIR=/builds1/MA3-0-41s4/ma/localinclude/gateway BINDIR=/builds1/MA3-0-41s4/ma/bin PRODLIBS=/ma/libs MALIBDIR=/builds1/MA3-0-41s4/ma/libs CLIBSDIR=/builds1/MA3-0-41s4/ma/clibs TOOLLIBS=/builds1/MA3-0-41s4/ma/toollibs EQED_INCDIR=/builds1/MA3-0-41s4/ma/localinclude/eqed DESNCOOR_INCDIR=/builds1/MA3-0-41s4/ma/localinclude/desnc oor FLI=/builds1/MA3-0-41s4/ma/msail.boot/fli GLOBSUB=/builds1/MA3-0-41s4/ma/src/Setup COMPERR=/builds1/MA3-0-41s4/ma/src/comperr_MA3-0-41s4 COFLAGS='-q -c -f -rMA3-0-41' KEEP='' LISTOPT=noresponse CHECK=NOCHECK DEBUG=NODEBUG OPT=noresponse PROCS=NOPROCS RESPONSE=NORESPONSE TARG=noresponse PERF1=noresponse PERF2=noresponse PERF3=noresponse PERF4=noresponse PERF5=NOLOG 3) Using the following Makefile: create: f77interface.o f77interface.o: f77interface.F f77 -I/builds1/MA3-0-41s4/ma/localinclude/gateway -c f77interface.F f77interface.F can just be an empty file since it never tries to read it. I have worked around the problem by removing some things from my envoirment, but this is a very strange problem. Dale Gallaher Cognition Corp.