don't use parser.error() to print error

because we don't always have a parser for configure()