[Nickle] nickle from CVS (2002-12-04) fails loading builtins
Bart Massey
nickle@nickle.org
Wed, 04 Dec 2002 13:42:50 -0800
Hmm. No, I can't reproduce the problem. Unless Keith just
fixed it :-), it's fine. I blew Nickle entirely off my box,
checked out fresh from scratch, and re-installed: ran the
code you gave fine, and seems to work great.
1) Where are you getting the repository? The canonical
location is home.keithp.com:/local/src/CVS
2) The structure of the share/nickle directory has changed.
Make sure to do a "make install", and you might want to
blow this directory away before you do so (shouldn't be
necessary, but...)
3) Are you building on something other than Linux?
Bart
In message <15854.27524.35225.331248@scream.east.isi.edu> you wrote:
> I recently found nickle crashing on a trivial and innocent-looking
> file:
>
> $ cat foo.5c
> public typedef struct {
> int x;
> } foo;
>
> foo bar;
>
> $ /usr/local/bin/nickle foo.5c
> Segmentation fault
>
> I checked and I had last updated nickle on 2002-09-12, (I also had an
> older version from 2002-08-12 that didn't have the problem).
>
> I tried updating to current CVS, but now nickle fails to start:
>
> $ nickle
> -> if (!lex_library (name))
> /usr/local/share/nickle/builtin.5c:21: No visible symbol "lex_library"
> in scope
> /usr/local/share/nickle/builtin.5c:31: parse error before
> "\"string.5c"
> /usr/local/share/nickle/builtin.5c:32: parse error before "\"ctype.5c"
> /usr/local/share/nickle/builtin.5c:33: parse error before
> "\"printf.5c"
> /usr/local/share/nickle/builtin.5c:34: parse error before
> "\"history.5c"
> /usr/local/share/nickle/builtin.5c:38: parse error before
> "\"command.5c"
> /usr/local/share/nickle/builtin.5c:43: parse error before "\"math.5c"
> /usr/local/share/nickle/builtin.5c:45: parse error before "\"scanf.5c"
> /usr/local/share/nickle/builtin.5c:49: parse error before "Abort"
> /usr/local/share/nickle/builtin.5c:50: parse error before "Mutex"
> /usr/local/share/nickle/builtin.5c:51: parse error before "ARC4"
> /usr/local/share/nickle/builtin.5c:52: parse error before "PRNG"
> -> Command::script_dir (Command::dirname (argv[0]));
> /usr/local/share/nickle/builtin.5c:60: No visible symbol "script_dir"
> in scope
> -> Command::script_dir (Command::dirname (argv[0]));
> /usr/local/share/nickle/builtin.5c:60: No visible symbol "dirname" in
> scope
>
> Are others seeing this or is it just me?
>
> I don't know if the bug causing the segfault is resolved yet or not.
>
> -Carl
>
> PS. I only wrote 20 lines of nickle code yesterday, and I've already
> run into two problems... I guess that means I get to write my next 80
> lines of code without hitting any nickle bugs, right Bart?
>
> --
> Carl Worth
> USC Information Sciences Institute cworth@isi.edu
>
>
> _______________________________________________
> Nickle mailing list
> Nickle@nickle.org
> http://nickle.org/mailman/listinfo/nickle
>