raiseRuntimeError("cannot find required boost module `%s' - make sure boost is installed on `%s' and that this module is named %s on the filesystem"%(module,prefix,' or '.join(modnames)))
# take only the first choice (supposed to be the best choice!)
filenames.append(candidates[0])
# take the first choice that includes the prefix (or the absolute first choice otherwise)