Ben's FreeBSD build v2 shapj@us.ibm.com
Tue, 29 Dec 1998 12:56:55 -0500

[Ben's build is now building everything except the kernel and a couple of doc directories correctly.]

Ben:

It looks like python didn't do anything.

To verify this, cd to eros/src/base/sys/arch/i486/conf and type 'make'

What I see on linux is the following:

     /usr/bin/python ../../../scripts/config.py DEFAULT
     Configuring for machine class 'pc'.
     building makefile ../build/DEFAULT/Makefile

Modulo path name for python, you should be seeing the same. (if EROS_CONFIG is set to DEVEL, you'll see DEVEL instead of DEFAULT throughout).

Because the script did not run, the build/DEVEL/ directory never got constructed, and the compile therefore never proceeded into that subdirectory. In consequence, the kernel build never occurred. The remainder of your base/ tree build looks okay, though.

In looking at your build output, it appears to me that python never ran. A couple of quick things to check:

  1. Verify that config.py still exists in the scripts/ directory. I have seen some very weird cases in which make on FreeBSD deletes files that it should not. I am wondering if perhaps you may have used BSD make rather than gnu make at some point, and if config.py may have been deleted as a result.
  2. Verify that the path to python is correct -- see if you can run it successfully by hand.
  3. Then let's see if we can figure out why it didn't go. It definitely worked for me on FreeBSD 2.2.7, and I'm sorely tempted to ditch use of python (this is the only place it gets used anyway) if we can't make it work right in a hurry.

Beyond this, it appears that the build of the base/ tree completed successfully. It was then unable to locate NetPBM, which reflects either a change in directory location relative to FreeBSD 2.2.7, the absence of NetPBM on your machine, or possibly a bug in my quick and dirty check for NetPBM in build/lib/make/makevars.mk. If it's the last, feel free to patch it and send me a diff.

shap