[Infrastructures] new parser for Isconf
Luke A. Kanies
luke@madstop.com
Tue, 11 Feb 2003 11:39:55 -0600 (CST)
On Tue, 11 Feb 2003, Stephen Schaefer wrote:
> Much better. Next: on the gold server I ran ischeck by issuing:
>
> perl -I../lib/perl5 ../bin/ischeck
>
> Running isconf on the newly installed machine reports:
>
> logging to: /var/isconf/logs/isconf.NULL.logs
> Could not load Isconf::Parse; using Parse::RecDescent
> Could not load Isconf::Parse; using Parse::RecDescent
> Could not load Isconf::Parse; using Parse::RecDescent
> Bad text; /var/isconf/conf/types.ok failed to parse
>
> I'm guessing I need to install the Isconf modules somewhere perl finds
> it normally; where is the recommended location?
Actually, if you're getting the rest of the libs, the problem is probably
that you are missing Parse::Lex and Parse::Yapp. Try installing those.
One of the benefits of moving to the new parser is that you actually get
feedback on where the problem lies, although it's still not as good as i
would like it to be. It tells you the line number, but that's about it.
I'd like to write a description of the valid files, and then provide some
template files, but in the meantime, I'm willing to answer any questions
you have.
--
: We are looking at a newspaper clipping labelled "Huffington
: Herald 11/12/96" in which "Huffington" states, in part:
: "The inhabitants of Tiera del Fuego ... have a single word
: that means 'to look at each other hoping that either will offer to do
: something that both parties desire but are unwilling to do.'"
: Does anyone know that word?
Management?