h2spec must be preinstalled on the machine and its location pointed at by the H2SPEC environment variable.