RE: [Infrastructures] new parser for Isconf
"Stephen Schaefer" <[email protected]>
| Newsgroups | gmane.comp.sysutils.isconf.devel |
|---|---|
| Message-ID | <[email protected]> |
So I blasted ahead with the questionable ParseLex-2.15 module, and
things are not improving. My hosts file is entirely commented out
except for the line
bezukhov : sunos_base
Now I get:
$ perl -I../lib/perl5 ../bin/ischeck
using Isconf::Parse
hosts:26: parse error
Checking hosts...$
Bezukhov is indeed on line 26. It is followed by an empty line. In
case intermediariess obscure it, the bezukhov is followed by a single
space, and there are three tabs between the colon and sunos_base.
Suggestions?
- Stephen
-----Original Message-----
From: Luke A. Kanies [mailto:[email protected]]
Sent: Tuesday, February 11, 2003 12:40 PM
To: Stephen Schaefer
Cc: [email protected]; [email protected]
Subject: RE: [Infrastructures] new parser for Isconf
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?
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com