More build corrections for FreeBSD shapj@us.ibm.com
Thu, 31 Dec 1998 15:15:37 -0500

Ben has got his tree built, and along the way we have found a bunch more BSD-isms to resolve. Here are notes on some of the changes:

  1. If you want to avoid building the doc/ tree without hacking the makefile recursion rule, you can simply rename the directory 'doc' to anything else -- such as '_doc/' This will ensure that the top-level make doesn't find it, but will still allow you to 'cd' down there and build it by hand.
  2. You'll be pleased to note that recursive builds now stop recursing on failure. Your complaint prompted an "aha". Turned out it only needed the makerules.mk file to be touched, though it took a couple of tries to get the blasted "shell within make" syntax right.
  3. I've now fixed the erosinstall script so that it will quit making files disappear when the install is successful. Why the BSD people ever thought *that* was a good idea I'll never quite understand.
  4. Building a test image to floppy:

> Errr ... there is no test! Anywhere! What's more, I can't find mention
> of ztest anywhere, either...

Sorry -- my typo. The directory (cut and paste to be sure) is:

eros:~/eros/src/base/tests/func/constructor_test>

The 'ztest.sysvol' target is hidden in an included makefile that resides in func/

I have now updated the makefiles to variablize the floppy name to /dev/rfd0, so you should now be able to run 'make ztstflop' if you like.

Output of that build on my machine, *after* successfully doing make install in build/ and base/:

shap