Sean.Levy@CS.CMU.EDU (06/13/90)
Okay, it appears that the problem loading CFuncs.st while building STIX
was
a configuration problem. I have a new one now:
{21}% make
===== creating configuration dependent xmakefile
rm -f xmakefile
cp ymakefile junk.c
cc -E -DFOR_MAKE junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][
\f\t]*$//' -e 's/^ / /' | sed -n -e '/^..*$/p' > xmakefile
rm -f junk.c
===== done creating xmakefile
cc -I/afs/cs/@sys/beta/usr/misc/.X11/include/X11 -DUNIXCONN -c socket.c
cc -g -c mstmain.c
cc -g -c mst.tab.c
cc -g -c mstlex.c
cc -g -c mststr.c
cc -g -c mstid.c
cc -g -c msttree.c
cc -g -c mstbyte.c
cc -g -c mstinterp.c
cc -g -c mstcomp.c
cc -g -c mstsym.c
cc -g -c mstdict.c
cc -g -c mstoop.c
cc -g -c mstsave.c
cc -g -c mstcint.c
cc -g -c mstsysdep.c
cc -o mst -g mstmain.o mst.tab.o mstlex.o mststr.o mstid.o
msttree.o mstbyte.o mstinterp.o mstcomp.o mstsym.o mstdict.o
mstoop.o mstsave.o mstcint.o mstsysdep.o socket.o -lm
{22}% mst -V t.st
Smalltalk 1.1 Ready
Processing t.st
Execution begins...
355 byte codes executed
which took 0.15626 seconds, giving 22718.546013 bytecodes/sec
55 cache hits, 29 misses 0.654762 hit ratio
returned value is nil
"t.st", line 49: Undefined variable Display referenced
"t.st", line 141: Undefined variable Display referenced
Execution begins...
{23}% which mst
./mst
{24}%
This is peculiar... mstpaths.h:
<some header stuff deleted>
/***********************************************************************
*
* You'll need to change these definitions if you do not install GNU
* Smalltalk in the standard place (which, as defined here, is
* /usr/local/smalltalk). You should save this file as mstpaths.h and
* leave mstpaths.h-dist in its original form.
*
***********************************************************************/
#ifndef __MSTPATHS__
#define __MSTPATHS__
/* This defines where the kernel smalltalk (.st) files can be found */
#define KERNEL_PATH "/usr0/snl/smalltalk/lib/kernel"
/* This defines where to search for the saved binary image */
#define IMAGE_PATH "/usr0/snl/smalltalk/lib/images"
#endif /* __MSTPATHS__ */
Those two directories do, indeed, exist, and have the right stuff in
them,
as far as I can tell. Any ideas?
--S
Sean Levy, EDRC, CMU
snl@Globe.EDRC.CMU.EDU