In several places, variables were XFree()'d, but then used in system() commands later. This would cause various issues - on my system, I'd get: sh: 1: Syntax error: EOF in backquote substitution system for rm failed; exiting... while building the guides.