- Dependency Lists
- Protocol Headers
- Xorg Server
As of writing, the book does not relay x.org's request to use a mirror ftp. Snipplet from ftp://ftp.x.org/README:
IMPORTANT NOTE: If you want to get X11R6.9 or X11R7.0, you should really connect to a mirror site. A list of mirror sites may be found at http://wiki.x.org/wiki/Mirrors
Hints: If somehow, along the road, you end up with "X11/*.h: No such file or directory" errors, and you installed Xorg7 in a non-default location, you forgot the symlinks at the end of Libraries.
If you want to fully automate the build and are having trouble dealing with the 'bash -e' in your script, the problem is that your script's environment should be setup to exit on error. IOW, the schebang line should read '#!/bin/bash -e' not '#!/bin/bash'.