
These will probably only be useful to you if you are root@cory.
1. su to cs61a, go to ~cs61a/src and blow away any stk directory you find there (it's for your own good!!).
2. Check out a new fresh copy of stk with the command
% cvs -d ~scheme/public_html/cvsroot checkout stk
Now go to step 3a or 3b, depending on what you want to do (look for the bold text.)
3a. IF you just want to rebuild stk for one architecture: go into stk/brg and edit the build script:
echo "building in $INSTALLROOT" ./configure --prefix=$INSTALLROOT --disable-dynload --disable-elf --disable-dld gmake $makearg exit 0 <---- ADD THIS LINE!!! gmake install # Install SLIB:
This will inhibit installation over the old stk files in the directory. Then you can cd into stk and run
% ./brg/build ~cs61a
and your new "stk" and "snow" binaries will be in Src/stk and Snow/snow respectively. Copy them to ~cs61a/lib/stk/4.0.1/ARCHNAME, where ARCHNAME is OSF1-V4.0-alpha (for alphas), SunOS-5.7-i86pc (for solaris x86), or SunOS-5.7-sun4 (for solaris sparc).
3b. IF you REALLY want to rebuild stk and snow for all architectures and reinstall slib, envdraw, etc...., it's a little harder -- you have to move the stk, snow and envdraw wrappers out of the way in ~cs61a/bin, move the stk directory out of the way in ~cs61a/lib, and then rebuild stk ONCE with the full install (i.e., no "exit 0".) this will create the new ~cs61a/lib/stk directory and install links to binaries in ~cs61a/bin/stk and ~cs61a/bin/snow -- you need to move these binary links to the proper ~cs61a/arch directory. Then you can go ahead and rebuild stk and snow for the other architectures using the instructions in step 3a.